コード例 #1
0
 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();
 }
コード例 #2
0
 static void CreateController()
 {
     CreateControllerEditorWindow.Display();
 }