예제 #1
0
 internal static bool ShowAtPosition(Vector2 pos, PopUpState popUpState)
 {
     if (s_Instance == null) {
         s_Instance = CreateInstance<CodeViewPopUp>();
         s_Instance.hideFlags = HideFlags.HideAndDontSave;
     }
     s_Instance.Init (pos, popUpState);
     return true;
 }
예제 #2
0
 void OnDisable()
 {
     s_Instance = null;
 }