TowerVR  1.0
ComponentPreviewer Class Reference
Inheritance diagram for ComponentPreviewer:

Public Attributes

GameObject triggerObject
 

Detailed Description

<This script fades a singel GameObject: Used for previewing a level.>

YOU DO NOT NEED TO ATTACH THIS SCRIPT MANUALLY: This script needs to be attached to all level components (children of an empty gameObject) that should be previewed. This is done with the loop marked with (x). The loop (x) should be in the Start()-function of the miniature level object (which is also the trigger object). This should now be placed in the GazeOverPreview script.

The miniature should also have a bool: "public bool isGazedOn" since this script is accessing it. isGazedOn should be set to true only if he miniature is being gazed on, otherwise it should be false.

Member Data Documentation

GameObject ComponentPreviewer.triggerObject

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