We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f8e2a66 commit 1e6960cCopy full SHA for 1e6960c
Assets/LDtkUnity/Editor/Utility/LDtkTilemapColliderReset.cs
@@ -3,6 +3,7 @@
3
using UnityEditor;
4
using UnityEngine;
5
using UnityEngine.Tilemaps;
6
+using Debug = UnityEngine.Debug;
7
8
namespace LDtkUnity.Editor
9
{
@@ -61,7 +62,12 @@ public static void TilemapColliderTileUpdate()
61
62
if (view != null && affected > 0)
63
64
float seconds = watch.ElapsedMilliseconds * 0.001f;
- view.ShowNotification(new GUIContent($"Refreshed LDtk scene tilemaps\n({affected} in {seconds:F2}s)"), 2.5f);
65
+ string msg = $"Refreshed LDtk scene tilemaps\n({affected} in {seconds:F2}s)";
66
+ view.ShowNotification(new GUIContent(msg), 2.5f);
67
+ if (LDtkPrefs.VerboseLogging)
68
+ {
69
+ Debug.Log(msg);
70
+ }
71
}
72
};
73
0 commit comments