Merge pull request #46968 from sboronczyk/fix-editor-plugin-mono
Fix create c# script from editor after partial class type is necessary
This commit is contained in:
commit
1066dbcecc
1 changed files with 1 additions and 1 deletions
|
@ -328,7 +328,7 @@ Ref<Script> CSharpLanguage::get_template(const String &p_class_name, const Strin
|
|||
String script_template = "using " BINDINGS_NAMESPACE ";\n"
|
||||
"using System;\n"
|
||||
"\n"
|
||||
"public class %CLASS% : %BASE%\n"
|
||||
"public partial class %CLASS% : %BASE%\n"
|
||||
"{\n"
|
||||
" // Declare member variables here. Examples:\n"
|
||||
" // private int a = 2;\n"
|
||||
|
|
Loading…
Reference in a new issue