using UnityEngine; using UnityEngine.EventSystems; namespace Rokid.UXR.Interaction { /// /// Gesture ray enters,grip gesture type triggers /// public interface IGesGripPointerEnter { void OnGesGripPointerEnter(); } /// /// Gesture ray exits,grip gesture type triggers /// public interface IGesGripPointerExit { void OnGesGripPointerExit(); } /// /// Gesture Ray drag starts,grip gesture type triggers /// public interface IGesGripBeginDrag { void OnGesGripBeginDrag(PointerEventData eventData); } /// /// Gesture ray drag ends,grip gesture type triggers /// public interface IGesGripEndDrag { void OnGesGripEndDrag(); } /// /// Gesture ray drag,grip gesture type triggers /// public interface IGesGripDrag { void OnGesGripDrag(Vector3 delta); } /// /// The gesture ray is hovering and the grip type is triggered /// public interface IGesGripPointerHover { void OnGesGripPointerHover(RaycastResult result); } /// /// Gesture ray click,grip gesture type trigger /// public interface IGesGripPointerClick { void OnGesGripPointerClick(); } }