UnityGame/Library/PackageCache/com.unity.shadergraph/Editor/Generation/Data/ConditionalField.cs

16 lines
356 B
C#
Raw Normal View History

2024-10-27 10:53:47 +03: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;
}
}
}