void TestParallelSequence() { Bt_ParallelSequence node; node = new Bt_ParallelSequence(); node.AddChild(new Run()); node.AddChild(new Idle()); Debug.Log(node.Do_Action()); }
void TestSelect() { Bt_Select node; node = new Bt_Select(); node.AddChild(new Run()); node.AddChild(new Idle()); Debug.Log(node.Do_Action()); }
protected void SetChil(Bt_Node node) { this.child = node; }
public Bt_Decotator() { child = null; }
public void AddChild(Bt_Node node) { children.Add(node); }