MouseCursor 鼠标光标
Enumeration
Custom mouse cursor shapes used with EditorGUIUtility.AddcursorRect.
自定义鼠标光标形状使用EditorGUIUtility.AddcursorRect。
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"引用。
Values值
-
Normal pointer arrow // 普通箭头指针。
-
Text cursor // 文本光标。
-
Vertical resize arrows // 调整垂直箭头。
-
Horizontal resize arrows // 调整水平箭头。
-
Arrow with a Link badge (for assigning pointers)
带有链接标记的箭头。 -
Arrow with small arrows for indicating sliding at number fields
带有小箭头的箭头,表示在数字字段滑动。 -
Resize up-right for window edges // 调整右上窗口边框。
-
Resize up-Left for window edges. // 调整左上窗口边框。
-
Arrow with the move symbol next to it for the sceneview
旁边带有移动图标的箭头,用于场景视图。 -
Arrow with the rotate symbol next to it for the sceneview
旁边带有旋转图标的箭头,用于场景视图。 -
Arrow with the scale symbol next to it for the sceneview
旁边带有缩放图标的箭头,用于场景视图。
最后修改:2011年7月19日 Tuesday 12:41