Event.shiftvar shift : booleanDescriptionIs Shift held down? (Read Only) Returns true if any Shift key is held down.
JavaScript
// Detects if the shift key was pressed using UnityEngine; import UnityEngine |
|
||||
| Scripting > Runtime Classes > Event | ||||
Event.shiftvar shift : booleanDescriptionIs Shift held down? (Read Only) Returns true if any Shift key is held down.
JavaScript
// Detects if the shift key was pressed using UnityEngine; import UnityEngine |