Skip to content

ARC Session Listener (Script Reference)

Giorgio edited this page Jul 7, 2021 · 1 revision

SWITCH TO MANUAL

Description

Registers the ARC Session prefab to the NetworkManager. Exposes CaptainsMess events related to the networking system. For a detailed explanation of events and their usage, see the CaptainsMess dedicated page.

Properties

public GameObject sharedSessionPrefab; A networked GameObject instantiated for each user connected to the lobby.

Events

public UnityEvent startConnecting UnityEvent invoked on connection started.
public UnityEvent stopConnecting UnityEvent invoked on connection stopped.
public UnityEvent serverCreated UnityEvent invoked on server created.
public UnityEvent joinedLobby UnityEvent invoked when joining a network lobby.
UnityEvent leftLobby UnityEvent invoked when leaving a network lobby.
UnityEvent countdownStarted UnityEvent invoked when CaptainsMess countdown starts.
public UnityEvent countdownCancelled UnityEvent invoked when CaptainsMess countdown stops.
public ARCStartGameEvent startGame UnityEvent invoked when the session starts.
public UnityEvent abortGame UnityEvent invoked when the session is aborted.

Clone this wiki locally