예제 #1
0
        private void updateValue()
        {
            if (this.update(_timelineDock.trackBar.Value))
            {
                this.setUpdateMode(UpdateModes.Break, this._break_prompt);
            }
            else
            {
                if (Plugin.EditMode == EditModes.Analyze)
                {
                    BehaviorTreeViewDock.ClearHighlightBreakPoint();
                    _timelineDock.promptLabel.Text = "";

                    _currentFrame = _timelineDock.trackBar.Value;
                }
            }
        }
예제 #2
0
        private void updateValue()
        {
            _agenttype_index     = 0;
            _agentinstance_index = 0;

            if (this.update(_timelineDock.trackBar.Value))
            {
                this.setUpdateMode(UpdateModes.Break, this._break_prompt);
            }
            else
            {
                if (Plugin.EditMode == EditModes.Analyze)
                {
                    BehaviorTreeViewDock.ClearHighlightBreakPoint();
                    _timelineDock.promptLabel.Text = "";
                }
            }
        }