public void SetBehavior(BT_BBParameters behavior) { if (TreeNode == null) TreeNode = BT_TreeNode.CreateNode(behavior); else TreeNode.Behavior = behavior; }
public void ChangeBehavior(BT_BBParameters behavior) { NodeInfo.SetBehavior(behavior); BB = NodeInfo.TreeNode.ParametersBB;//BB stuff }
private void ResetParameters(BT_UINode uiNode, BT_BBParameters behavior) { uiNode.ChangeBehavior(behavior); }