|
TowerVR
1.0
|
Public Member Functions | |
| void | SwitchScene () |
| void | LoadScene () |
| void | OnPointerEnter () |
| void | OnPointerExit () |
| When you look away again, change back to original color More... | |
Public Attributes | |
| bool | loadSceneForAllPlayers = false |
| int | levelIndex |
| string | LevelName |
| string | LevelSkybox |
A class for switching scenes. How to use: Make sure your object has a Collider. Add this script and set which scene it should chnage to with index (from build settings). Add EventTrigger-component and use Pointer Down, Pointer Enter, Pointer Exit for the functions below. Check the box for the loadSceneForAllPlayers variable to use Photons functionality to sync the loaded scene.
| void GazeOver.LoadScene | ( | ) |
| void GazeOver.OnPointerEnter | ( | ) |
| void GazeOver.OnPointerExit | ( | ) |
When you look away again, change back to original color
| void GazeOver.SwitchScene | ( | ) |
| int GazeOver.levelIndex |
| string GazeOver.LevelName |
| string GazeOver.LevelSkybox |
| bool GazeOver.loadSceneForAllPlayers = false |