19 lines
438 B
C#
19 lines
438 B
C#
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;
|
|
}
|
|
}
|
|
}
|