C# Class ConnectAndJoinRandom, PaperCowboys

This script automatically connects to Photon (using the settings file), tries to join a random room and creates one if none was found (which is ok).
Inheritance: Photon.MonoBehaviour
Mostra file Open project: Gamieon/PaperCowboys Class Usage Examples

Public Properties

Property Type Description
AutoConnect bool
GuiSpace int

Public Methods

Method Description
OnConnectedToMaster ( ) : void
OnJoinedRoom ( ) : void
OnPhotonRandomJoinFailed ( ) : void
Start ( ) : void
Update ( ) : void

Method Details

OnConnectedToMaster() public method

public OnConnectedToMaster ( ) : void
return void

OnJoinedRoom() public method

public OnJoinedRoom ( ) : void
return void

OnPhotonRandomJoinFailed() public method

public OnPhotonRandomJoinFailed ( ) : void
return void

Start() public method

public Start ( ) : void
return void

Update() public method

public Update ( ) : void
return void

Property Details

AutoConnect public_oe property

public bool AutoConnect
return bool

GuiSpace public_oe property

public int GuiSpace
return int