July 2017
Beginner to intermediate
390 pages
10h 53m
English
The way of working in Unity3D is about the same. You need to have a way to share the actual bytes, but we have covered that already.
If you want to share world anchors, and remember, world anchors are spatial anchors attached to objects in Unity3D, the amount of work you have to do is very limited. All you need to do is use a WorldAnchorTransferBatch, similar to the SpatialAnchorTransferManager in DirectX.
Let me show you.
First, I extended our GuitarPrefab. I have added a simple script, which has a variable in it that uniquely identifies it, so we can use that when we need the anchors. The field is called AnchorName:
using UnityEngine; public class Identifier : MonoBehaviour { [Tooltip("The unique name of ...Read now
Unlock full access