/// <summary>
/// 动态设置场景鼠标状态
/// </summary>
/// <param name="texture">贴图</param>
/// <param name="hotspot">位置</param>
/// <param name="cursorMode">模式</param>
public static void SetSceneCursor(Texture2D texture, Vector2 hotspot, CursorMode cursorMode)
{
Cursor.SetCursor(texture, hotspot, cursorMode);
}
unity-动态设置场景鼠标状态
最新推荐文章于 2024-11-02 14:12:37 发布