Added core functionality that was from the old Godot.Sharp.Extra library. Not all functions, only functions that were considered worth porting.
14 lines
No EOL
499 B
C#
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;
|
|
}
|
|
} |