UnitShortTitleAttribute.cs 365 B

123456789101112131415
  1. using System;
  2. namespace Unity.VisualScripting
  3. {
  4. [AttributeUsage(AttributeTargets.Class, AllowMultiple = false, Inherited = true)]
  5. public sealed class UnitShortTitleAttribute : Attribute
  6. {
  7. public UnitShortTitleAttribute(string title)
  8. {
  9. this.title = title;
  10. }
  11. public string title { get; private set; }
  12. }
  13. }