Unity UI on hololens
Posted 银狐U3D游戏开发
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了Unity UI on hololens相关的知识,希望对你有一定的参考价值。
http://heliosinteractive.com/scaling-ui-hololens/
https://forum.unity3d.com/threads/unity-ui-on-the-hololens.394629/
1.Create a World Space Canvas attached to the Camera (or using a Tagalong, etc)
2.Set its width to 126.8 and its height to 72 (mirroring the 1268×720 resolution)
3.Set the Dynamic Pixels Per Unit to 10 on the Canvas Scaler
4.Magic Time: to make the canvas the full size of the viewable area, set its scale to its z-distance from the camera * 0.00415f.
以上是关于Unity UI on hololens的主要内容,如果未能解决你的问题,请参考以下文章
Unity 查看Unity所有的默认UI效果 GUIStyle