This commit is contained in:
Chandler Cox
2023-08-22 21:34:36 -05:00
parent 72488c4250
commit 3295d58684
2 changed files with 2 additions and 2 deletions

View File

@@ -51,7 +51,7 @@ namespace FlaxEditor.Content
var copyrightComment = string.IsNullOrEmpty(gameSettings.CopyrightNotice) ? string.Empty : string.Format("// {0}{1}{1}", gameSettings.CopyrightNotice, Environment.NewLine);
scriptTemplate = scriptTemplate.Replace("%copyright%", copyrightComment);
scriptTemplate = scriptTemplate.Replace("%class%", scriptName);
scriptTemplate = scriptTemplate.Replace("%namespace%", $"{scriptNamespace};");
scriptTemplate = scriptTemplate.Replace("%namespace%", scriptNamespace);
// Save
File.WriteAllText(outputPath, scriptTemplate, Encoding.UTF8);