Files
Cielonos/Assets/OtherPlugins/GraphicsCat/Modules/Common/PropertyAttributes/EnableIfAttribute.cs
SoulliesOfficial d15957c719 更新
2025-12-17 04:19:38 -05:00

20 lines
551 B
C#

using UnityEngine;
using UnityEngine.Rendering;
namespace GraphicsCat
{
public class EnableIfAttribute : PropertyAttribute
{
public string PropertyName { get; private set; }
public CompareFunction Compare { get; private set; }
public object CompareValue { get; private set; }
public EnableIfAttribute(string propertyName, CompareFunction compare, object compareValue)
{
PropertyName = propertyName;
Compare = compare;
CompareValue = compareValue;
}
}
}