InputDevicePartDispatchEventGC.cs 1.1 KB

123456789101112131415161718192021222324
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Text;
  5. using System.Threading.Tasks;
  6. using UnityEngine;
  7. namespace SC.XR.Unity.Module_InputSystem.InputDeviceGC {
  8. public abstract class InputDevicePartDispatchEventGC : InputDevicePartDispatchEventBase {
  9. public InputDeviceGCPart inputDeviceGCPart;
  10. public InputDeviceGCPartEventSliderLeftRight inputDevicePartEventSliderLeftRight;
  11. public InputDeviceGCPartEventSliderUpDown inputDevicePartEventSliderUpDown;
  12. public InputDeviceGCPartEventTouchTP inputDevicePartEventTouchTP;
  13. public InputDevicePartDispatchEventGC(InputDeviceGCPart inputDeviceGCPart) : base(inputDeviceGCPart) {
  14. this.inputDeviceGCPart = inputDeviceGCPart;
  15. eventList.Add(inputDevicePartEventSliderLeftRight = new InputDeviceGCPartEventSliderLeftRight(this));
  16. eventList.Add(inputDevicePartEventSliderUpDown = new InputDeviceGCPartEventSliderUpDown(this));
  17. eventList.Add(inputDevicePartEventTouchTP = new InputDeviceGCPartEventTouchTP(this));
  18. }
  19. }
  20. }