GesPinchPointerEvent.cs 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. using System;
  2. using UnityEngine.EventSystems;
  3. namespace Rokid.UXR.Interaction
  4. {
  5. /// <summary>
  6. /// The gesture ray enters, and the pinch gesture type triggers
  7. /// </summary>
  8. [Obsolete("Please use IGesEnter instead")]
  9. public interface IGesPinchEnter
  10. {
  11. void OnGesPinchEnter();
  12. }
  13. /// <summary>
  14. /// The gesture ray exits and the pinch gesture type triggers
  15. /// </summary>
  16. [Obsolete("Please use IGesExit instead")]
  17. public interface IGesPinchExit
  18. {
  19. void OnGesPinchExit();
  20. }
  21. /// <summary>
  22. /// The gesture ray drag begins, and the pinch gesture type triggers
  23. /// </summary>
  24. [Obsolete("Please use IGesBeginDrag instead")]
  25. public interface IGesPinchBeginDrag
  26. {
  27. void OnGesPinchBeginDrag(PointerEventData eventData);
  28. }
  29. /// <summary>
  30. /// The gesture ray drag is over and the pinch gesture type is triggered
  31. /// </summary>
  32. [Obsolete("Please use IGesEneDrag instead")]
  33. public interface IGesPinchEndDrag
  34. {
  35. void OnGesPinchEndDrag(PointerEventData eventData);
  36. }
  37. /// <summary>
  38. /// During the gesture ray drag, the pinch gesture type is triggered
  39. /// </summary>
  40. [Obsolete("Please use IGesPinchDrag instead")]
  41. public interface IGesPinchDrag
  42. {
  43. void OnGesPinchDrag(PointerEventData eventData);
  44. }
  45. }