이 페이지가 있는 버전:
이 페이지가 없는 버전:
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."); } } }