TowerVR  1.0
GazeOver Class Reference
Inheritance diagram for GazeOver:

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
 

Detailed Description

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.

Member Function Documentation

void GazeOver.LoadScene ( )
void GazeOver.OnPointerEnter ( )
void GazeOver.OnPointerExit ( )

When you look away again, change back to original color

void GazeOver.SwitchScene ( )

Member Data Documentation

int GazeOver.levelIndex
string GazeOver.LevelName
string GazeOver.LevelSkybox
bool GazeOver.loadSceneForAllPlayers = false

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