959e80cf72
assets upload description.
15 lines
449 B
C#
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();
|
|
}
|
|
} |