This commit is contained in:
Mikhail 2024-10-31 14:53:08 +08:00
parent 665e0abf32
commit 28402472b0

View File

@ -149,7 +149,7 @@ namespace DCFApixels.DragonECS
} }
#endregion #endregion
#region CheckCache #region Utils
[MethodImpl(MethodImplOptions.AggressiveInlining)] [MethodImpl(MethodImplOptions.AggressiveInlining)]
private void CheckCache(Delegate d) private void CheckCache(Delegate d)
{ {
@ -173,7 +173,7 @@ namespace DCFApixels.DragonECS
#region Do #region Do
[MethodImpl(MethodImplOptions.AggressiveInlining)] [MethodImpl(MethodImplOptions.AggressiveInlining)]
public void Do(Action<TProcess> translationCallback) public void Run(Action<TProcess> translationCallback)
{ {
CheckCache(translationCallback); CheckCache(translationCallback);
#if DEBUG && !DISABLE_DEBUG #if DEBUG && !DISABLE_DEBUG