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