Example #1
0
        public Decorator()
        {
            Child = null;

            Initialize = () => { };
            Update     = () => Status.Running;
            Terminate  = () => { };
        }
Example #2
0
 public T SetChild <T>(T node) where T : BtBehaviour
 {
     node.Parent = this;
     Child       = node;
     return(node);
 }