用户工具

站点工具


侧边栏



Unity3D中文文档

script:unityengine:classes:guiutility:guiutility

GUIUtility 界面工具

class in UnityEngine

Description 描述

Utility class for making new GUI controls.

用户制作新GUI控件的工具类。

Unless you are creating your own GUI controls from scratch, you should not use these functions.

除非你是从头开始创建自己的GUI控件,否则你不需要使用这些功能。

Static Variables 静态变量

hasModalWindowA global property, which is true if a ModalWindow is being displayed, false otherwise.
全局属性,为true时, ModalWindow显示,否则为false。
hotControlThe controlID of the current hot control.
当前热点控件的controlID。
keyboardControlThe controlID of the control that has keyboard focus.
具有键盘焦点控件的controlID。
systemCopyBufferGet access to the system-wide pasteboard.
获得全系统粘贴板。

Static Functions 静态函数

GetControlIDGet a unique ID for a control.
为控件获取一个唯一ID。
GetStateObjectGet a state object from a controlID.
从一个controlID获取一个状态的物体。
GUIToScreenPointConvert a point from GUI position to screen space.
转换一个点从GUI位置到屏幕坐标空间。
QueryStateObjectGet an existing state object from a controlID.
从一个controlID获取一个存在的状态物体。
RotateAroundPivotHelper function to rotate the GUI around a point.
使GUI绕一个点旋转的辅助函数。
ScaleAroundPivotHelper function to scale the GUI around a point.
使GUI沿一个点缩放的辅助函数。
ScreenToGUIPointConvert a point from screen space to GUI position.
转换一个点从屏幕坐标空间位置到GUI位置。
script/unityengine/classes/guiutility/guiutility.txt · 最后更改: 2016/08/02 05:28 (外部编辑)