Content-Length: 18075 | pFad | https://docs.unity3d.com/ScriptReference/../Manual/../ScriptReference/Event-shift.html
Is Shift held down? (Read Only)
Returns true if any Shift key is held down.
using UnityEngine;
public class Example : MonoBehaviour { // Detects if the shift key was pressed void OnGUI() { Event e = Event.current; if (e.shift) { Debug.Log("Shift was pressed :O"); } } }
Fetched URL: https://docs.unity3d.com/ScriptReference/../Manual/../ScriptReference/Event-shift.html
Alternative Proxies: