public static void OpenWindow()
 {
     if (window == null)
     {
         window         = GetWindow <MakakaGamesWelcomeScreen> (true, windowHeaderText, true);
         window.maxSize = window.minSize = windowsSize;
     }
 }
Пример #2
0
    public static void OpenWindow()
    {
        if (wnd != null)
        {
            return;
        }

        wnd         = GetWindow <MakakaGamesWelcomeScreen> (true, windowHeaderText, true);
        wnd.maxSize = wnd.minSize = windowsSize;
    }
Пример #3
0
 private void OnDestroy()
 {
     wnd = null;
     EditorPrefs.SetBool(PREFSHOWATSTARTUP, false);
 }
Пример #4
0
 private void OnEnable()
 {
     wnd = this;
 }
    private void OnDestroy()
    {
        window = null;

        EditorPrefs.SetBool(isShowAtStartEditorPrefs, false);
    }
 private void OnEnable()
 {
     window = this;
 }