InputDeviceBT3DofPart.cs 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Text;
  5. using System.Threading.Tasks;
  6. namespace SC.XR.Unity.Module_InputSystem.InputDeviceGC.BT3Dof {
  7. public class InputDeviceBT3DofPart : InputDeviceGCPart {
  8. public InputDeviceBT3Dof inputDeviceBT3Dof {
  9. get { return Transition<InputDeviceBT3Dof>(inputDeviceBase); }
  10. }
  11. public InputDeviceBT3DofPartUI inputDeviceBT3DofPartUI {
  12. get { return Transition<InputDeviceBT3DofPartUI>(inputDevicePartUIBase); }
  13. }
  14. public BT3DofDetector bT3DofDetector {
  15. get { return Transition<BT3DofDetector>(detectorBase); }
  16. }
  17. public InputDataBT3Dof inputDataBT3Dof {get; set;}
  18. public InputDataGetBT3Dof inputDataGetBT3Dof { get; set; }
  19. public InputDeviceBT3DofPartStatus inputDevicePartStatusBT3Dof { get; set; }
  20. public InputDevicePartDispatchEventBT3Dof inputDevicePartDispatchEventBT3Dof { get; set; }
  21. protected override void ModuleCreater() {
  22. inputDataBase = inputDataGC = inputDataBT3Dof = new InputDataBT3Dof(this);
  23. inputDataGetBase = inputDataGetGC = inputDataGetBT3Dof = new InputDataGetBT3Dof(this);
  24. inputDevicePartStatusBase = inputDevicePartStatusGC = inputDevicePartStatusBT3Dof = new InputDeviceBT3DofPartStatus(this);
  25. inputDevicePartDispatchEventBase = inputDevicePartDispatchEventGC = inputDevicePartDispatchEventBT3Dof = new InputDevicePartDispatchEventBT3Dof(this);
  26. }
  27. }
  28. }