소스 검색

Merge pull request #4566 from NathanLovato/fix/input-example-typo

Fix typo in input_examples.rst
Nathan Lovato 4 년 전
부모
커밋
81e24ef93b
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      tutorials/inputs/input_examples.rst

+ 1 - 1
tutorials/inputs/input_examples.rst

@@ -203,7 +203,7 @@ the :kbd:`T`:
     {
         if (inputEvent is InputEventKey keyEvent && keyEvent.Pressed)
         {
-            if ((Keylist)keyEvent.Keycode == KeyList.T)
+            if ((KeyList)keyEvent.Keycode == KeyList.T)
             {
                 GD.Print("T was pressed");
             }