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