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"); } } }
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"); }
public static void WelcomeMessage() { WelcomeWindow window = EditorWindow.GetWindow <WelcomeWindow>(true, "Welcome", ScriptableObject.CreateInstance <WelcomeWindow>()); window.ShowUtility(); }