mirror of
https://github.com/godotengine/godot.git
synced 2025-12-08 06:09:55 +00:00
20 lines
438 B
C#
20 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;
|
|||
|
|
}
|
|||
|
|
}
|
|||
|
|
}
|