public static Event current ;

Description

将被立即处理的当前事件。

using UnityEngine;
using System.Collections;

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