PointerEvent.cs 509 B

12345678910111213141516171819202122
  1. using System;
  2. using UnityEngine;
  3. namespace Rokid.UXR.Interaction
  4. {
  5. public struct PointerEvent : IEvent
  6. {
  7. public int Identifier { get; }
  8. public PointerEventType Type { get; }
  9. public Pose Pose { get; }
  10. public object Data { get; }
  11. public PointerEvent(int identifier, PointerEventType type, Pose pose, object data = null)
  12. {
  13. Identifier = identifier;
  14. Type = type;
  15. Pose = pose;
  16. Data = data;
  17. }
  18. }
  19. }