切換
舊版
前往
大廳
主題

(Unity) A Canvas named "Canvas" with a render mode of ScreenSpaceOverlay is being used ...解決

浪濤書記 | 2019-03-11 13:42:38 | 巴幣 0 | 人氣 997


●問題描述:
A Canvas named "Canvas" with a render mode of ScreenSpaceOverlay is being used while VR is also enabled.
This Canvas will continue to incur a rendering cost, but will not be visible while in VR.
Is this intentional?


●解決方式:
1. 新增一個 UI用的 Camera
2. 將 Canvas的 Render Mode
    由「ScreenSpace-Overlay」改成「ScreenSpace-Camera」
3. 把 UI用的 Camera 指定到 Canvas上面。
送禮物贊助創作者 !
0
留言

創作回應

更多創作