Version: 2020.3
言語: 日本語
public EventType type ;

説明

イベントのタイプ

関連項目: 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); } }