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