Day 25. VR菜单3

连假就让我轻松点吧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/


<<:  [C 语言笔记--Day29] 6.S081 Lab syscall: Sysinfo ( III )

>>:  视觉化KBARS(3)-service、serviceImpl

Unity与Photon的新手相遇旅途 | Day20-Photon连线基本设定

今天的内容是透过Photon官网的说明文件来讲解如何去连线到服务器以及简易的加入房间。 ...

如何制作一个精美的网站

什麽是好的网站设计? 使用者使用网站时是否容易操作及有良好的动线,避免过多不必要的元素,让使用者快速...

Day 28 维护 PostgreSQL 资料库的参数?

昨天笔者有提到, 资料库的运作效率着实让笔者伤透脑筋, 然而资料库的参数是可以调整的 笔者搜寻一大堆...

Day -6 条件式

python 条件式 if,注意 python run code 是 依据 code 排版 ,前後顺...

[Day - 19] - Spring 例外处理之优雅化客制化错误讯息原理与设计

Abstract 相信许多人都有遇过例外处理的事件,但又不想要让内部核心的错误资讯呈现在前端上,仅记...