Experimental: this API is experimental and might be changed or removed in the future.

CursorStyle

struct in UnityEngine.Experimental.UIElements

Switch to Manual

Description

VisualElement 光标样式属性 IStyle.cursor 的脚本接口。

Variables

hotspot要用作目标点的从左上角开始的纹理偏移(必须在光标边界内)。
texture要用作光标样式的纹理。要将纹理用作光标,请在纹理导入器中使用“Read/Write enabled”(或使用“Cursor”默认值)导入纹理。