Esempio n. 1
0
 public bool OnJointBreak2D(Joint2D joint)
 {
     for (int i = 0; i < this.ActiveActions.get_Count(); i++)
     {
         SkillStateAction fsmStateAction = this.ActiveActions.get_Item(i);
         fsmStateAction.Init(this);
         fsmStateAction.DoJointBreak2D(joint);
     }
     this.RemoveFinishedActions();
     return(this.fsm.IsSwitchingState);
 }