From 5fc71061aa26bc4109fc2810db72431b6247749f Mon Sep 17 00:00:00 2001 From: ikpil Date: Sun, 15 Dec 2024 12:51:56 +0900 Subject: [PATCH] Add inline property to DtProximityGrid.Clear() --- src/DotRecast.Detour.Crowd/DtProximityGrid.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/DotRecast.Detour.Crowd/DtProximityGrid.cs b/src/DotRecast.Detour.Crowd/DtProximityGrid.cs index 3cd182cf..4f2a253e 100644 --- a/src/DotRecast.Detour.Crowd/DtProximityGrid.cs +++ b/src/DotRecast.Detour.Crowd/DtProximityGrid.cs @@ -55,6 +55,7 @@ public static void DecomposeKey(long key, out int x, out int y) y = (int)uy; } + [MethodImpl(MethodImplOptions.AggressiveInlining)] public void Clear() { _items.Clear();