
I updated everything to the latest Unity Editor. Also realized I had the wrong shaders on my hairs, those are fixed and the hairs look MUCH better!
16 lines
356 B
C#
16 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;
|
|
}
|
|
}
|
|
}
|