예제 #1
0
        public override void OnEnter()
        {
            base.OnEnter();
            _hitId = HitInfo.GenerateId();

            Actor.AddAttackCooldown(_setting.Cooldown);

            Actor.Mobile.UpdateDirection(Actor.DesiredMovement);

            _clampedVelocityOnEnter = Actor.Mobile.CurrentVelocity.ClampedMagnitude(PlayerSettings.MaxAirAttackVelocity);
        }