// Token: 0x0600032A RID: 810 RVA: 0x0000D2B8 File Offset: 0x0000B4B8 protected BaseState.HitStopCachedState CreateHitStopCachedState(CharacterMotor characterMotor, Animator animator, string playbackRateAnimationParameter) { BaseState.HitStopCachedState hitStopCachedState = default(BaseState.HitStopCachedState); hitStopCachedState.characterVelocity = new Vector3(characterMotor.velocity.x, Mathf.Max(0f, characterMotor.velocity.y), characterMotor.velocity.z); hitStopCachedState.playbackName = playbackRateAnimationParameter; hitStopCachedState.playbackRate = animator.GetFloat(hitStopCachedState.playbackName); return(hitStopCachedState); }
// Token: 0x0600032B RID: 811 RVA: 0x0000D320 File Offset: 0x0000B520 protected void ConsumeHitStopCachedState(BaseState.HitStopCachedState hitStopCachedState, CharacterMotor characterMotor, Animator animator) { characterMotor.velocity = hitStopCachedState.characterVelocity; animator.SetFloat(hitStopCachedState.playbackName, hitStopCachedState.playbackRate); }