Godot.Sharp.Extended/Core/Attributes/ResourcePathAttribute.cs

11 lines
363 B
C#
Raw Normal View History

namespace Godot.Sharp.Extended.Attributes;
[System.AttributeUsage(System.AttributeTargets.Property | System.AttributeTargets.Field)]
public class ResourcePathAttribute : System.Attribute
{
public string Path { get; private set; }
public ResourcePathAttribute(string path) {
Path = path;
}
}