Version: 2017.1
public EventType type ;

説明

イベントのタイプ

関連項目: EventType, GUI Scripting Guide.

using UnityEngine;
using System.Collections;

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