tool scripts are now editor-only
This commit is contained in:
parent
9f1bedcc69
commit
efa44f00af
3 changed files with 6 additions and 0 deletions
|
|
@ -1,5 +1,6 @@
|
|||
using Godot;
|
||||
|
||||
#if TOOLS
|
||||
[Tool]
|
||||
public partial class AdventureEditor : MarginContainer
|
||||
{
|
||||
|
|
@ -61,3 +62,4 @@ public partial class AdventureEditor : MarginContainer
|
|||
}
|
||||
|
||||
}
|
||||
#endif
|
||||
|
|
@ -2,6 +2,7 @@ using Godot;
|
|||
using System;
|
||||
using System.Globalization;
|
||||
|
||||
#if TOOLS
|
||||
[Tool]
|
||||
public partial class AdventureResourceInspector : Node
|
||||
{
|
||||
|
|
@ -157,3 +158,4 @@ public partial class AdventureResourceInspector : Node
|
|||
return item;
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
|
@ -1,5 +1,6 @@
|
|||
using Godot;
|
||||
|
||||
#if TOOLS
|
||||
[Tool]
|
||||
public partial class FileButton : MenuButton
|
||||
{
|
||||
|
|
@ -47,3 +48,4 @@ public partial class FileButton : MenuButton
|
|||
}
|
||||
|
||||
}
|
||||
#endif
|
||||
Loading…
Add table
Add a link
Reference in a new issue