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;
|
|
|
|
|
|
2017-10-17 12:02:19 +00:00
|
|
|
|
public ExportAttribute(int hint = GD.PROPERTY_HINT_NONE, string hint_string = "")
|
2017-10-02 21:24:00 +00:00
|
|
|
|
{
|
|
|
|
|
this.hint = hint;
|
|
|
|
|
this.hint_string = hint_string;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|