godot/modules/mono/glue/cs_files/ExportAttribute.cs

20 lines
438 B
C#
Raw Normal View History

2017-10-02 21:24:00 +00:00
using System;
namespace Godot
{
[AttributeUsage(AttributeTargets.Field | AttributeTargets.Property)]
public class ExportAttribute : Attribute
{
private int hint;
private string hint_string;
private int usage;
public ExportAttribute(int hint = GD.PROPERTY_HINT_NONE, string hint_string = "", int usage = GD.PROPERTY_USAGE_DEFAULT)
{
this.hint = hint;
this.hint_string = hint_string;
this.usage = usage;
}
}
}