소스 검색

Fixed a typo in a code example

I added a semi-colon to an example, without it the code would crash. Probably a typo.
Bas Cornelissen 6 년 전
부모
커밋
292ff6051b
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      getting_started/step_by_step/scripting.rst

+ 1 - 1
getting_started/step_by_step/scripting.rst

@@ -238,7 +238,7 @@ the following underneath the ``_ready()`` function:
 
     public override void _Ready()
     {
-        GetNode("Button")
+        GetNode("Button");
     }
 
 Next, write a function which will be called when the button is pressed: