mirror of
https://github.com/DCFApixels/DragonECS.git
synced 2025-09-18 09:54:35 +08:00
Merge e95e857c65
into c7b9dcdad7
This commit is contained in:
commit
eee0bb5a4d
@ -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