連假就讓我輕鬆點吧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了。
- 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/