|
|
|
@ -109,11 +109,11 @@ public class EntityBuilder<TContext> |
|
|
|
|
using var alloc = TempAllocator.Use(); |
|
|
|
|
var desc = new ecs_entity_desc_t { |
|
|
|
|
id = Id, |
|
|
|
|
name = (Path != null) ? alloc.AllocateCString(Path.Name.AsSpan()) : default, |
|
|
|
|
symbol = alloc.AllocateCString(_symbol), |
|
|
|
|
add_expr = alloc.AllocateCString(Expression), |
|
|
|
|
_name = (Path != null) ? alloc.AllocateCString(Path.Name.AsSpan()) : default, |
|
|
|
|
_symbol = alloc.AllocateCString(_symbol), |
|
|
|
|
_add_expr = alloc.AllocateCString(Expression), |
|
|
|
|
use_low_id = UseLowId, |
|
|
|
|
sep = CStringExtensions.ETX, |
|
|
|
|
_sep = CStringExtensions.ETX, |
|
|
|
|
}; |
|
|
|
|
|
|
|
|
|
var add = desc.add; var index = 0; |
|
|
|
|