Files
AR-Menu/Library/PackageCache/com.unity.shadergraph@0e6324a629e1/Editor/Data/Util/TextUtil.cs
2025-11-30 08:35:03 +02: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");
}
}
}