static function AddCursorRect (position : Rect, mouse : MouseCursor) : void
Add a custom mouse pointer to a control
添加一个自定义鼠标指针到控件。
function OnGUI()
{
// show the "Link" cursor when the mouse is howering over this rectangle.
//当鼠标覆盖到这个矩形,显示Link光标
EditorGUIUtility.AddCursorRect (Rect(10,10,100,100), MouseCursor.Link);
}