using UnityEngine; using UnityEngine.Events; namespace Chernobyl.Unity.Event { /// /// Invokes events when states are reached. /// public class BehaviourEvents : MonoBehaviour { /// /// Unity event to invoke when this MonoBehaviour instance's Start() is invoked. /// [Tooltip("Unity event to invoke when this MonoBehaviour instance's Start() is invoked.")] public UnityEvent Started; /// See Unity docs for more info. public void Start() => Started?.Invoke(); } }