-
Notifications
You must be signed in to change notification settings - Fork 0
ARC Session Listener (Script Reference)
Giorgio edited this page Jul 7, 2021
·
1 revision
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.
public GameObject sharedSessionPrefab; |
A networked GameObject instantiated for each user connected to the lobby. |
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. |
© 2021 Giorgio Liggio