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:
Rémi Verschelde 2021-03-14 00:27:34 +01:00 committed by GitHub
commit 1066dbcecc
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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"