Update UncheckedCoreUtility.cs

This commit is contained in:
Mikhail 2024-03-25 21:02:45 +08:00
parent a4bf37677a
commit 83ea1d470c

View File

@ -6,6 +6,12 @@ namespace DCFApixels.DragonECS.UncheckedCore
{
public static class UncheckedCoreUtility
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
public static EcsSpan CreateSpan(short worldID, ReadOnlySpan<int> entitesArray)
{
return new EcsSpan(worldID, entitesArray);
}
[MethodImpl(MethodImplOptions.AggressiveInlining)]
public static EcsSpan CreateSpan(short worldID, int[] entitesArray, int startIndex, int length)
{