手柄控制
千軍萬馬令諸矦
这个作者很懒,什么都没留下…
展开
-
VR开发中HTC的手柄控制按键设置(1)
SteamVR_TrackedObject trackedObjec;// Use this for initializationvoid Start () { //获取手柄输入 trackedObjec = GetComponent<SteamVR_TrackedObject>();}// Update is called once per framevoid Update原创 2017-05-02 17:08:24 · 3251 阅读 · 0 评论 -
VR开发中HTC的手柄上按键设置(2)
using System.Collections;using System.Collections.Generic;using UnityEngine;/// <summary>/// 定义一个手柄上按钮控制的类/// </summary>public class InputEvents : MonoBehaviour { SteamVR_TrackedController st原创 2017-05-02 17:39:23 · 1430 阅读 · 0 评论 -
VR开发中HTC手柄发射射线的控制
using System.Collections;using System.Collections.Generic;using UnityEngine;/// <summary>/// 手柄发射射线的控制/// </summary>public class LineEvents : MonoBehaviour { //new 一个对象 SteamVR_LaserPoint原创 2017-05-02 17:44:09 · 3693 阅读 · 1 评论