Version: 2017.3

GUIUtility

class in UnityEngine

매뉴얼로 전환

설명

Utility class for making new GUI controls.

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

정적 변수

hasModalWindowA global property, which is true if a ModalWindow is being displayed, false otherwise.
hotControlThe controlID of the current hot control.
keyboardControlThe controlID of the control that has keyboard focus.
systemCopyBufferGet access to the system-wide pasteboard.

정적 함수

GetControlIDGet a unique ID for a control.
GetStateObjectGet a state object from a controlID.
GUIToScreenPointConvert a point from GUI position to screen space.
QueryStateObjectGet an existing state object from a controlID.
RotateAroundPivotHelper function to rotate the GUI around a point.
ScaleAroundPivotHelper function to scale the GUI around a point.
ScreenToGUIPointConvert a point from screen space to GUI position.
Copyright © 2023 Unity Technologies
优美缔软件(上海)有限公司 版权所有
"Unity"、Unity 徽标及其他 Unity 商标是 Unity Technologies 或其附属机构在美国及其他地区的商标或注册商标。其他名称或品牌是其各自所有者的商标。
公安部备案号:
31010902002961