예제 #1
0
 private void OnDestroy()
 {
     if (Instance == this)
     {
         Instance = null;
     }
 }
예제 #2
0
        public static void Init()
        {
            BGSDKManagerWindow window = EditorWindow.GetWindow <BGSDKManagerWindow>("BGSDK Manager", new Type[] { typeof(UnityEditor.SceneView) });

            if (BGSDKSettings.user == null)
            {
                BGSDKSettings.user = new Identity();
            }
            cooroutines = new List <IEnumerator>();
            window.Show();
            EditorApplication.update         += window.EditorUpdate;
            window.wordWrapTextField          = new GUIStyle(EditorStyles.textField);
            window.wordWrapTextField.wordWrap = true;
        }
예제 #3
0
 public BGSDKManagerWindow()
 {
     Instance = this;
 }