
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!
14 lines
313 B
C#
14 lines
313 B
C#
using UnityEditor.UIElements;
|
|
using System.Globalization;
|
|
|
|
namespace UnityEditor.ShaderGraph.Drawing
|
|
{
|
|
class FloatField : DoubleField
|
|
{
|
|
protected override string ValueToString(double v)
|
|
{
|
|
return ((float)v).ToString(CultureInfo.InvariantCulture.NumberFormat);
|
|
}
|
|
}
|
|
}
|