Files
Cielonos/Assets/OtherPlugins/GraphicsCat/Modules/Common/PropertyAttributes/EnableIfAttribute.cs

20 lines
551 B
C#
Raw Normal View History

2025-12-17 04:19:38 -05:00
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;
}
}
}