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

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

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