Ejemplo n.º 1
0
 protected SequenceTask(BehaviorTree tree, Task parentTask, uint id, SequenceTaskDesc description, SequenceTaskProps props)
     : base(tree, parentTask, id, description, props)
 {
     props = (SequenceTaskProps)Props;
 }
Ejemplo n.º 2
0
        protected override void OnRestoreProps(ITaskProps props)
        {
            base.OnRestoreProps(props);

            this.props = (SequenceTaskProps)props;
        }
Ejemplo n.º 3
0
 public SequenceTask(BehaviorTree tree, Task parentTask, uint id, SequenceTaskDesc description)
     : this(tree, parentTask, id, description, new SequenceTaskProps())
 {
     props = (SequenceTaskProps)Props;
 }