Humanoid Control for Unity v4
|
The scene manager synchronizes scene changes with humanoids across a network.
Inherits MonoBehaviourPunCallbacks public class SceneManager Photon.MonoBehaviourRequireComponenttypeofNetworkIdentity public class SceneManager NetworkBehaviour public class SceneManager MonoBehaviour.
Public Member Functions | |
void | LoadScene (int sceneId) |
Load the scene and causes a scene change. | |
void | NextScene () |
Changes the scene to the next scene in the list. | |
void | PreviousScene () |
Changes the scene to the previous scene in the list. | |
Static Public Member Functions | |
static int | mod (int k, int n) |
Protected Member Functions | |
virtual void | Awake () |
void Passer.SceneManager.LoadScene | ( | int | sceneId | ) |
Load the scene and causes a scene change.
sceneId | The index of the new scene in the list of scenes |
void Passer.SceneManager.NextScene | ( | ) |
Changes the scene to the next scene in the list.
This will wrap around when the last scene in the list has been reached.
void Passer.SceneManager.PreviousScene | ( | ) |
Changes the scene to the previous scene in the list.
This will wrap aorund when the first scene in the list has been reached.