Versions with this page:
Versions without this page:
The type of event.
See Also: EventType, GUI Scripting Guide.
using UnityEngine;public class Example : MonoBehaviour { // Prints the current event detected. void OnGUI() { Debug.Log("Current event detected: " + Event.current.type); } }