用户工具

站点工具


侧边栏



Unity3D中文文档

script:unityengine:classes:guiskin:guiskin

GUISkin 界面皮肤

class in UnityEngine/Inherits from: ScriptableObject

Description 描述

Defines how GUI looks and behaves.

定义的GUI的外观和行为。

GUISkin contains GUI settings and a collection of GUIStyle objects that together specify GUI skin.

GUISkin包括GUI设置和一起指定GUISkin物体的GUIStyle集合。

Active GUI skin is get and set through GUI.skin.

激活GUISkin通过获取和设置GUI.skin。

Variables 变量

boxStyle used by default for GUI.Box controls.
用于 GUI.Box控件的默认样式。
buttonStyle used by default for GUI.Button controls.
用于GUI.Button控件的默认样式。
customStylesArray of GUI styles for specific needs.
用于特别需要GUI样式的数组。
fontThe default font to use for all styles.
用于所有样式的默认字体。
horizontalScrollbarStyle used by default for the background part of GUI.HorizontalScrollbar controls.
用于GUI.HorizontalScrollbar控件背景部分的默认样式。
horizontalScrollbarLeftButtonStyle used by default for the left button on GUI.HorizontalScrollbar controls.
用于GUI.HorizontalScrollbar控件左按钮的默认样式。
horizontalScrollbarRightButtonStyle used by default for the right button on GUI.HorizontalScrollbar controls.
用于GUI.HorizontalScrollbar控件右按钮的默认样式。
horizontalScrollbarThumbStyle used by default for the thumb that is dragged in GUI.HorizontalScrollbar controls.
用于GUI.HorizontalScrollbar控件可拖动的滑块的默认样式。
horizontalSliderStyle used by default for the background part of GUI.HorizontalSlider controls.
用于GUI.HorizontalSlider控件背景部分的默认样式。
horizontalSliderThumbStyle used by default for the thumb that is dragged in GUI.HorizontalSlider controls.
用于GUI.HorizontalSlider控件可拖动的滑块的默认样式。
labelStyle used by default for GUI.Label controls.
用于默认GUI.Label控件的样式。
scrollViewStyle used by default for the background of ScrollView controls (see GUI.BeginScrollView).
用于ScrollView控件背景的默认样式。(参见GUI.BeginScrollView)
settingsGeneric settings for how controls should behave with this skin.
这个皮肤有关控件行为的一般设置。
textAreaStyle used by default for GUI.TextArea controls.
用于GUI.TextArea控件的默认样式。
textFieldStyle used by default for GUI.TextField controls.
用于GUI.TextField控件的默认样式。
toggleStyle used by default for GUI.Toggle controls.
用于GUI.Toggle控件的默认样式。
verticalScrollbarStyle used by default for the background part of GUI.VerticalScrollbar controls.
用于GUI.VerticalScrollbar控件背景部分的默认样式。
verticalScrollbarDownButtonStyle used by default for the down button on GUI.VerticalScrollbar controls.
用于GUI.VerticalScrollbar控件下按钮的默认样式。
verticalScrollbarThumbStyle used by default for the thumb that is dragged in GUI.VerticalScrollbar controls.
用于GUI.VerticalScrollbar控件可拖动的滑块的默认样式。
verticalScrollbarUpButtonStyle used by default for the up button on GUI.VerticalScrollbar controls.
用于GUI.VerticalScrollbar控件上按钮的默认样式。
verticalSliderStyle used by default for the background part of GUI.VerticalSlider controls.
用于GUI.VerticalSlider控件背景部分的默认样式。
verticalSliderThumbStyle used by default for the thumb that is dragged in GUI.VerticalSlider controls.
用于GUI.VerticalSlider控件可拖动的滑块的默认样式。
windowStyle used by default for Window controls (SA GUI.Window).
用于Window控件的默认样式。(参考GUI.Window)

Public Functions 公共函数

FindStyleTry to search for a GUIStyle. This functions returns NULL and does not give an error.
试图搜索一个GUIStyle。这个函数返回NULL,不给错误信息。
script/unityengine/classes/guiskin/guiskin.txt · 最后更改: 2016/08/02 05:32 (外部编辑)