private static AssetHunterMainWindow initializeWindow() { m_IntialGUIColor = GUI.color; m_window = EditorWindow.GetWindow <AssetHunterMainWindow>(); m_window.Show(); loadEditorResources(); m_window.m_BuildLogExists = AssetHunterHelper.HasBuildLogAvaliable(); AssetHunterUpgradeWindow.Init(); return(m_window); }
private static void runShowUpdateInfoTest() { bool windowWasShown = EditorPrefs.GetInt(UpdateWindowWasShown) == 1; //Make sure we haven't chosen NOT to import if (windowWasShown) { return; } else { AssetHunterUpgradeWindow.Init(); } }