Files
LowPolyBattleSim/Library/PackageCache/com.unity.shadergraph@608f316e1f48/Editor/Data/Util/TextUtil.cs
Caleb Sandford deQuincey ecdd3e2a9e intial commit
2025-06-27 23:27:49 +01:00

13 lines
280 B
C#

using System.Text.RegularExpressions;
namespace UnityEditor.ShaderGraph
{
public static class TextUtil
{
public static string PascalToLabel(this string pascalString)
{
return Regex.Replace(pascalString, "(\\B[A-Z])", " $1");
}
}
}