Vector2EventListener

Derives from EventListener<T, TChannel>.

Description

Listens for events on a Vector2EventChannel and invokes actions with a Vector2 value when an event is raised.

Public Methods

  • RaiseEvent(Vector2Int) - Manually raises onEventRaised with the Vector2Int value provided.

NOTE: Manually raising the event will only trigger the UnityEvent actions on this component. It will not raise an event on the Channel itself.