ドキュメント

サポート

Unity Studio

Open Unity Studio

Unity Studio

Key Pressed node

Detects when the user presses a specific key or uses the mouse buttons.
読み終わるまでの所要時間 1 分最終更新 5ヶ月前

Add the Key Pressed node to an Event Listener node (like When or While) to detect when the user presses a key or mouse button.

Sockets

Socket

Description

Key
The specific key to detect (for example
Space
,
Enter
,
MouseButton0
).