mirror of
https://github.com/godotengine/godot-docs.git
synced 2026-01-04 14:11:02 +03:00
Fix spelling in C# code sample in the Input examples tutorial (#3735)
`(Keylist)keyEvent.Scancode` -> `(KeyList)...` Project does not compile otherwise.
This commit is contained in:
committed by
GitHub
parent
c52533fc46
commit
a1312d6f90
@@ -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");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user