Skip to content

Commit

Permalink
minor tweak improvements
Browse files Browse the repository at this point in the history
  • Loading branch information
Cammin committed Aug 14, 2023
1 parent 05c1202 commit a70febb
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ public void TryDrawFixButton(LdtkJson data)
{
text = "Install",
tooltip = "This will extract from a zip file in this package into the Library folder.",
image = EditorGUIUtility.IconContent("Add-Available").image
image = LDtkIconUtility.GetUnityIcon("CreateAddNew", "")
};

using (new EditorGUILayout.VerticalScope(GUILayout.Width(75)))
Expand All @@ -79,7 +79,7 @@ public void TryDrawFixButton(LdtkJson data)
using (new EditorGUILayout.HorizontalScope())
{
EditorGUIUtility.SetIconSize(Vector2.one * 32);
EditorGUILayout.HelpBox($"This project needs a command that runs this after saving:\n{RelPath}\nReason: {reason}", MessageType.Error);
EditorGUILayout.HelpBox($"This project needs a command that should run this after saving:\n{RelPath}\nReason: {reason}", MessageType.Error);

using (new EditorGUILayout.VerticalScope(GUILayout.Width(50)))
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ public static void UnzipToLibrary()
Debug.Assert(Directory.Exists(destDir), "Directory.Exists(destDir)");

ZipUtil.Extract(pathToZip, destDir);
Debug.Log($"Extracted the tileset export app to \"{destDir}\"");
LDtkDebug.Log($"Extracted the tileset export app to \"{destDir}\"");
}

/*//[MenuItem("UnzipToProject/AppVersion")]
Expand Down
2 changes: 1 addition & 1 deletion Assets/Tools/ReserializeAssets.cs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ namespace LDtkUnity.Editor
internal static class ReserializeAssets
{
[MenuItem("LDtkUnity/Reserialize Assets", false, 10)]
private static void UpdateSamples()
private static void ForceReserializeAssets()
{
AssetDatabase.ForceReserializeAssets();
}
Expand Down

0 comments on commit a70febb

Please sign in to comment.