Created
September 12, 2020 14:40
-
-
Save takoyakiroom/5bee3f8b56243ffee67c6495cebcc1fa to your computer and use it in GitHub Desktop.
Walkable
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System.Collections; | |
using System.Collections.Generic; | |
using UnityEngine; | |
using Valve.VR; | |
public class Walkable : MonoBehaviour | |
{ | |
public SteamVR_Action_Vector2 walkAction; | |
void Start() | |
{ | |
} | |
void Update() | |
{ | |
Debug.Log(walkAction.axis); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment