講解期末作品細節
1如何企劃期中作品企劃&準備期末作品實作
2期末作品展示,評分
3看去年的VR battle作品影片
4介紹作品如何逐步做出來
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using Value.VR;
public class ViveInput : MonoBehaviour {
public Steam_Action_Boolean triggerDown;
public Steam_Action_Vibration hapticAction;
public Steam_Action_Single squeezeAction;
public Steam_Action_Vector2 touchpadTouch;
void Update(){
if (triggerDown.GetState(SteamVR_Input_Sources.Any))
{
hapticAction.Execute(0, 1, 150, 75, SteamVR_Input_Sources.LeftHand);
print("triggerDown");
}
float triggerValue = squeezeAction.GetAxis (SteamVR_Input_Sources.Any);
Vector2 padPods = touchpadTouch.GetAxis (SteamVR_Input_Sources.Any);
if (triggerValue > 0.0f)
{
print("");
}
沒有留言:
張貼留言