如何让openxr(HoloLens2)的射线与unity自带的UI产生交互?
给UI所在的图层增加一个关键的模块:Tracked Device Graphic Raycaster函数模块具体操作方法为:首先在Hierarchy中选择UI所在的object。在右侧的inspect……
隐者艾伦的技术博客 Allen's technical blog
就是如图所示这个东西,左上角显示CPU:帧率,右上角显示GPU,下方可以显示使用内存、总计内存什么的,是进行HoloLens2和MRTK +UNITY开发的好帮手
从github上面下载MixedRealityToolkit-Unity-main案例库,然后试着通过unity打开,报错:
Assets\Data Binding Example\Scripts\DataSourceReflectionListTest.cs(63,17): error CS0246: The type or namespace name ‘DataSourceReflection’ could not be found (are you missing a using directive or an assembly reference?)
unity打开报错,包括不限于:Library\PackageCache\com.microsoft.mixedreality.toolkit.foundation@f2323a9b7aec\SDK\Experimental\NonNativeKeyboard\Scripts\CapsLockHighlight.cs(24,17): error CS0246: The type or namespace name ‘NonNativeKeyboard’ could not be found (are you missing a using directive or an assembly reference?)