-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Labels
enhancementNew feature or requestNew feature or request
Description
public static ref T Modify<T>([NotNull] this EcsPool<T> pool, int entity) where T : struct
{
#if DEBUG
if (pool == null) throw new ArgumentNullException(nameof(pool));
#endif
ref var component = ref pool.Get(entity);
pool.GetWorld().GetUpdatesPool<T>().GetOrAdd(entity);
return ref component;
}
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request