Beispiel #1
0
 private void drawAllconditionsTab()
 {
     if (!AllConditions.Instance)
     {
         EditorTools.drawMessage("AllConditions has not been created yet.", MessageType.Info);
         if (EditorTools.createListButton("Create AllConditions Object", false))
         {
             AllConditionsEditor.CreateAllConditionsAsset();
         }
     }
     else
     {
         AllConditionsEditor.CreateEditor(AllConditions.Instance).OnInspectorGUI();
     }
 }