defines refactoring

This commit is contained in:
DCFApixels 2025-03-15 15:11:18 +08:00
parent e2dcd8a402
commit bcefb63aa3

View File

@ -64,7 +64,7 @@ namespace DCFApixels.DragonECS.Graphs.Internal
private SubGraphMap ExecuteFor_Internal(EcsSpan span, JoinMode mode) private SubGraphMap ExecuteFor_Internal(EcsSpan span, JoinMode mode)
{ {
//_executeMarker.Begin(); //_executeMarker.Begin();
#if DEBUG || ENABLE_DRAGONECS_ASSERT_CHEKS #if DEBUG || DRAGONECS_STABILITY_MODE
if (span.IsNull) { /*_executeMarker.End();*/ Throw.ArgumentNull(nameof(span)); } if (span.IsNull) { /*_executeMarker.End();*/ Throw.ArgumentNull(nameof(span)); }
if (span.WorldID != _graphWorld.ID) { /*_executeMarker.End();*/ Throw.Quiery_ArgumentDifferentWorldsException(); } if (span.WorldID != _graphWorld.ID) { /*_executeMarker.End();*/ Throw.Quiery_ArgumentDifferentWorldsException(); }
#endif #endif