private void ApplyDamage(int damage) { // OnDamaged?.Invoke(damage); ExampleEventBus.RaiseEvent("damage"); }
private void Awake() { // Player.OnDamaged += ShowDamage; ExampleEventBus.SubscribeOnEvent("Damage", ShowDamage); }