SupaLidlGame/addons/MonoCustomResourceRegistry/RegisteredTypeAttribute.cs

20 lines
440 B
C#
Raw Permalink Normal View History

2023-03-26 21:11:38 -07:00
using Godot;
using System;
namespace MonoCustomResourceRegistry
{
[AttributeUsage(System.AttributeTargets.Class)]
public partial class RegisteredTypeAttribute : System.Attribute
{
public string name;
public string iconPath;
public string baseType;
public RegisteredTypeAttribute(string name, string iconPath = "", string baseType = "")
{
this.name = name;
this.iconPath = iconPath;
this.baseType = baseType;
}
}
}