Пример #1
0
 static void OnPostprocessAllAssets(string[] importedAssets, string[] deletedAssets, string[] movedAssets, string[] movedFromAssetPaths)
 {
     foreach (string importedAsset in importedAssets)
     {
         if (importedAsset.Equals(RootFolder))
         {
             WelcomeWindow window = EditorWindow.GetWindow <WelcomeWindow>(true, "Welcome");
         }
     }
 }
Пример #2
0
 static void OnPostprocessAllAssets(string[] importedAssets, string[] deletedAssets, string[] movedAssets, string[] movedFromAssetPaths)
 {
     foreach (string importedAsset in importedAssets)
     {
         if (importedAsset.Equals(RootFolder))
         {
             WelcomeWindow window = ScriptableObject.CreateInstance <WelcomeWindow>();
             window.ShowUtility();
         }
     }
 }
Пример #3
0
 public static void WelcomeMessage()
 {
     WelcomeWindow window = EditorWindow.GetWindow <WelcomeWindow>(true, "Welcome");
 }
Пример #4
0
        public static void WelcomeMessage()
        {
            WelcomeWindow window = EditorWindow.GetWindow <WelcomeWindow>(true, "Welcome", ScriptableObject.CreateInstance <WelcomeWindow>());

            window.ShowUtility();
        }