进入RScript与this变量时期(未验证)
This commit is contained in:
@@ -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);
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user