ecs_script_update

Function ecs_script_update 

Source
pub unsafe extern "C" fn ecs_script_update(
    world: *mut ecs_world_t,
    script: ecs_entity_t,
    instance: ecs_entity_t,
    str_: *const c_char,
    vars: *mut ecs_vars_t,
) -> c_int
Expand description

Update script with new code.

@param world The world. @param script The script entity. @param instance An assembly instance (optional). @param str The script code. @param vars Optional preset variables for script parameterization.