Beispiel #1
0
        void TestParallelSequence()
        {
            Bt_ParallelSequence node;

            node = new Bt_ParallelSequence();

            node.AddChild(new Run());
            node.AddChild(new Idle());

            Debug.Log(node.Do_Action());
        }
Beispiel #2
0
        void TestSelect()
        {
            Bt_Select node;

            node = new Bt_Select();

            node.AddChild(new Run());
            node.AddChild(new Idle());

            Debug.Log(node.Do_Action());
        }