Gravity Engine  1.5
Unity Asset for Gravity
CameraSpin Class Reference

Key control to roate camera boom using Arrow keys for rotation and < > keys for zoom. More...

Inheritance diagram for CameraSpin:

Public Attributes

float spinRate = 1f
 Rate of spin (degrees per Update)
 
float zoomSize = 1f
 

Detailed Description

Key control to roate camera boom using Arrow keys for rotation and < > keys for zoom.

Assumes the Main Camara is a child of the object holding this script with a local position offset (the boom length) and oriented to point at this object. Then pressing the keys will spin the camera around the object this script is attached to.


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