2026-05-20 적 경직추가
This commit is contained in:
@@ -15,8 +15,9 @@
|
||||
// correctHitTargetY — 위 위치 보정에서 Y도 보정할지 (false면 X만)
|
||||
// hitPositionSolidMask — 위치 보정 시 끼이지 않게 검사할 솔리드 레이어
|
||||
// hitPositionCorrectionDuration — 위치 보정 보간 시간 (0이면 즉시 스냅)
|
||||
// hitStunDuration — 피격 경직 시간. 음수면 피격자 기본값 사용
|
||||
// ============================================================================
|
||||
public interface IDamageable
|
||||
{
|
||||
void TakeDamage(int amount, Vector2 hitVelocity = default, string hitReactionAnimationState = null, Vector2? hitTargetPosition = null, bool correctHitTargetY = false, int hitPositionSolidMask = 0, float hitPositionCorrectionDuration = 0f);
|
||||
void TakeDamage(int amount, Vector2 hitVelocity = default, string hitReactionAnimationState = null, Vector2? hitTargetPosition = null, bool correctHitTargetY = false, int hitPositionSolidMask = 0, float hitPositionCorrectionDuration = 0f, float hitStunDuration = -1f);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user