2017-11-05 10:37:59 +00:00
|
|
|
using System;
|
2017-10-02 21:24:00 +00:00
|
|
|
|
|
|
|
namespace Godot
|
|
|
|
{
|
|
|
|
[AttributeUsage(AttributeTargets.Field | AttributeTargets.Property)]
|
|
|
|
public class ExportAttribute : Attribute
|
|
|
|
{
|
2017-12-24 02:17:48 +00:00
|
|
|
private PropertyHint hint;
|
|
|
|
private string hintString;
|
2017-10-02 21:24:00 +00:00
|
|
|
|
2017-12-24 02:17:48 +00:00
|
|
|
public ExportAttribute(PropertyHint hint = PropertyHint.None, string hintString = "")
|
2017-10-02 21:24:00 +00:00
|
|
|
{
|
|
|
|
this.hint = hint;
|
2017-12-24 02:17:48 +00:00
|
|
|
this.hintString = hintString;
|
2017-10-02 21:24:00 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|