Eventboard
using FlowReactor.EventSystem;
public void CallEventByName(string eventName)
Call an event on the referenced Eventboard. Make sure event names are unique.
Example
using FlowReactor;
using FlowReactor.EventSystem;
// reference to eventboard
public EventBoard events;
// call the OnEvent1 event in the assigned eventboard
events.CallEventByName("OnEvent1");
Use the FlowReactorEventListener component to listen to events. With this component you can easily call public methods on your own custom scripts.
Last modified 4mo ago