Преглед на файлове

Fix spelling in C# code sample in the Input examples tutorial (#3735)

`(Keylist)keyEvent.Scancode` -> `(KeyList)...`

Project does not compile otherwise.
baldanders-skulltuna преди 5 години
родител
ревизия
a1312d6f90
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1 1
      tutorials/inputs/input_examples.rst

+ 1 - 1
tutorials/inputs/input_examples.rst

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