hi developer,
trigger button is not working when I click on the game object enabled collider.
bool triggerL, triggerR;
public UnityEngine.UI.Text debugText;
void Update()
{
InputDevices.GetDeviceAtXRNode(XRNode.RightHand).TryGetFeatureValue(CommonUsages.triggerButton, out triggerR);
InputDevices.GetDeviceAtXRNode(XRNode.LeftHand).TryGetFeatureValue(CommonUsages.triggerButton, out triggerL);
if (triggerL)
{
debugText.text = "triggerL";
}
else if (triggerR)
{
debugText.text = "triggerR";
}
else
{
debugText.text = "no_press";
}
}
I'm using the above code, it is not returning, after updating PUI v4.6.13. I made factory reset once i got issue with keyboard is not opening when I click on the inputfield.
I used the Sdk version: Pico UnityXR SDK_v2.0.4
unity 2019.4.38fl