Version: 5.6
public static Event current ;

설명

The current event that's being processed right now.

using UnityEngine;
using System.Collections;

public class ExampleClass : MonoBehaviour { void OnGUI() { Debug.Log("Current detected event: " + Event.current); } }