This version of Unity is unsupported.
Method group is Obsolete

WorldAnchorStore.Load

Obsolete Support for built-in VR will be removed in Unity 2020.1. Please update to the new Unity XR Plugin System. More information about the new XR Plugin System can be found at https://docs.unity3d.com/2019.3/Documentation/Manual/XR.html.

Declaration

public XR.WSA.WorldAnchor Load(string id, GameObject go);

Parameters

id The identifier of the WorldAnchor to load.
go The object to attach the WorldAnchor to if found.

Returns

WorldAnchor The WorldAnchor loaded by the identifier or null if not found.

Description

Loads a WorldAnchor from disk for given identifier and attaches it to the GameObject. If the GameObject has a WorldAnchor, that WorldAnchor will be updated. If the anchor is not found, null will be returned and the GameObject and any existing WorldAnchor attached to it will not be modified.