ExportAttribute.cs 362 B

123456789101112131415161718
  1. using System;
  2. namespace Godot
  3. {
  4. [AttributeUsage(AttributeTargets.Field | AttributeTargets.Property)]
  5. public class ExportAttribute : Attribute
  6. {
  7. private PropertyHint hint;
  8. private string hintString;
  9. public ExportAttribute(PropertyHint hint = PropertyHint.None, string hintString = "")
  10. {
  11. this.hint = hint;
  12. this.hintString = hintString;
  13. }
  14. }
  15. }