Skip to content

Commit 69b6707

Browse files
author
Stephen Hodgson
authored
Tap to place, more access modifier updates
1 parent b0784e2 commit 69b6707

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Assets/HoloToolkit/SpatialMapping/Scripts/TapToPlace.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ public class TapToPlace : MonoBehaviour, IInputClickHandler
4747
/// </summary>
4848
protected SpatialMappingManager spatialMappingManager;
4949

50-
public virtual void Start()
50+
private virtual void Start()
5151
{
5252
// Make sure we have all the components in the scene we need.
5353
anchorManager = WorldAnchorManager.Instance;
@@ -83,7 +83,7 @@ public virtual void Start()
8383
}
8484
}
8585

86-
public virtual void Update()
86+
private virtual void Update()
8787
{
8888
// If the user is in placing mode,
8989
// update the placement to match the user's gaze.
@@ -123,7 +123,7 @@ public virtual void Update()
123123
}
124124
}
125125

126-
public virtual void OnInputClicked(InputEventData eventData)
126+
protected virtual void OnInputClicked(InputEventData eventData)
127127
{
128128
// On each tap gesture, toggle whether the user is in placing mode.
129129
IsBeingPlaced = !IsBeingPlaced;

0 commit comments

Comments
 (0)