unity3d+vive+vrtk:手柄碰撞到ui触发响应

xiaoxiao2021-02-28  37

在canvas下挂脚本

[Tooltip("Determines if a UI Click action should happen when a UI Pointer game object collides with this canvas.")] public bool clickOnPointerCollision = false; [Tooltip("Determines if a UI Pointer will be auto activated if a UI Pointer game object comes within the given distance of this canvas. If a value of `0` is given then no auto activation will occur.")] public float autoActivateWithinDistance = 0f;
转载请注明原文地址: https://www.6miu.com/read-2622868.html

最新回复(0)