Пример #1
0
 private void onAnimationActionTriggered(AbstractCharacterAnimator.Action action)
 {
     if (((base.CharacterView.Character != null) && base.CharacterView.Character.IsPlayerCharacter) && !base.CharacterView.Character.IsSupport)
     {
         PlayerView.Binder.AudioSystem.stopAudioGroup(this.m_footStepTypeL);
         PlayerView.Binder.AudioSystem.stopAudioGroup(this.m_footStepTypeR);
     }
 }
 public DelayedAction(float delay, AbstractCharacterAnimator.Action action, float normalizedDetransitionTime, bool overrideSelf, bool overrideOthers, float duration, int clipIndex, float singleFrameTargetNormalizedTime)
 {
     this.delay  = delay;
     this.action = action;
     this.normalizedDetransitionTime = normalizedDetransitionTime;
     this.overrideSelf   = overrideSelf;
     this.overrideOthers = overrideOthers;
     this.duration       = duration;
     this.clipIndex      = clipIndex;
     this.singleFrameTargetNormalizedTime = singleFrameTargetNormalizedTime;
 }