EditorStyles 编辑样式

Common GUIStyles used for EditorGUI controls. These are set up by calling EditorGUIUtility.LookLikeInspector and EditorGUIUtility.LookLikeControls.

常用GUIStyles使用于EditorGUI空间。这些设置通过调用EditorGUIUtility.LookLikeInspectorEditorGUIUtility.LookLikeControls

Note: This is an editor class. To use it you have to place your script in Assets/Editor inside your project folder. Editor classes are in the UnityEditor namespace so for C# scripts you need to add "using UnityEditor;" at the beginning of the script.
注意:这是一个编辑器类,如果想使用它你需要把它放到工程目录下的Assets/Editor文件夹下。编辑器类在UnityEditor命名空间下。所以当使用C#脚本时,你需要在脚本前面加上 "using UnityEditor"引用。

Use these styles to make GUI that looks native to Unity

使用这些样式来制作GUI。

Class Variables类变量

Page last updated: 2011-7-12