Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
using UnityEngine;
using System.Collections;
using UnityEngine.VR.WSA.Input;
public class HoloLensGestures : MonoBehaviour {
UnityEngine.Events.UnityEvent ev;
void Start()
InteractionManager.SourcePressed += InteractionManager_SourcePressed;
// Air-Tap Pressed
void InteractionManager_SourcePressed(InteractionSourceState state)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment