Multiple Events in one Object
For our example we want to bind the two events called
OpenGateandCloseGate

Implement the
OnEventCalled()and we added aSwitch on Namebased on our EventIDs to decide which logic should be run

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

Last updated
