Beispiel #1
0
        protected override void OnEnable()
        {
            base.OnEnable();
            BehaviorTreeEditor.instance = this;
            if (_mainToolBar == null)
            {
                _mainToolBar = new MainToolBar();
            }

            _isViewCenter = true;
            EditorApplication.playmodeStateChanged += OnPlayModeStateChanged;
        }
Beispiel #2
0
        protected override void OnEnable()
        {
            base.OnEnable();
            BehaviorTreeEditor.instance = this;
            if (_mainToolBar == null)
                _mainToolBar = new MainToolBar();

            _isViewCenter = true;
            EditorApplication.playmodeStateChanged += OnPlayModeStateChanged;
        }