Skip to content

Latest commit

 

History

History
21 lines (13 loc) · 587 Bytes

File metadata and controls

21 lines (13 loc) · 587 Bytes

Component that defines a callback for when an Entity is clicked.

Specs

Members

onClick

putils::function<void(), KENGINE_ONCLICK_FUNCTION_SIZE> onClick = nullptr;

Callback for when the Entity is clicked.

The maximum size for the callback defaults to 64 and can be adjusted by defining the KENGINE_ONCLICK_FUNCTION_SIZE macro.