static SerializerTestWindow ShowWindow() { if (_instance == null) { SerializerTestWindow window = EditorWindow.GetWindow <SerializerTestWindow>(); window.titleContent = new GUIContent("Serializer Test"); _instance = window; window.Show(); } else { _instance.Focus(); } return(_instance); }
public SerializerTestWindow() { _instance = this; }