Skip to content

Commit f046b59

Browse files
committed
set useInputProfile private
1 parent 25e3d60 commit f046b59

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

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

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ public class ControllerInteraction : MonoBehaviour
2323
public Transform handJointPrefab;
2424
private bool handJointsVisible = false;
2525

26-
public bool useInputProfile = true;
26+
[SerializeField] private bool useInputProfile = true;
2727

2828
public GameObject inputProfileObject;
2929
public GameObject inputProfileModelParent;
@@ -144,6 +144,11 @@ public void SetUseInputProfile(bool value)
144144
useInputProfile = value;
145145
}
146146

147+
public bool GetUseInputProfile()
148+
{
149+
return useInputProfile;
150+
}
151+
147152
private void SetControllerVisible(bool visible)
148153
{
149154
controllerVisible = visible;

0 commit comments

Comments
 (0)