Singularity/Library/PackageCache/com.unity.shadergraph@12.1.11/Editor/Drawing/Views/FloatField.cs
2024-05-06 11:45:45 -07:00

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);
}
}
}