public void Init(Sequence.AudioTrack input, BlenderEditorWindow editorWindow) { track = input; titleContent = new GUIContent(track.name + " Settings"); minSize = maxSize = new Vector2(300, 120); this.editorWindow = editorWindow; }
public void Init(BlendClipEditor editor, BlenderEditorWindow window) { clipEditors.Clear(); clipEditors.Add(editor); parentWindow = window; minSize = maxSize = new Vector2(300, 350); }
public void Init(List <BlendClipEditor> editors, BlenderEditorWindow window) { clipEditors.Clear(); clipEditors = new List <BlendClipEditor>(editors); parentWindow = window; minSize = maxSize = new Vector2(300, 350); titleContent = new GUIContent("Configure Clip"); }
void OpenEditorWindow(Sequence sequence) { if (editorWindow != null) { editorWindow.Close(); } editorWindow = EditorWindow.GetWindow <BlenderEditorWindow>(true); editorWindow.sequence = sequence; }
public AudioTrackEditor(Sequence.AudioTrack t, Sequence s, BlenderEditorWindow w) { sequence = s; track = t; editorWindow = w; }