CellexalVR  1.1.0
A virtual reality platform for the exploration and analysis of single-cell gene expression data
CellexalVR.Multiuser.Launcher Class Reference

Launch manager. Connect, join a random room or create one if none or all full. More...

Inheritance diagram for CellexalVR.Multiuser.Launcher:

Public Member Functions

override void OnConnectedToMaster ()
 
override void OnDisconnectedFromPhoton ()
 
override void OnPhotonRandomJoinFailed (object[] codeAndMsg)
 
override void OnJoinedRoom ()
 
void Connect ()
 Start the connection process. More...
 
void ConnectSinglePlayer ()
 Starts the single player scene. More...
 
void ConnectTutorialScene ()
 Starts the tutorial scene. More...
 

Public Attributes

GameObject controlPanel
 
TMP_InputField inputField
 
LauncherMenuPanel launcherMenuPanel
 
PhotonLogLevel Loglevel = PhotonLogLevel.Informational
 The PUN loglevel. More...
 
byte MaxPlayersPerRoom = 4
 The maximum number of players per room. When a room is full, it can't be joined by new players, and so new room will be created. More...
 

Static Public Attributes

static Launcher instance
 

Detailed Description

Launch manager. Connect, join a random room or create one if none or all full.

Member Function Documentation

◆ Connect()

void CellexalVR.Multiuser.Launcher.Connect ( )

Start the connection process.

  • If already connected, we attempt joining a random room
  • if not yet connected, Connect this application instance to Photon Cloud Network

◆ ConnectSinglePlayer()

void CellexalVR.Multiuser.Launcher.ConnectSinglePlayer ( )

Starts the single player scene.

◆ ConnectTutorialScene()

void CellexalVR.Multiuser.Launcher.ConnectTutorialScene ( )

Starts the tutorial scene.

Member Data Documentation

◆ Loglevel

PhotonLogLevel CellexalVR.Multiuser.Launcher.Loglevel = PhotonLogLevel.Informational

The PUN loglevel.

◆ MaxPlayersPerRoom

byte CellexalVR.Multiuser.Launcher.MaxPlayersPerRoom = 4

The maximum number of players per room. When a room is full, it can't be joined by new players, and so new room will be created.



The documentation for this class was generated from the following file: