public EventType type ;

설명

The type of event.

using UnityEngine;

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