From 0f4189509361632ec5bee7b62d8087363aa3782a Mon Sep 17 00:00:00 2001 From: DCFApixels <99481254+DCFApixels@users.noreply.github.com> Date: Thu, 13 Mar 2025 20:43:21 +0800 Subject: [PATCH] fix --- src/EcsPipeline.Builder.cs | 6 +++--- src/Internal/ArrayUtility.cs | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/EcsPipeline.Builder.cs b/src/EcsPipeline.Builder.cs index 672b119..d3708cb 100644 --- a/src/EcsPipeline.Builder.cs +++ b/src/EcsPipeline.Builder.cs @@ -299,12 +299,12 @@ namespace DCFApixels.DragonECS #region Build #if (DEBUG && !DISABLE_DEBUG) || ENABLE_DRAGONECS_ASSERT_CHEKS - private static EcsProfilerMarker _buildBarker = new EcsProfilerMarker("EcsPipeline.Build"); + private static EcsProfilerMarker _buildMarker = new EcsProfilerMarker("EcsPipeline.Build"); #endif public EcsPipeline Build() { #if (DEBUG && !DISABLE_DEBUG) || ENABLE_DRAGONECS_ASSERT_CHEKS - _buildBarker.Begin(); + _buildMarker.Begin(); #endif var it = new LinkedListIterator(_systemNodes, _systemNodesCount, _startIndex); @@ -370,7 +370,7 @@ namespace DCFApixels.DragonECS item.Declare(pipeline); } #if (DEBUG && !DISABLE_DEBUG) || ENABLE_DRAGONECS_ASSERT_CHEKS - _buildBarker.End(); + _buildMarker.End(); #endif return pipeline; } diff --git a/src/Internal/ArrayUtility.cs b/src/Internal/ArrayUtility.cs index 9a13bd2..e95d43f 100644 --- a/src/Internal/ArrayUtility.cs +++ b/src/Internal/ArrayUtility.cs @@ -69,7 +69,7 @@ namespace DCFApixels.DragonECS.Internal //TODO потестить public static void ResizeOrCreate(ref T[] array, int newSize) { - if(array == null) + if (array == null) { array = new T[newSize]; }