Ejemplo n.º 1
0
 private void OnGUI()
 {
     container.ShowGUIEdit(this);
     GUIAuxiliar.Button(createObject, !edit ? Style.BUTTON_TEXT_NEW_PREFAB : Style.BUTTON_TEXT_EDIT_PREFAB);
 }
Ejemplo n.º 2
0
 private void DoAddButtons(EditorWindow window)
 {
     GUIAuxiliar.Button <EditorWindow>(Style.BUTTON_TEXT_NEW_PREFAB, ContainerWindowCreator.create, window, this, new PrefabContainer());
     GUIAuxiliar.Button <EditorWindow>(Style.BUTTON_TEXT_NEW_WALL, ContainerWindowCreator.create, window, this, new WallContainer());
     GUIAuxiliar.Button <EditorWindow>(Style.BUTTON_TEXT_NEW_REGION_CONTAINER, ContainerWindowCreator.create, window, this, new RegionContainer());
 }