InputDeviceKSPart.cs 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  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.KS {
  8. public class InputDeviceKSPart : InputDeviceGCPart {
  9. public InputDeviceKS inputDeviceKS {
  10. get { return Transition<InputDeviceKS>(inputDeviceBase); }
  11. }
  12. public InputDeviceKSPartUI inputDeviceKSPartUI {
  13. get { return Transition<InputDeviceKSPartUI>(inputDevicePartUIBase); }
  14. }
  15. public KSDetector bT3DofDetector {
  16. get { return Transition<KSDetector>(detectorBase); }
  17. }
  18. public InputDataKS inputDataKS {get; set;}
  19. public InputDataGetKS inputDataGetKS { get; set; }
  20. public InputDeviceKSPartStatus inputDevicePartStatusKS { get; set; }
  21. public InputDevicePartDispatchEventKS inputDevicePartDispatchEventKS { get; set; }
  22. protected override void ModuleCreater() {
  23. inputDataBase = inputDataGC = inputDataKS = new InputDataKS(this);
  24. inputDataGetBase = inputDataGetGC = inputDataGetKS = new InputDataGetKS(this);
  25. inputDevicePartStatusBase = inputDevicePartStatusGC = inputDevicePartStatusKS = new InputDeviceKSPartStatus(this);
  26. inputDevicePartDispatchEventBase = inputDevicePartDispatchEventGC = inputDevicePartDispatchEventKS = new InputDevicePartDispatchEventKS(this);
  27. }
  28. }
  29. }