static void Init() { // Get existing open window or if none, make a new one: CutsceneEditor window = (CutsceneEditor)EditorWindow.GetWindow(typeof(CutsceneEditor)); window.Show(); }
public override bool Open() { Loader = new CutsceneLoader(file); CutsceneEditor editor = new CutsceneEditor(this); editor.Show(); return(true); }