Posted September 27, 2020 by Giavapps
#giavapps #event #system #type
THE EVENT TYPES
The first thing to do to properly configure the Giavapps Event System is to create your list of events that you can have in your application.
A very simple way is to use an enum for example you may have:
In our demo we created a system that when we trigger specific events the color of the instaces is going to change based on the event type.
This is because objects "listen" for specific events when they are triggered.
PLEASE NOTE
Each Event Type must have its own Unique ID (the first must be 0).