StringEventListener
Derives from EventListener<T, TChannel>.
Description
Listens for events on a StringEventChannel and invokes actions with a string value when an event is raised.
Public Methods
RaiseEvent(bool)- Manually raisesonEventRaisedwith the string representation of theboolvalue provided.RaiseEvent(int)- Manually raisesonEventRaisedwith the string representation of the signedintvalue provided.RaiseEvent(float)- Manually raisesonEventRaisedwith the string representation of thefloatvalue provided.RaiseEvent(double)- Manually raisesonEventRaisedwith the string representation of thedoublevalue 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.
NOTE: The RaiseEvent() methods will format the string using the CultureInfo.CurrentCulture.