Exemplo n.º 1
0
        public static void OpenEditor(BehaviourTreeAsset asset)
        {
            BehaviourTreeDesignerWindow window = GetWindow <BehaviourTreeDesignerWindow>();

            window.InitWith(asset);
            window.Show();
        }
Exemplo n.º 2
0
        public static void OpenEditor(BehaviourTreeRunner runner)
        {
            BehaviourTreeDesignerWindow window = GetWindow <BehaviourTreeDesignerWindow>();

            window.InitWith(runner);
            window.Show();
        }