public bool control ;

Descripción

Se mantiene oprimida la tecla Control? (Lectura solamente)

Devuelve true si se mantiene oprimida la tecla de Control.

using UnityEngine;

public class Example : MonoBehaviour { void OnGUI() { Event e = Event.current; if (e.control) { Debug.Log("Control was pressed."); } } }