public IEnumerator Start() { yield return(null); var args = new EventB.Args($"sent from {nameof(EmitterB)}"); var @event = new EventB(args); _eventBus.Emit(this, @event); }
private void OnEvent(object sender, EventB @event) { Debug.Log($"{nameof(ListenerB)} on {gameObject.name} received {@event} from {sender}"); }