![]() |
Flecs v4.0
A fast entity component system (ECS) for C & C++
|
Method component. More...
#include <script.h>
Public Attributes | |
| ecs_entity_t | return_type |
| ecs_vec_t | params |
| ecs_function_callback_t | callback |
| void * | ctx |
Method component.
This component describes a method that can be called from a script. Methods are functions that can be called on instances of a type. A method entity is stored in the scope of the type it belongs to.
| ecs_function_callback_t EcsScriptMethod::callback |
| ecs_entity_t EcsScriptMethod::return_type |