RiftMayhem/Assets/Scripts/EntityBroker/BrokerInterceptor.cs

18 lines
426 B
C#

using Kryz.CharacterStats.Examples;
using UnityEngine;
public class BrokerInterceptor : MonoBehaviour
{
protected EntityEventBroker broker;
protected CharacterStats stats;
protected Taggable user;
protected virtual void Awake()
{
user = GetComponentInParent<Taggable>();
broker = GetComponentInParent<EntityEventBroker>();
stats = GetComponentInParent<CharacterStats>();
}
}