Files
BABA_YAGA/Assets/Scripts/Player/Generic/Attributes/vBarDisplayAttribute.cs
2026-06-04 10:42:23 +07:00

14 lines
507 B
C#

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;
}
}