Mut component. More...
#include <script.h>
Public Attributes | |
| ecs_value_t | value |
| const ecs_type_info_t * | type_info |
Mut component.
This component describes a mutable global variable that can be used from scripts. Unlike a const variable, the value of a mut variable is never folded into expressions, and scripts that use it are reevaluated when it changes.
| const ecs_type_info_t* EcsScriptMutVar::type_info |
| ecs_value_t EcsScriptMutVar::value |