Skip to content

Commit 168e810

Browse files
authored
Merge pull request #6879 from julenka/spheregrabquery
add scene query buffer size to sphere pointer inspector
2 parents f4245f3 + a75271d commit 168e810

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

Assets/MixedRealityToolkit.SDK/Inspectors/UX/Pointers/SpherePointerInspector.cs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ public class SpherePointerInspector : BaseControllerPointerInspector
1414
private SerializedProperty nearObjectMargin;
1515
private SerializedProperty grabLayerMasks;
1616
private SerializedProperty triggerInteraction;
17-
17+
private SerializedProperty sceneQueryBufferSize;
1818

1919
private bool spherePointerFoldout = true;
2020

@@ -23,6 +23,7 @@ protected override void OnEnable()
2323
base.OnEnable();
2424

2525
sphereCastRadius = serializedObject.FindProperty("sphereCastRadius");
26+
sceneQueryBufferSize = serializedObject.FindProperty("sceneQueryBufferSize");
2627
nearObjectMargin = serializedObject.FindProperty("nearObjectMargin");
2728
grabLayerMasks = serializedObject.FindProperty("grabLayerMasks");
2829
triggerInteraction = serializedObject.FindProperty("triggerInteraction");
@@ -41,6 +42,7 @@ public override void OnInspectorGUI()
4142
using (new EditorGUI.IndentLevelScope())
4243
{
4344
EditorGUILayout.PropertyField(sphereCastRadius);
45+
EditorGUILayout.PropertyField(sceneQueryBufferSize);
4446
EditorGUILayout.PropertyField(nearObjectMargin);
4547
EditorGUILayout.PropertyField(triggerInteraction);
4648
EditorGUILayout.PropertyField(grabLayerMasks, true);

0 commit comments

Comments
 (0)