Liberi
An exergame built for kids with CP!
CameraAffector Class Reference

Add to a GameObject with a trigger collider to dynamically change various settings on the cameraman. More...

Inherits MonoBehaviour.

Public Attributes

bool ChangeSceneColor
 Whether or not this affector changes the scene color. More...
 
Color DesiredSceneColor
 The color this affector should change the scene to. Ignored if UseDefaultSceneColor is true. More...
 
bool UseDefaultSceneColor
 If this affector changes the scene color, setting this true will cause the affector to use the default scene color (the one set in the Inspector of the Cameraman object). More...
 
bool ChangeTargetOffset
 Whether or not this affector changes the target offset. More...
 
Vector3 DesiredTargetOffset
 The offset this affector should change the scene to. Ignored if UseDefaultTargetOffset is true. More...
 
bool UseDefaultTargetOffset
 If this affector changes the target offset color, setting this true will cause the affector to use the default target offset (the one set in the Inspector of the Cameraman object). More...
 

Detailed Description

Add to a GameObject with a trigger collider to dynamically change various settings on the cameraman.

Definition at line 8 of file CameraAffector.cs.

Member Data Documentation

bool CameraAffector.ChangeSceneColor

Whether or not this affector changes the scene color.

Definition at line 13 of file CameraAffector.cs.

bool CameraAffector.ChangeTargetOffset

Whether or not this affector changes the target offset.

Definition at line 25 of file CameraAffector.cs.

Color CameraAffector.DesiredSceneColor

The color this affector should change the scene to. Ignored if UseDefaultSceneColor is true.

Definition at line 17 of file CameraAffector.cs.

Vector3 CameraAffector.DesiredTargetOffset

The offset this affector should change the scene to. Ignored if UseDefaultTargetOffset is true.

Definition at line 29 of file CameraAffector.cs.

bool CameraAffector.UseDefaultSceneColor

If this affector changes the scene color, setting this true will cause the affector to use the default scene color (the one set in the Inspector of the Cameraman object).

Definition at line 21 of file CameraAffector.cs.

bool CameraAffector.UseDefaultTargetOffset

If this affector changes the target offset color, setting this true will cause the affector to use the default target offset (the one set in the Inspector of the Cameraman object).

Definition at line 33 of file CameraAffector.cs.


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