소스 검색

Merge pull request #7308 from Yunusemre-Oeztuerk/patch-1

Max Hilbrunner 2 년 전
부모
커밋
9caad0c5e4
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      tutorials/scripting/gdextension/gdextension_cpp_example.rst

+ 1 - 1
tutorials/scripting/gdextension/gdextension_cpp_example.rst

@@ -455,7 +455,7 @@ show the methods we end up changing, don't remove the lines we're omitting:
         ClassDB::add_property("GDExample", PropertyInfo(Variant::FLOAT, "amplitude"), "set_amplitude", "get_amplitude");
     }
 
-    void GDExample::GDExample() {
+    GDExample::GDExample() {
         // Initialize any variables here.
         time_passed = 0.0;
         amplitude = 10.0;