Hololens 虚拟键盘

作者:追风剑情 发布于:2023-4-21 16:28 分类:Unity3d

一、调用系统键盘

预制件:MRTK/SDK/Experimental/MixedRealityKeyboard/Prefabs/MRKeyboardInputField_TMP.prefab
预制件:MRTK/SDK/Experimental/MixedRealityKeyboard/Prefabs/MRKeyboardInputField_UGUI.prefab

2222.png

手动调用系统键盘

TouchScreenKeyboard keyboard = TouchScreenKeyboard.Open("", TouchScreenKeyboardType.Default, false, false, false, false);

二、调用预制键盘

示例场景:MRTK/Examples/Experimental/NonNativeKeyboard/Scenes/NonNativeKeyboardExample.unity
预制件:MRTK/SDK/Experimental/NonNativeKeyboard/Prefabs/NonNativeKeyboard.prefab

3333.png

11111.png

标签: Unity3d

Powered by emlog  蜀ICP备18021003号-1   sitemap

川公网安备 51019002001593号