diff options
author | Pieter-Jan Briers <pieterjan.briers@gmail.com> | 2018-02-16 13:44:48 +0100 |
---|---|---|
committer | Pieter-Jan Briers <pieterjan.briers@gmail.com> | 2018-02-16 14:09:20 +0100 |
commit | b1a81374d4e2ac6150a95c3ce9af8d46720b717e (patch) | |
tree | 2cd9ea31bbaf498321000b32c519cc80281f047e | |
parent | 9f590b460ee8f6e0026b14fbc336b7b7ad977ee0 (diff) |
Makes NodePath and RID follow PascalCase in C#.
Fixes #15685
-rw-r--r-- | modules/mono/editor/bindings_generator.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/mono/editor/bindings_generator.cpp b/modules/mono/editor/bindings_generator.cpp index 62c7a94755..f534706264 100644 --- a/modules/mono/editor/bindings_generator.cpp +++ b/modules/mono/editor/bindings_generator.cpp @@ -2365,7 +2365,7 @@ void BindingsGenerator::_populate_builtin_type(TypeInterface &r_itype, Variant:: imethod.name = mi.name; imethod.cname = imethod.name; - imethod.proxy_name = mi.name; + imethod.proxy_name = escape_csharp_keyword(snake_to_pascal_case(mi.name)); for (int i = 0; i < mi.arguments.size(); i++) { ArgumentInterface iarg; |