Exemplo n.º 1
0
 /// <summary>
 /// Draws the inspector.
 /// </summary>
 public override void OnInspectorGUI()
 {
     GUILayout.Label("The ItemCollection can be managed within the Item Type Manager.", Shared.Editor.Inspectors.Utility.InspectorStyles.WordWrapLabel);
     GUILayout.BeginHorizontal();
     GUILayout.FlexibleSpace();
     if (GUILayout.Button("Open Item Type Manager", GUILayout.MaxWidth(200)))
     {
         MainManagerWindow.ShowItemTypeManagerWindow();
     }
     GUILayout.FlexibleSpace();
     GUILayout.EndHorizontal();
 }
Exemplo n.º 2
0
 /// <summary>
 /// Initialize the manager after deserialization.
 /// </summary>
 public virtual void Initialize(MainManagerWindow mainManagerWindow)
 {
     m_MainManagerWindow = mainManagerWindow;
 }