Function component
called when the entity is clicked.
void (int button);
button
: mouse button that was clicked
The on_click system will call this function component
for the entity found in the clicked pixel.
Function component
called when the entity is clicked.
void (int button);
button
: mouse button that was clickedThe on_click system will call this function component
for the entity found in the clicked pixel.