Samir Badi 5bbd6b550c tmp
2025-11-27 13:06:26 -05:00

17 lines
433 B
C#

using System;
using UnityEngine;
namespace MedievalParty.Entity
{
public abstract class EntityObject: MonoBehaviour
{
public static event EventHandler<int> onAnyEntityNumberRoll;
public void SetCharacter(EntitySO entity)
{
Instantiate(entity.visual, transform);
}
protected void NumberRolled(int number) => onAnyEntityNumberRoll?.Invoke(this, number);
}
}