GizmoType 辅助线框类型
Enumeration
Determines how a gizmo is drawn or picked in the Unity editor.
确定在编辑器gizmo如果绘制或点选。
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"引用。
The types can be combined together with an OR operator. See Also: DrawGizmo.
类型可以结合一起操作。
Values值
-
Draw the gizmo if it is active (shown in the inspector).
如果激活,则绘制gizmo(显示在检视面板)。 -
Draw the gizmo if it is selected or a child of the selection.
如果被选择或选择的子物体时,绘制gizmo。 -
Draw the gizmo if it is not selected at all.
如果全没选择,绘制gizmo。 -
Draw the gizmo if it is selected. // 如果选择,绘制gizmo。
-
The gizmo can be picked in the editor.
在编辑器中gizmo可以被点选。
最后修改:2011年7月18日 Monday 18:30