From 45389bfe3f7530bacc7ec32290bf157b7acfaac0 Mon Sep 17 00:00:00 2001 From: Ikiru Yoshizaki <3856350+guitarrapc@users.noreply.github.com> Date: Tue, 29 Sep 2026 18:01:58 +0900 Subject: [PATCH] chore: add "Build succeeded!" when export completed. --- .../Assets/Scripts/Editor/PackageExporter.cs | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/src/Ulid.Unity/Assets/Scripts/Editor/PackageExporter.cs b/src/Ulid.Unity/Assets/Scripts/Editor/PackageExporter.cs index cecb5ed..3df5757 100644 --- a/src/Ulid.Unity/Assets/Scripts/Editor/PackageExporter.cs +++ b/src/Ulid.Unity/Assets/Scripts/Editor/PackageExporter.cs @@ -1,4 +1,6 @@ -using System; +#if UNITY_EDITOR + +using System; using System.IO; using System.Linq; using UnityEditor; @@ -28,7 +30,7 @@ public static void Export() exportPath, ExportPackageOptions.Default); - UnityEngine.Debug.Log("Export complete: " + Path.GetFullPath(exportPath)); + UnityEngine.Debug.Log("Build succeeded! Export complete: " + Path.GetFullPath(exportPath)); } static string GetVersion(string root) @@ -66,4 +68,6 @@ public class Version { public string version; } -} \ No newline at end of file +} + +#endif