コード例 #1
0
 public ListenEventTask(BehaviorTree tree, Task parentTask, uint id, ListenEventTaskDesc description)
     : base(tree, parentTask, id, description, new ListenEventTaskProps())
 {
     this.description = description;
     props            = (ListenEventTaskProps)Props;
 }
コード例 #2
0
        protected override void OnRestoreProps(ITaskProps props)
        {
            base.OnRestoreProps(props);

            this.props = (ListenEventTaskProps)props;
        }