private void DrawCreateControllerFirstMessage() { GUILayout.BeginHorizontal(); GUILayout.FlexibleSpace(); GUILayout.Label( "Generating a View, first requires a Controller:", GUILayout.ExpandWidth(true)); if (GUILayout.Button("Generate Controller")) { CreateControllerEditorWindow.Display(); } GUILayout.FlexibleSpace(); GUILayout.EndHorizontal(); }
static void CreateController() { CreateControllerEditorWindow.Display(); }