WuhuIslandTesting/Library/PackageCache/com.unity.shadergraph@8148.12.1-8/Editor/Generation/Data/ConditionalField.cs
2025-01-07 02:06:59 +01:00

15 lines
356 B
C#

namespace UnityEditor.ShaderGraph
{
[GenerationAPI]
internal struct ConditionalField
{
public FieldDescriptor field { get; }
public bool condition { get; }
public ConditionalField(FieldDescriptor field, bool condition)
{
this.field = field;
this.condition = condition;
}
}
}