Skip to content

Commit 25e3d60

Browse files
committed
Added UI to toggle WebXR Input Profiles Loader
1 parent 9ceb493 commit 25e3d60

File tree

2 files changed

+534
-0
lines changed

2 files changed

+534
-0
lines changed

Packages/webxr-interactions/Runtime/Scripts/ControllerInteraction.cs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -139,6 +139,11 @@ private void OnTriggerExit(Collider other)
139139
contactRigidBodies.Remove(other.gameObject.GetComponent<Rigidbody>());
140140
}
141141

142+
public void SetUseInputProfile(bool value)
143+
{
144+
useInputProfile = value;
145+
}
146+
142147
private void SetControllerVisible(bool visible)
143148
{
144149
controllerVisible = visible;

0 commit comments

Comments
 (0)