@@ -42,15 +42,15 @@ private struct AnchorAttachmentInfo
4242 /// Callback function that contains the WorldAnchorStore object.
4343 /// </summary>
4444 /// <param name="Store">The WorldAnchorStore to cache.</param>
45- void AnchorStoreReady ( WorldAnchorStore Store )
45+ private void AnchorStoreReady ( WorldAnchorStore Store )
4646 {
4747 AnchorStore = Store ;
4848 }
4949
5050 /// <summary>
5151 /// When the app starts grab the anchor store immediately.
5252 /// </summary>
53- void Awake ( )
53+ private void Awake ( )
5454 {
5555 AnchorStore = null ;
5656 WorldAnchorStore . GetAsync ( AnchorStoreReady ) ;
@@ -59,7 +59,7 @@ void Awake()
5959 /// <summary>
6060 /// Each frame see if there is work to do and if we can do a unit, do it.
6161 /// </summary>
62- void Update ( )
62+ private void Update ( )
6363 {
6464 if ( AnchorStore != null && anchorOperations . Count > 0 )
6565 {
@@ -123,7 +123,7 @@ public void RemoveAnchor(GameObject gameObjectToUnanchor)
123123 /// Function that actually adds the anchor to the game object.
124124 /// </summary>
125125 /// <param name="anchorAttachmentInfo">Parameters for attaching the anchor.</param>
126- void DoAnchorOperation ( AnchorAttachmentInfo anchorAttachmentInfo )
126+ private void DoAnchorOperation ( AnchorAttachmentInfo anchorAttachmentInfo )
127127 {
128128 string AnchorName = anchorAttachmentInfo . AnchorName ;
129129 GameObject gameObjectToAnchor = anchorAttachmentInfo . GameObjectToAnchor ;
@@ -156,7 +156,7 @@ void DoAnchorOperation(AnchorAttachmentInfo anchorAttachmentInfo)
156156 /// </summary>
157157 /// <param name="gameObjectToAnchor">The GameObject to attach the anchor to.</param>
158158 /// <param name="anchorName">The name to give to the anchor.</param>
159- void CreateAnchor ( GameObject gameObjectToAnchor , string anchorName )
159+ private void CreateAnchor ( GameObject gameObjectToAnchor , string anchorName )
160160 {
161161 WorldAnchor anchor = gameObjectToAnchor . AddComponent < WorldAnchor > ( ) ;
162162 anchor . name = anchorName ;
0 commit comments