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