private void HandControllerUpdateEvent(HandControllerManager.HandControllerState state, Vector3 pos1, Quaternion rot1, Vector3?pos2, Quaternion?rot2) { if (state == HandState && dragflag) { DragUpdateActionEvent.Invoke(pos1, pos2); } }
private void HandControllerEvent(HandControllerManager.HandControllerState state) { if (state == HandState && focusflag) { TapActionEvent.Invoke(); } }
private void HandControllerStartEvent(HandControllerManager.HandControllerState state, Vector3 pos1, Quaternion rot1, Vector3?pos2, Quaternion?rot2) { if (state == HandState && focusflag) { DragStartActionEvent.Invoke(pos1, pos2); dragflag = true; } }