public static void GetWindow(string _template) { ScriptCreatorWindow _launcher = (ScriptCreatorWindow)GetWindow(typeof(ScriptCreatorWindow)); _launcher.template = _template; _launcher.maxSize = new Vector2(250, 50); _launcher.minSize = new Vector2(250, 50); _launcher.ShowUtility(); }
public static void CreateStateMachineBehaviour() => ScriptCreatorWindow.GetWindow(stateMachineBehaviour);
public static void CreateMonoBehaviour() => ScriptCreatorWindow.GetWindow(monoBehaviour);