示例#1
0
 Varjo_SteamVR_ControllerManager()
 {
     inputFocusAction               = Varjo_SteamVR_Events.InputFocusAction(OnInputFocus);
     deviceConnectedAction          = Varjo_SteamVR_Events.DeviceConnectedAction(OnDeviceConnected);
     trackedDeviceRoleChangedAction = Varjo_SteamVR_Events.SystemAction(EVREventType.VREvent_TrackedDeviceRoleChanged, OnTrackedDeviceRoleChanged);
 }
 Varjo_SteamVR_TrackedObject()
 {
     newPosesAction = Varjo_SteamVR_Events.NewPosesAction(OnNewPoses);
 }