Files
WhiteMan_Unity2D/Assets/02_Scripts/Combat/IDamageable.cs

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);
}