文档

Unity Engine

Unity Engine

current

The current event that's being processed right now.
阅读时间1 分钟最后更新于 1 天前

Definition

public static Event current { get; set; }

Examples

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