This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
4rpl:commands:getkey [2021/04/23 22:59] – Edited for clarity durikkan | 4rpl:commands:getkey [2025/02/14 14:57] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 3: | Line 3: | ||
====== GetKey ====== | ====== GetKey ====== | ||
- | GetKey(< | + | GetKey(< |
===== Description ===== | ===== Description ===== | ||
Line 9: | Line 9: | ||
Note: This returns true for as long as the key is pressed. | Note: This returns true for as long as the key is pressed. | ||
The first argument is a string and specifies which key to check. | The first argument is a string and specifies which key to check. | ||
- | The second argument indicates whether to ignore the events when over the UI. | + | The second argument indicates whether to ignore the events when the cursor is over the UI. |
- | The list possible | + | The list of possible |
- | [[https:%%//%%docs.unity3d.com/ | + | [[https:// |
===== Examples ===== | ===== Examples ===== |