Property | Type | Description | |
---|---|---|---|
Awake | void | ||
EnsureGroupInternal | void | ||
LoadLevelInternal | void | ||
OnLevelWasLoaded | void | ||
RPCLoadLevel | void | ||
RPCLoadLevel | void |
Method | Description | |
---|---|---|
EnsureGroup ( ) : void |
Called by any client before they join a game to ensure this component is operating on channel 1.
|
|
LoadLevel ( string sceneName ) : void |
Called by the master client to load a level by name
|
|
ResetLevelPrefix ( ) : void |
Called by any client before they join a game to reset the last level prefix. The last level prefix is a number that increments every time a level is loaded since the time a game is joined or created.
|
Method | Description | |
---|---|---|
Awake ( ) : void | ||
EnsureGroupInternal ( ) : void |
Ensures we do everything on channel 1
|
|
LoadLevelInternal ( string sceneName ) : void |
Called by the static LoadLevel function to load a level (this is state-based)
|
|
OnLevelWasLoaded ( int level ) : void | ||
RPCLoadLevel ( string sceneName, int levelPrefix ) : void | ||
RPCLoadLevel ( string sceneName, short levelPrefix ) : void |
public static LoadLevel ( string sceneName ) : void | ||
sceneName | string | /// Scene name. /// |
return | void |