type
The type of event.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前
Definition
- Type: Property
- Namespace: UnityEngine
- Assembly: UnityEngine.IMGUIModule
public EventType type { get; set; }
Remarks
Additional Resources: EventType, GUI Scripting Guide.
Examples
using UnityEngine;public class Example : MonoBehaviour{ // Prints the current event detected. void OnGUI() { Debug.Log("Current event detected: " + Event.current.type); }}