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();
         }
     }
 }
 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();
        }