using System; using System.Collections; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using UnityEngine; using UnityEngine.InputSystem; namespace SC.XR.Unity.Module_InputSystem.InputDeviceGC.KS { public class InputDeviceKSPart : InputDeviceGCPart { public InputDeviceKS inputDeviceKS { get { return Transition(inputDeviceBase); } } public InputDeviceKSPartUI inputDeviceKSPartUI { get { return Transition(inputDevicePartUIBase); } } public KSDetector bT3DofDetector { get { return Transition(detectorBase); } } public InputDataKS inputDataKS {get; set;} public InputDataGetKS inputDataGetKS { get; set; } public InputDeviceKSPartStatus inputDevicePartStatusKS { get; set; } public InputDevicePartDispatchEventKS inputDevicePartDispatchEventKS { get; set; } protected override void ModuleCreater() { inputDataBase = inputDataGC = inputDataKS = new InputDataKS(this); inputDataGetBase = inputDataGetGC = inputDataGetKS = new InputDataGetKS(this); inputDevicePartStatusBase = inputDevicePartStatusGC = inputDevicePartStatusKS = new InputDeviceKSPartStatus(this); inputDevicePartDispatchEventBase = inputDevicePartDispatchEventGC = inputDevicePartDispatchEventKS = new InputDevicePartDispatchEventKS(this); } [SerializeField] public InputActionProperty m_PositionInput; [SerializeField] public InputActionProperty m_RotationInput; [SerializeField] public InputActionProperty triggerInput; } }