public bool OnAnimatorIK(int layerIndex) { for (int i = 0; i < this.ActiveActions.get_Count(); i++) { SkillStateAction fsmStateAction = this.ActiveActions.get_Item(i); fsmStateAction.Init(this); fsmStateAction.DoAnimatorIK(layerIndex); } this.RemoveFinishedActions(); return(this.fsm.IsSwitchingState); }