进入RScript与this变量时期(未验证)

This commit is contained in:
2025-10-14 22:57:48 +08:00
parent c23cefd867
commit e693e8dac1
4 changed files with 210 additions and 350 deletions

View File

@@ -121,7 +121,7 @@ namespace Demo.Game
{
x = childFilePath[path2.Length..].TrimStart('\\', '/');
}
fs.Write($"\n{nameof(so.LoadSubScript)}({type}, \"{x}\");");
fs.Write($"\nthis.{nameof(so.LoadSubScript)}({type}, \"{x}\");");
// 新建时添加模板内容
using var childFileStream = File.AppendText(childFile);
{