Skip to content

Instantly share code, notes, and snippets.

@takoyakiroom
Created September 12, 2020 14:40
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save takoyakiroom/5bee3f8b56243ffee67c6495cebcc1fa to your computer and use it in GitHub Desktop.
Save takoyakiroom/5bee3f8b56243ffee67c6495cebcc1fa to your computer and use it in GitHub Desktop.
Walkable
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