mirror of
https://github.com/DCFApixels/DragonECS.git
synced 2025-09-18 01:44:35 +08:00
Merge branch 'main' of github.com:DCFApixels/DragonECS
This commit is contained in:
commit
1605108e49
@ -1105,7 +1105,7 @@ namespace DCFApixels.DragonECS
|
|||||||
public ReadOnlySpan<object> GetComponentsFor(int entityID)
|
public ReadOnlySpan<object> GetComponentsFor(int entityID)
|
||||||
{
|
{
|
||||||
int count = GetComponentTypeIDsFor_Internal(entityID, ref _componentIDsBuffer);
|
int count = GetComponentTypeIDsFor_Internal(entityID, ref _componentIDsBuffer);
|
||||||
ArrayUtility.UpsizeWithoutCopy(ref _componentIDsBuffer, count);
|
ArrayUtility.UpsizeWithoutCopy(ref _componentsBuffer, count);
|
||||||
|
|
||||||
for (int i = 0; i < count; i++)
|
for (int i = 0; i < count; i++)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user