Пример #1
0
 protected void ShowCommonCommands()
 {
     EditorGUILayout.BeginHorizontal();
     if (GUILayout.Button("Generate"))
     {
         owner.BuildMap();
     }
     if (GUILayout.Button("Clear"))
     {
         owner.ClearMap();
     }
     if (GUILayout.Button("Save"))
     {
         Debug.LogWarning("Not implement");
     }
     if (GUILayout.Button("Load"))
     {
         Debug.LogWarning("Not implement");
     }
     EditorGUILayout.EndHorizontal();
 }