From a1312d6f90f31ff2330c235c2d5d0682ebd74893 Mon Sep 17 00:00:00 2001 From: baldanders-skulltuna <67485272+baldanders-skulltuna@users.noreply.github.com> Date: Sat, 27 Jun 2020 08:30:19 -0400 Subject: [PATCH] Fix spelling in C# code sample in the Input examples tutorial (#3735) `(Keylist)keyEvent.Scancode` -> `(KeyList)...` Project does not compile otherwise. --- tutorials/inputs/input_examples.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tutorials/inputs/input_examples.rst b/tutorials/inputs/input_examples.rst index b2c981df1..34437ce43 100644 --- a/tutorials/inputs/input_examples.rst +++ b/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"); }