Skip to content

ARC Session

Giorgio edited this page Jul 7, 2021 · 3 revisions

SWITCH TO SCRIPTING

The Session is a script attached to a GameObject, which is instantiated on each device when successfully connected to a network lobby. The Session registers all networked GameObject that will be spawned and destroyed, and manages the sending and receiving of the marker images from the session host. It also exposes useful script functions to perform raycasts in the session local space.

ARC Setup Manager inspector preview

Properties

Property Function
Shared Session Prefabs A list of all GameObjects that can be spawned and destroyed remotely across the network. Each GameObject needs to have a NetworkIdentity component attached to it. ARC Entities must be registered here as well, while ARC Users don't.