Class ARAnchorManagerListener
Listens to the anchorsChanged event and forwards it to the visual scripting event bus.
Namespace: UnityEngine.XR.ARFoundation.VisualScripting
Assembly: Unity.XR.ARFoundation.VisualScripting.dll
Syntax
[Obsolete("ARAnchorManagerListener has been deprecated in AR Foundation version 6.0.", false)]
public sealed class ARAnchorManagerListener : TrackableManagerListener<ARAnchorManager>
Methods
RegisterTrackablesChangedDelegate(ARAnchorManager)
Subscribes to the trackables-changed event of manager
.
This is method is called in OnEnable
.
Declaration
protected override void RegisterTrackablesChangedDelegate(ARAnchorManager manager)
Parameters
Type | Name | Description |
---|---|---|
ARAnchorManager | manager | The manager instance. |
Overrides
See Also
UnregisterTrackablesChangedDelegate(ARAnchorManager)
Unsubscribes from the trackables-changed event of manager
.
This is method is called in OnDisable
.
Declaration
protected override void UnregisterTrackablesChangedDelegate(ARAnchorManager manager)
Parameters
Type | Name | Description |
---|---|---|
ARAnchorManager | manager | The manager instance. |