private void EventEditor_Load(object sender, EventArgs e)
 {
     window = new SequenceEditWindow();
     p_workspace.Controls.Add(window);
     if (Sequence != null) window.Sequence = Sequence;
     window.OnBlockSelect += new SequenceEditWindow.OnBlockSelectHandler(window_OnBlockSelect);
 }
Example #2
0
 public override void OnInspectorGUI()
 {
     if (GUILayout.Button("Edit Sequence", GUILayout.Height(50)))
     {
         SequenceEditWindow window = EditorWindow.GetWindow <SequenceEditWindow>(true);
         window.Init((RemoteLevel)target);
     }
 }