Event.current 当前事件
static var current : Event
Description描述
The current event that's being processed right now.
现在正在处理的当前事件。
using UnityEngine;
using System.Collections;
public class example : MonoBehaviour {
void OnGUI() {
Debug.Log("Current detected event: " + Event.current);
}
}
function OnGUI() {
Debug.Log("Current detected event: " + Event.current);
}
最后修改:2010年12月31日 Friday 22:49