InputDevicePartDispatchEventGC.cs 1.6 KB

123456789101112131415161718192021222324252627282930
  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 InputDeviceGCPartEventBattery inputDeviceGCPartEventBattery;
  14. public InputDeviceGCPartEventCharging inputDeviceGCPartEventCharging;
  15. public InputDeviceGCPartEventConnect inputDeviceGCPartEventConnect;
  16. public InputDevicePartDispatchEventGC(InputDeviceGCPart inputDeviceGCPart) : base(inputDeviceGCPart) {
  17. this.inputDeviceGCPart = inputDeviceGCPart;
  18. eventList.Add(inputDevicePartEventSliderLeftRight = new InputDeviceGCPartEventSliderLeftRight(this));
  19. eventList.Add(inputDevicePartEventSliderUpDown = new InputDeviceGCPartEventSliderUpDown(this));
  20. eventList.Add(inputDevicePartEventTouchTP = new InputDeviceGCPartEventTouchTP(this));
  21. eventList.Add(inputDeviceGCPartEventBattery = new InputDeviceGCPartEventBattery(this));
  22. eventList.Add(inputDeviceGCPartEventCharging = new InputDeviceGCPartEventCharging(this));
  23. eventList.Add(inputDeviceGCPartEventConnect = new InputDeviceGCPartEventConnect(this));
  24. }
  25. }
  26. }