Ejemplo n.º 1
0
        protected override void OnRestoreProps(ITaskProps props)
        {
            base.OnRestoreProps(props);

            this.props = (WaitEventTaskProps)props;
        }
Ejemplo n.º 2
0
 public WaitEventTask(BehaviorTree tree, Task parentTask, uint id, WaitEventTaskDesc description)
     : base(tree, parentTask, id, description, new WaitEventTaskProps())
 {
     this.description = description;
     props            = (WaitEventTaskProps)Props;
 }