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