using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.XR.Interaction.Toolkit; namespace UDE_HAND_INTERACTION { public class SimInputController : ActionBasedController { [HideInInspector] public bool TriggerActive; protected override void UpdateInput(XRControllerState controllerState) { base.UpdateInput(controllerState); controllerState.uiPressInteractionState.SetFrameState(TriggerActive, 0); } } }