Пример #1
0
        public static void Edit()
        {
            // Get existing open window or if none, make a new one:
            if (_instance != null)
            {
                _instance.CloseFinal();
            }

            _instance = (AccelBytePlatformSettingsEditor)EditorWindow.GetWindow(typeof(AccelBytePlatformSettingsEditor));
            _instance.Initialize();
            _instance.Show();
        }
Пример #2
0
 public void CloseFinal()
 {
     Close();
     _instance = null;
 }