Class ParticipantsChangedEventUnit
Uses an ARParticipantManagerListener to listen for a participants-changed event on the visual scripting event bus and assign the ARParticipantsChangedEventArgs to a newly triggered Flow.
Inheritance
TrackablesChangedEventUnit<ARParticipantManager, XRParticipantSubsystem, XRParticipantSubsystemDescriptor, XRParticipantSubsystem.Provider, XRParticipant, ARParticipant, ARParticipantsChangedEventArgs, ARParticipantManagerListener>
ParticipantsChangedEventUnit
Inherited Members
Namespace: UnityEngine.XR.ARFoundation.VisualScripting
Assembly: Unity.XR.ARFoundation.VisualScripting.dll
Syntax
[Obsolete("ParticipantsChangedEventUnit has been deprecated in AR Foundation version 6.0.", false)]
public sealed class ParticipantsChangedEventUnit : TrackablesChangedEventUnit<ARParticipantManager, XRParticipantSubsystem, XRParticipantSubsystemDescriptor, XRParticipantSubsystem.Provider, XRParticipant, ARParticipant, ARParticipantsChangedEventArgs, ARParticipantManagerListener>
Properties
hookName
The hook name.
Declaration
protected override string hookName { get; }
Property Value
| Type | Description |
|---|---|
| string |
Methods
AssignArguments(Flow, ARParticipantsChangedEventArgs)
Assigns args to flow.
Declaration
protected override void AssignArguments(Flow flow, ARParticipantsChangedEventArgs args)
Parameters
| Type | Name | Description |
|---|---|---|
| Flow | flow | The flow. |
| ARParticipantsChangedEventArgs | args | The arguments. |