Make sure you have read the Implementation Guide before proceeding with any examples for optimal results!
For our example we want to bind the two events called OpenGate and CloseGate
OpenGate
CloseGate
Implement the OnEventCalled()and we added a Switch on Name based on our EventIDs to decide which logic should be run
OnEventCalled()
Switch on Name
Thats it! Now we can usae CallEvent()anywhere we want!
CallEvent()
Last updated 3 years ago