iT邦幫忙

2021 iThome 鐵人賽

DAY 25
0

連假就讓我輕鬆點吧XDD,雖然平常內容也沒有多到哪去哈哈。

 
 
 

If you are on 2020 or later, XR Settings is no longer in player. It is moved to XR Plug-in Management and uses the new XR SDK plug-in system.

我雖然下載了2019的Unity(LTS),是有看到openVR的package沒錯,但是Player那裡依舊沒有XR settings。所以後來我就改下載XR Plug-in那,而且他如果偵測到你有下載openVR,他會讓你把它remove掉。

2019(LTS)找得到Legacy Input Helper。

 
 
 
然後我更新了一下關於昨天的Bug,這下終於可以繼續給Button加Box Collider的component了。

 
 
 
 

  1. Left-click and drag the panel from your Hierarchy window into the slot on the LineRendererSettings script on your Capsule (Figure 21).

這句話我理解很久,他是要你把LineRendererSettings這個c#檔案,作為Capsule這個gameobject的componenet (不曉得他為什麼提到panel)

 
 
 
 

Click on Edit > Project Settings and select Input. Look for the Item named Submit. Click the arrow to the left of Submit

有兩個Submit@@

 
 
 

最後有個錯誤

UnassignedReferenceException: The variable panel of LineRendererSettings has not been assigned.
You probably need to assign the panel variable of the LineRendererSettings script in the inspector.
UnityEngine.GameObject.GetComponent[T] () (at /Users/bokken/buildslave/unity/build/Runtime/Export/Scripting/GameObject.bindings.cs:28)
LineRendererSettings.Start () (at Assets/LineRendererSettings.cs:30)

先不處理了。

更新: Bug解掉了,在第28天

參考:
https://forum.unity.com/threads/xr-settings-not-showing.948544/


上一篇
Day 24. VR菜單2
下一篇
Day 26.
系列文
從零開始了解Unity或Unreal Engine應用於VR軟體開發31
圖片
  直播研討會
圖片
{{ item.channelVendor }} {{ item.webinarstarted }} |
{{ formatDate(item.duration) }}
直播中

尚未有邦友留言

立即登入留言