Firstborn/Library/PackageCache/com.unity.shadergraph@12.1.8/Editor/Generation/Data/ConditionalField.cs

16 lines
356 B
C#
Raw Normal View History

2023-03-28 13:24:16 -04:00
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;
}
}
}