using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using UnityEngine; namespace SC.XR.Unity.Module_InputSystem.InputDeviceGC { public abstract class InputDeviceGC : InputDeviceBase { /// /// 编辑器模式是否打开HandShank,对于非编辑器模式不影响 /// [Header("Is Simulate In Editor Mode")] public bool SimulateInEditorMode = false; [Header("Enable GameController")] public bool OneGCActive = true; public bool TwoGCActive = false; protected override void InputDeviceStart() { SetActiveInputDevicePart(InputDevicePartType.GCOne, OneGCActive); SetActiveInputDevicePart(InputDevicePartType.GCTwo, TwoGCActive); } } }