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