Class CameraControls
Inheritance
CameraControls
Syntax
public class CameraControls : MonoBehaviour
Fields
idleRotation
Declaration
[Tooltip("How fast the camera should rotate around the sphere when idle.")]
public float idleRotation
Field Value
orbitSpeed
Declaration
[Tooltip("How fast the camera should rotate around the sphere.")]
[Range(2F, 15F)]
public float orbitSpeed
Field Value
zoomSpeed
Declaration
[Tooltip("The speed at which the camera zooms in and out.")]
[Range(0.3F, 2F)]
public float zoomSpeed
Field Value