Files
Hasebe/Library/PackageCache/com.unity.shadergraph@48089545eeac/Editor/Data/Util/TextUtil.cs
T
2026-09-25 00:42:08 +03: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");
}
}
}