added forge addon
All checks were successful
Create tag and build when new code gets to main / BumpTag (push) Successful in 21s
Create tag and build when new code gets to main / Test (push) Successful in 6m56s
Create tag and build when new code gets to main / Export (push) Successful in 9m3s

This commit is contained in:
2026-02-08 15:16:01 +01:00
parent 2b74c9e70c
commit c4be97e0de
163 changed files with 6975 additions and 141 deletions

View File

@@ -0,0 +1,43 @@
// Copyright © Gamesmiths Guild.
#if TOOLS
using Gamesmiths.Forge.Godot.Nodes;
using Godot;
namespace Gamesmiths.Forge.Godot.Editor.Attributes;
[Tool]
public partial class AttributeSetInspectorPlugin : EditorInspectorPlugin
{
private PackedScene? _inspectorScene;
public override bool _CanHandle(GodotObject @object)
{
return @object is ForgeAttributeSet;
}
public override bool _ParseProperty(
GodotObject @object,
Variant.Type type,
string name,
PropertyHint hintType,
string hintString,
PropertyUsageFlags usageFlags,
bool wide)
{
if (name == "AttributeSetClass")
{
AddPropertyEditor(name, new AttributeSetClassEditorProperty());
return true;
}
if (name == "InitialAttributeValues")
{
AddPropertyEditor(name, new AttributeSetValuesEditorProperty());
return true;
}
return false;
}
}
#endif