• 大小: 5.69MB
    文件类型: .unitypack
    金币: 1
    下载: 0 次
    发布日期: 2023-09-16
  • 语言: 其他
  • 标签: UGUI  Custom  Pointer  

资源简介

自定义UI交互射线
The Custom Pointer asset allows one to turn any Transform or Leap Motion finger into a pointer that can interact with the UI. This works with 3D Transforms and Rect Transforms by using their screen position. Although you can make your custom pointer click by whatever means you like, hover-click is a built-in feature that shows a progress bar that indicates time-till-click, similar to those found in Kinect games, and the hover-drag feature works similarly.

In addition to allowing any Transform to become a pointer, this asset includes classes that work specifically with the Leap Motion, both Core Assets v2.3.1 which supports macOS, Linux, and Windows while the new Orion Beta v4.1.5 is Windows only but supports VR. Scenes using Unity's 4.6+ UI will allow a Leap Motion hand to click using hover click, screen tap, or key tap without any changes to the UI.

资源截图

代码片段和文件信息

评论

共有 条评论