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(); } }
void ISerializationCallbackReceiver.OnAfterDeserialize() { s_Instance = this; }