1.修改文件后缀为rscript2.NewSubScript现在专用于创建简单对象

This commit is contained in:
2025-11-11 16:19:14 +08:00
parent 832622b84c
commit 1811006eb1
3 changed files with 34 additions and 5 deletions

View File

@@ -84,7 +84,7 @@ namespace Demo.Game
var childName = type;
int childIndex = 1;
var childFullNameWithoutExtension = childName;
var extension = ".h";
var extension = ".rscript";
if (childDir.Exists())
{
childFullNameWithoutExtension = $"{childName}{(childIndex == 1 ? "" : childIndex.ToString())}";