diff --git a/Assets/LDtkUnity/Editor/Builders/LDtkBuilderTileset.cs b/Assets/LDtkUnity/Editor/Builders/LDtkBuilderTileset.cs index 61ba804a..8e43873e 100644 --- a/Assets/LDtkUnity/Editor/Builders/LDtkBuilderTileset.cs +++ b/Assets/LDtkUnity/Editor/Builders/LDtkBuilderTileset.cs @@ -1,8 +1,6 @@ -using System; -using System.Collections.Generic; +using System.Collections.Generic; using Unity.Jobs; using UnityEngine; -using UnityEngine.Profiling; using UnityEngine.Tilemaps; namespace LDtkUnity.Editor @@ -131,7 +129,7 @@ public void BuildTileset(TileInstance[] tiles) job.Input.Dispose(); LDtkProfiler.EndSample(); - LDtkProfiler.BeginSample("AddTiles"); + LDtkProfiler.BeginSample("RecalculateCellPositions"); Vector3Int[] cells = new Vector3Int[tilesLength]; for (int i = 0; i < tilesLength; i++) {