BehaviorTree / Runtime / Attributes / DisplayNameAttribute.cs
DisplayNameAttribute.cs
Raw
using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;

namespace AI.BT
{
    [AttributeUsage(AttributeTargets.All, AllowMultiple = false, Inherited = false)]
    public class DisplayNameAttribute : Attribute
    {
       public string Name { get; private set; }

        public DisplayNameAttribute(string name)
        {
            Name = name;
        }
    }
}