using System; using System.Reactive.Subjects; using UnityEngine; namespace Chernobyl.Unity.Event { /// /// An asset that acts as a source of events. /// [CreateAssetMenu] public class EventSource : BaseEventSource { /// /// Sends an event through this sources . /// public void OnNext() => Subject.OnNext(EventArgs.Empty); } }