소스 검색

Makes NodePath and RID follow PascalCase in C#.

Fixes #15685
Pieter-Jan Briers 7 년 전
부모
커밋
b1a81374d4
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      modules/mono/editor/bindings_generator.cpp

+ 1 - 1
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;