mirror of
https://github.com/DCFApixels/DragonECS.git
synced 2026-04-21 17:35:56 +08:00
Update EcsValuePool.cs
This commit is contained in:
parent
3715857f0f
commit
b101f029ce
@ -152,6 +152,10 @@ namespace DCFApixels.DragonECS
|
||||
#endregion
|
||||
|
||||
#region Methods
|
||||
public NativeEcsValuePool<T> AsNative()
|
||||
{
|
||||
return new NativeEcsValuePool<T>(_sharedStore);
|
||||
}
|
||||
public ref T Add(int entityID)
|
||||
{
|
||||
ref int itemIndex = ref _mapping[entityID];
|
||||
|
||||
Loading…
Reference in New Issue
Block a user