Class ARParticipantManager
A manager for ARParticipants. Creates, updates, and removes
GameObject
s in response to other users in a multi-user collaborative session.
Inheritance
Inherited Members
Namespace: UnityEngine .XR.ARFoundation
Assembly: solution.dll
Syntax
[DefaultExecutionOrder(-2147483647)]
[DisallowMultipleComponent]
[RequireComponent(typeof(ARSessionOrigin))]
[HelpURL("https://docs.unity3d.com/Packages/com.unity.xr.arfoundation@4.2/api/UnityEngine.XR.ARFoundation.ARParticipantManager.html")]
public sealed class ARParticipantManager : ARTrackableManager<XRParticipantSubsystem, XRParticipantSubsystemDescriptor, XRParticipantSubsystem.Provider, XRParticipant, ARParticipant>
Properties
Name | Description |
---|---|
game |
The name to be used for the |
participant |
(Optional) Instantiates this Prefab for each participant. If |
Methods
Name | Description |
---|---|
Get |
Attempt to retrieve an existing ARParticipant by |
Get |
The Prefab which will be instantiated for each ARParticipant. Can be |
On |
Invoked when the base class detects trackable changes. |
Events
Name | Description |
---|---|
participants |
Invoked when participants have changed (been added, updated, or removed). |