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