protected SequenceTask(BehaviorTree tree, Task parentTask, uint id, SequenceTaskDesc description, SequenceTaskProps props) : base(tree, parentTask, id, description, props) { props = (SequenceTaskProps)Props; }
protected override void OnRestoreProps(ITaskProps props) { base.OnRestoreProps(props); this.props = (SequenceTaskProps)props; }
public SequenceTask(BehaviorTree tree, Task parentTask, uint id, SequenceTaskDesc description) : this(tree, parentTask, id, description, new SequenceTaskProps()) { props = (SequenceTaskProps)Props; }