Version: 2023.2
언어: 한국어
public EventType type ;

설명

The type of event.

Additional resources: 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); } }