瀏覽代碼

Merge pull request #16746 from PJB3005/18-02-16-fix-nodepath-pascalcase

Makes NodePath and RID follow PascalCase in C#.
Ignacio Etcheverry 7 年之前
父節點
當前提交
e380a98109
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      modules/mono/editor/bindings_generator.cpp

+ 1 - 1
modules/mono/editor/bindings_generator.cpp

@@ -2366,7 +2366,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;