Event 事件

A UnityGUI event.

一个UnityGUI事件。

Events correspond to user input (key presses, mouse actions), or are UnityGUI layout or rendering events.

对应于用户输入事件(按键,鼠标行为),或是UnityGUI布局,或渲染事件。

For each event OnGUI is called in the scripts; so OnGUI is potentially called multiple times per frame. Event.current corresponds to "current" event inside OnGUI call.

对于每个事件OnGUI在脚本中被调用;因此OnGUI每帧潜在被调用多次。Event.current对应于在OnGUI里调用当前事件。

参见:EventType

Variables变量

Functions函数

Class Variables类变量

Class Functions类函数

Page last updated: 2010-12-31