Firstborn/Assets/RPG Creation Kit/Scripts/Interfaces/IHittable.cs
Schaken-Mods 959e80cf72 assets upload
assets upload description.
2023-03-28 12:16:30 -05:00

15 lines
449 B
C#

using System.Collections;
using System.Collections.Generic;
using UnityEngine;
namespace RPGCreationKit
{
/// <summary>
/// Used on objects that can be hit, knocked out with physics and that generates decal (for blood use IDamageable.GenerateBlood).
/// </summary>
public interface IHittable
{
void Hit(Vector3 hitDir, float forceAmount = 25, DamageContext damageContext = null);
void GenerateDecal();
}
}