Files
beyond/Assets/ThirdParty/Invector-3rdPersonController/Basic Locomotion/Scripts/Generic/Attributes/vBarDisplayAttribute.cs
2024-11-20 15:21:28 +01:00

15 lines
562 B
C#

using System.Collections;
using System.Collections.Generic;
using UnityEngine;
[System.AttributeUsage(System.AttributeTargets.Field|System.AttributeTargets.Property,AllowMultiple = true,Inherited =true)]
public class vBarDisplayAttribute :PropertyAttribute
{
public readonly string maxValueProperty;
public readonly bool showJuntInPlayMode;
public vBarDisplayAttribute(string maxValueProperty,bool showJuntInPlayMode = false)
{
this.maxValueProperty = maxValueProperty;
this.showJuntInPlayMode = showJuntInPlayMode;
}
}