private void DrawToolbar() { if (GUILayout.Button("< Back", EditorToolkit.LargeToolbarButtonLayoutOption())) { Selection.activeGameObject = pool.transform.parent.gameObject; } }
private void DrawToolbar() { EditorGUILayout.BeginHorizontal(); EditorGUILayout.Space(); if (GUILayout.Button("New Zone", EditorToolkit.LargeToolbarButtonLayoutOption())) { AddBoxZone(); } EditorGUILayout.Space(); EditorGUILayout.EndHorizontal(); }
private void ShowToolbar() { EditorGUILayout.BeginHorizontal(); EditorGUILayout.Space(); if (GUILayout.Button("New Group", EditorToolkit.LargeToolbarButtonLayoutOption())) { AddGroup(); } EditorGUILayout.Space(); EditorGUILayout.EndHorizontal(); }
private void DrawToolbar() { EditorGUILayout.BeginHorizontal(); EditorGUILayout.Space(); if (GUILayout.Button("Add Pool", EditorToolkit.LargeToolbarButtonLayoutOption())) { CreatePool(); } if (GUILayout.Button("Destroy All", EditorToolkit.LargeToolbarButtonLayoutOption())) { DestroyAll(); } EditorGUILayout.Space(); EditorGUILayout.EndHorizontal(); }
private void DrawToolbar() { EditorGUILayout.BeginHorizontal(); if (GUILayout.Button("< Back", EditorToolkit.LargeToolbarButtonLayoutOption())) { Selection.activeGameObject = group.gameObject.transform.parent.gameObject; } EditorGUILayout.Space(); if (GUILayout.Button("Add Segment", EditorToolkit.LargeToolbarButtonLayoutOption())) { AddSegment(); } EditorGUILayout.EndHorizontal(); }
private void DrawSupportInfo() { EditorGUILayout.BeginHorizontal(); EditorGUILayout.Space(); if (GUILayout.Button("Forum Link", EditorToolkit.LargeToolbarButtonLayoutOption())) { Application.OpenURL("http://forum.unity3d.com/threads/201034-uDesign-Tools-Released"); } EditorGUILayout.Space(); EditorGUILayout.EndHorizontal(); EditorGUILayout.Space(); EditorGUILayout.BeginHorizontal(); EditorGUILayout.Space(); if (GUILayout.Button("Contact Support", EditorToolkit.LargeToolbarButtonLayoutOption())) { Application.OpenURL("mailto:[email protected]"); } EditorGUILayout.Space(); EditorGUILayout.EndHorizontal(); EditorGUILayout.Space(); }