Skip to content

Commit 965c6bb

Browse files
authored
Update CSharpResourceRegistryPlugin.cs
1 parent b36bf7c commit 965c6bb

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

addons/FracturalCommons/SubPlugins/CSharpResourceRegistryPlugin.cs

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,13 @@
33
using System;
44
using System.Collections.Generic;
55
using GDC = Godot.Collections;
6+
#if TOOLS
67
using static Godot.EditorPlugin;
8+
#endif
79
using System.Linq;
810
using Fractural.Utils;
911
using System.Reflection;
1012

11-
#if TOOLS
1213
namespace Fractural.Commons
1314
{
1415
[AttributeUsage(System.AttributeTargets.Class)]
@@ -26,6 +27,7 @@ public RegisteredTypeAttribute(string name, string iconPath = "", string baseTyp
2627
}
2728
}
2829

30+
#if TOOLS
2931
public class CSharpResourceRegistryPlugin : SubPlugin
3032
{
3133
public static class Settings
@@ -250,5 +252,5 @@ private void OnRefreshPressed()
250252
RefreshCustomClasses();
251253
}
252254
}
255+
#endif
253256
}
254-
#endif

0 commit comments

Comments
 (0)