HandleUtility.AddControl 添加控件

static function AddControl (controlId : int, distance : float) : void

Description描述

Record a distance measurement from a handle.

从一个控制柄,记录一个距离测量。

All handles call this with their controlID during layout, then use nearestControl to check if they got the mouseDown.

所有控制柄调用这个带有它们的controlID,如果获取鼠标按下,然后使用nearestControl检查。

Page last updated: 2011-7-10