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

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