Skip to content

Commit bd742a6

Browse files
authored
Merge pull request #446 from LocalJoost/FixTapToPlace
This does not compile. TapToPlace contains several errors
2 parents c8a31b5 + 942b76c commit bd742a6

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-
private virtual void Start()
50+
protected 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 @@ private virtual void Start()
8383
}
8484
}
8585

86-
private virtual void Update()
86+
protected 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 @@ private virtual void Update()
123123
}
124124
}
125125

126-
protected virtual void OnInputClicked(InputEventData eventData)
126+
public 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)