Godot.Sharp.Extended/Core/Attributes/NodeBindPropAttribute.cs
Mario Steele b4a2ce40c1 Added Core Functionality
Added core functionality that was from the old Godot.Sharp.Extra library.  Not all functions, only functions that were considered worth porting.
2025-09-26 20:12:37 -05:00

14 lines
No EOL
499 B
C#

namespace Godot.Sharp.Extended.Attributes;
[System.AttributeUsage(System.AttributeTargets.Field)]
public class NodePropBindAttribute : System.Attribute
{
public string TargetNodeName { get; private set; }
public string GodotPropertyName { get; private set; }
public NodePropBindAttribute(string targetNodeName, string godotPropertyName)
{
TargetNodeName = targetNodeName;
GodotPropertyName = godotPropertyName;
}
}