skill cooltime 적용 로직 테스트 코드

This commit is contained in:
aube.lee
2025-02-08 14:49:06 +09:00
parent d4bafd6cec
commit 57eb4abea3
9 changed files with 118 additions and 165 deletions

View File

@@ -160,12 +160,12 @@ namespace TON
attackCollider.EnableCollider(false);
}
public void SkillAttack(string skillName)
public void SkillAttack(string skillId)
{
animator.Play("Skill Attack");
// 스킬 생성
GameObject skill = ObjectPoolManager.Instance.GetEffect(skillName);
GameObject skill = ObjectPoolManager.Instance.GetEffect(skillId);
// skill.transform.SetParent(firePoint);
skill.transform.SetPositionAndRotation(firePoint.position, firePoint.rotation);