Page cover

Multiple Events in one Object

Make sure you have read the Implementation Guide before proceeding with any examples for optimal results!

  1. For our example we want to bind the two events called OpenGate and CloseGate

  1. Implement the OnEventCalled()and we added a Switch on Name based on our EventIDs to decide which logic should be run

  1. Thats it! Now we can usae CallEvent()anywhere we want!

Run it from anywhere you want

Last updated