static void Init() { window = (ReactDebugger)EditorWindow.GetWindow (typeof(ReactDebugger)); window.Show (); }
void OnValidateGUIState() { if (window == null) { window = (ReactDebugger)EditorWindow.GetWindow (typeof(ReactDebugger)); } }