Esempio n. 1
0
 protected override RunStatus Yield(BehaviorObject obj)
 {
     Debug.Log("CrowdBehaviorEvent: Yielding " + obj.ToString());
     if (this.participants.Contains(obj))
     {
         ForEach <T> root = (ForEach <T>) this.treeRoot;
         return(root.RemoveParticipant(this.behaviorObjToParticipant[obj]));
     }
     return(RunStatus.Success);
 }