diff --git a/Assets/LDtkUnity/Editor/Utility/LDtkTilemapColliderReset.cs b/Assets/LDtkUnity/Editor/Utility/LDtkTilemapColliderReset.cs index 5297e697..a140c244 100644 --- a/Assets/LDtkUnity/Editor/Utility/LDtkTilemapColliderReset.cs +++ b/Assets/LDtkUnity/Editor/Utility/LDtkTilemapColliderReset.cs @@ -3,6 +3,7 @@ using UnityEditor; using UnityEngine; using UnityEngine.Tilemaps; +using Debug = UnityEngine.Debug; namespace LDtkUnity.Editor { @@ -61,7 +62,12 @@ public static void TilemapColliderTileUpdate() if (view != null && affected > 0) { float seconds = watch.ElapsedMilliseconds * 0.001f; - view.ShowNotification(new GUIContent($"Refreshed LDtk scene tilemaps\n({affected} in {seconds:F2}s)"), 2.5f); + string msg = $"Refreshed LDtk scene tilemaps\n({affected} in {seconds:F2}s)"; + view.ShowNotification(new GUIContent(msg), 2.5f); + if (LDtkPrefs.VerboseLogging) + { + Debug.Log(msg); + } } }; }