Beispiel #1
0
        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();
        }
Beispiel #2
0
 public static void CreateStateMachineBehaviour() => ScriptCreatorWindow.GetWindow(stateMachineBehaviour);
Beispiel #3
0
 public static void CreateMonoBehaviour() => ScriptCreatorWindow.GetWindow(monoBehaviour);