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