7 lines
297 B
C#
7 lines
297 B
C#
using UnityEngine;
|
|
|
|
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);
|
|
}
|