diff options
| author | yum <yum.food.vr@gmail.com> | 2025-02-22 17:25:23 -0800 |
|---|---|---|
| committer | yum <yum.food.vr@gmail.com> | 2025-02-22 17:25:23 -0800 |
| commit | 3ec0f0c2d35f21d2f28d0a116e9e211789b13903 (patch) | |
| tree | 966d1fa7e1d4616d3b7a45dbfad93ffe0526b38f /Scripts | |
| parent | 72806ff9f71bd98973f51a4b67de00c056fe8d89 (diff) | |
add ssfd
Diffstat (limited to 'Scripts')
| -rw-r--r-- | Scripts/Editor/GenerateMetallicGlossMap.cs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Scripts/Editor/GenerateMetallicGlossMap.cs b/Scripts/Editor/GenerateMetallicGlossMap.cs index 78f54cf..b32c245 100644 --- a/Scripts/Editor/GenerateMetallicGlossMap.cs +++ b/Scripts/Editor/GenerateMetallicGlossMap.cs @@ -1,3 +1,5 @@ +#if UNITY_EDITOR
+
using UnityEngine;
using UnityEditor;
using System.IO;
@@ -92,3 +94,5 @@ public class GenerateMetallicGlossMap : EditorWindow Debug.Log("Generated metallic gloss map at: " + newPath);
}
}
+
+#endif // UNITY_EDITOR
|
