浏览代码

Merge branch 'sm-improvements' of https://github.com/DeivSky/open-project-1 into sm-improvements

/main
DeivSky 4 年前
当前提交
f383ac57
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 2
      UOP1_Project/Assets/Scripts/StateMachine/Editor/Templates/ScriptTemplates.cs

2
UOP1_Project/Assets/Scripts/StateMachine/Editor/Templates/ScriptTemplates.cs


for (int i = runtimeName.Length - 1; i > 0; i--)
if (char.IsUpper(runtimeName[i]) && char.IsLower(runtimeName[i - 1]))
runtimeName = runtimeName.Insert(i, " ");
text = text.Replace("#RUNTIMENAME_WITH_SPACES#", runtimeName);
string fullPath = Path.GetFullPath(pathName);

正在加载...
取消
保存