public override void DeactivateModule() { base.DeactivateModule(); if (pointerData != null) { //HandlePendingClick(); HandlePointerExitAndEnter(pointerData, null); pointerData = null; } eventSystem.SetSelectedGameObject(null, GetBaseEventData()); SteamVR_Utils.Event.Remove("device_connected", OnDeviceConnected); }
public void OnGripPress(VCPointerEventData eventData) { Debug.Log("OnGripPress, controller: " + eventData.controllerid); }