플레이어 스킬 2번째 사용부터 파티클 오류 수정

This commit is contained in:
Nam Tae Gun 2024-06-24 21:26:45 +09:00
parent 1e3ede6b9a
commit 467935b95d

View File

@ -61,7 +61,6 @@ namespace BlueWater.Players.Combat.Skills
_iPhysicMovable = _combatPlayer.GetComponent<IPhysicMovable>();
}
_theWaltzOfTheSwordData = (TheWaltzOfTheSwordData)SkillData;
_readyParticleInstance = Instantiate(_theWaltzOfTheSwordData.ReadyParticle, SkillUser.transform);
}
public override bool CanSkill()
@ -86,6 +85,7 @@ namespace BlueWater.Players.Combat.Skills
EnableSkill = false;
_iPhysicMovable.Rigidbody.linearVelocity = Vector3.zero;
_iPhysicMovable.Rigidbody.isKinematic = true;
_readyParticleInstance = Instantiate(_theWaltzOfTheSwordData.ReadyParticle, SkillUser.transform);
_readyParticleInstance.Play();
SortCollidersByDistance();
_animationController.SetAnimationParameter("isReadyMainSkill", true);