|
|
|
@ -36,7 +36,7 @@ public unsafe partial class Universe |
|
|
|
|
static void RestImport(ecs_world_t* world) |
|
|
|
|
=> FlecsRestImport(world); |
|
|
|
|
|
|
|
|
|
ecs_import(this, new() { Data = new() { Pointer = &RestImport } }, "FlecsRest"); |
|
|
|
|
ecs_import_c(this, new() { Data = new() { Pointer = &RestImport } }, "FlecsRest"); |
|
|
|
|
|
|
|
|
|
var rest = LookupOrThrow("flecs.rest.Rest"); |
|
|
|
|
_lookupByType.Add(typeof(EcsRest), rest); |
|
|
|
@ -49,7 +49,7 @@ public unsafe partial class Universe |
|
|
|
|
static void MonitorImport(ecs_world_t* world) |
|
|
|
|
=> FlecsMonitorImport(world); |
|
|
|
|
|
|
|
|
|
ecs_import(this, new() { Data = new() { Pointer = &MonitorImport } }, "FlecsMonitor"); |
|
|
|
|
ecs_import_c(this, new() { Data = new() { Pointer = &MonitorImport } }, "FlecsMonitor"); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
public bool Progress(TimeSpan delta) |
|
|
|
|