草庐IT

【Unity3D自学记录】开发PicoVR之获取手柄的方法

获取手柄有两种方法,一种是XR的方法,一种是PicoSDK中的方法。第一种,XR方法usingSystem.Collections;usingSystem.Collections.Generic;usingUnityEngine;usingUnityEngine.XR;publicclassPicoVRCS:MonoBehaviour{ListfoundControllers=newList();//StartiscalledbeforethefirstframeupdatevoidStart(){InputDeviceCharacteristicsleftTrackedControllerF