VR4Medical/ICI/Library/PackageCache/com.unity.shadergraph@e5d3455aa133/Editor/Data/Util/TextUtil.cs
2025-07-29 13:45:50 +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");
}
}
}