mirror of
https://github.com/DCFApixels/DragonECS.git
synced 2025-09-18 09:54:35 +08:00
Update UncheckedCoreUtility.cs
This commit is contained in:
parent
a4bf37677a
commit
83ea1d470c
@ -6,6 +6,12 @@ namespace DCFApixels.DragonECS.UncheckedCore
|
|||||||
{
|
{
|
||||||
public static class UncheckedCoreUtility
|
public static class UncheckedCoreUtility
|
||||||
{
|
{
|
||||||
|
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
||||||
|
public static EcsSpan CreateSpan(short worldID, ReadOnlySpan<int> entitesArray)
|
||||||
|
{
|
||||||
|
return new EcsSpan(worldID, entitesArray);
|
||||||
|
}
|
||||||
|
|
||||||
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
||||||
public static EcsSpan CreateSpan(short worldID, int[] entitesArray, int startIndex, int length)
|
public static EcsSpan CreateSpan(short worldID, int[] entitesArray, int startIndex, int length)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user