diff --git a/src/Utils/UncheckedCoreUtility.cs b/src/Utils/UncheckedCoreUtility.cs index 4112dfe..5538d81 100644 --- a/src/Utils/UncheckedCoreUtility.cs +++ b/src/Utils/UncheckedCoreUtility.cs @@ -6,6 +6,12 @@ namespace DCFApixels.DragonECS.UncheckedCore { public static class UncheckedCoreUtility { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static EcsSpan CreateSpan(short worldID, ReadOnlySpan entitesArray) + { + return new EcsSpan(worldID, entitesArray); + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] public static EcsSpan CreateSpan(short worldID, int[] entitesArray, int startIndex, int length) {