Skip to content

Commit ebb73c7

Browse files
committed
Merge pull request #10329 from keveleigh/update-spherepointer-inspector
Add missing inspector change from #10206
1 parent c19de9f commit ebb73c7

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

Assets/MRTK/SDK/Editor/Inspectors/UX/Pointers/SpherePointerInspector.cs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ public class SpherePointerInspector : BaseControllerPointerInspector
1818
private SerializedProperty triggerInteraction;
1919
private SerializedProperty sceneQueryBufferSize;
2020
private SerializedProperty ignoreCollidersNotInFOV;
21-
21+
private SerializedProperty graspPointPlacement;
2222

2323
private bool spherePointerFoldout = true;
2424

@@ -35,6 +35,7 @@ protected override void OnEnable()
3535
grabLayerMasks = serializedObject.FindProperty("grabLayerMasks");
3636
triggerInteraction = serializedObject.FindProperty("triggerInteraction");
3737
ignoreCollidersNotInFOV = serializedObject.FindProperty("ignoreCollidersNotInFOV");
38+
graspPointPlacement = serializedObject.FindProperty("graspPointPlacement");
3839
}
3940

4041
public override void OnInspectorGUI()
@@ -58,6 +59,7 @@ public override void OnInspectorGUI()
5859
EditorGUILayout.PropertyField(triggerInteraction);
5960
EditorGUILayout.PropertyField(grabLayerMasks, true);
6061
EditorGUILayout.PropertyField(ignoreCollidersNotInFOV);
62+
EditorGUILayout.PropertyField(graspPointPlacement);
6163
}
6264
}
6365

0 commit comments

Comments
 (0)