chrisgregan
11 years ago
7 changed files with 76 additions and 7 deletions
@ -0,0 +1,22 @@
|
||||
using UnityEditor; |
||||
using UnityEngine; |
||||
using System.Collections; |
||||
using System.Collections.Generic; |
||||
using Fungus; |
||||
|
||||
[CustomEditor (typeof(SequenceController))] |
||||
public class SequenceControllerEditor : Editor |
||||
{ |
||||
public override void OnInspectorGUI() |
||||
{ |
||||
DrawDefaultInspector(); |
||||
GUILayout.BeginHorizontal(); |
||||
GUILayout.FlexibleSpace(); |
||||
if (GUILayout.Button("Open Fungus Editor")) |
||||
{ |
||||
EditorWindow.GetWindow(typeof(FungusEditorWindow), false, "Fungus Editor"); |
||||
} |
||||
GUILayout.FlexibleSpace(); |
||||
GUILayout.EndHorizontal(); |
||||
} |
||||
} |
@ -0,0 +1,8 @@
|
||||
fileFormatVersion: 2 |
||||
guid: 0444d16cc20de47878a9b392aea6a4a2 |
||||
MonoImporter: |
||||
serializedVersion: 2 |
||||
defaultReferences: [] |
||||
executionOrder: 0 |
||||
icon: {instanceID: 0} |
||||
userData: |
Binary file not shown.
Loading…
Reference in new issue