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; } } }
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 = ""; } } }