Пример #1
0
 public static void Init()
 {
     if (s_Instance == null)
     {
         s_Instance = GetWindow <InputDebuggerWindow>();
         s_Instance.Show();
         s_Instance.titleContent = new GUIContent("Input Debug");
     }
     else
     {
         s_Instance.Show();
         s_Instance.Focus();
     }
 }
Пример #2
0
 void ISerializationCallbackReceiver.OnAfterDeserialize()
 {
     s_Instance = this;
 }