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