Flecs v4.1
A fast entity component system (ECS) for C & C++
Loading...
Searching...
No Matches
ecs_script_desc_t Struct Reference

Used with ecs_script_init(). More...

#include <script.h>

Public Attributes

ecs_entity_t entity
 Set to customize entity handle associated with script.
 
const char * filename
 Set to load script from file.
 
const char * code
 Set to parse script from string.
 

Detailed Description

Used with ecs_script_init().

Definition at line 332 of file script.h.

Member Data Documentation

◆ code

const char* ecs_script_desc_t::code

Set to parse script from string.

Definition at line 335 of file script.h.

◆ entity

ecs_entity_t ecs_script_desc_t::entity

Set to customize entity handle associated with script.

Definition at line 333 of file script.h.

◆ filename

const char* ecs_script_desc_t::filename

Set to load script from file.

Definition at line 334 of file script.h.


The documentation for this struct was generated from the following file: