feat: 드로그 보스 리네임 및 기본 패턴 구현
This commit is contained in:
@@ -30,7 +30,11 @@ namespace Colosseum.Skills.Effects
|
||||
return;
|
||||
}
|
||||
|
||||
if (!target.TryGetComponent(out HitReactionController hitReactionController))
|
||||
HitReactionController hitReactionController = target.GetComponent<HitReactionController>();
|
||||
if (hitReactionController == null)
|
||||
hitReactionController = target.GetComponentInParent<HitReactionController>();
|
||||
|
||||
if (hitReactionController == null)
|
||||
{
|
||||
Debug.LogWarning($"[DownEffect] HitReactionController not found on target: {target.name}");
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user