SmoothMouseLook Class

Namespace
ASL.PlayerSystem
Base Types
  • MonoBehaviour
graph TD Base0["MonoBehaviour"]-->Type Type["SmoothMouseLook"] class Type type-node

Syntax

[AddComponentMenu("Camera-Control/Smooth Mouse Look")]
public class SmoothMouseLook : MonoBehaviour

Attributes

Type Description
AddComponentMenu

Fields

Name Constant Value Summary
axes
The type of axis rotation the mouse controls.
frameCounter
maximumX
Largest X rotation for the camera.
maximumY
minimumX
Smallest X rotation for the camera.
minimumY
Smallest Y rotation for the camera.
sensitivityX
Mouse sensitivity in the X direction.
sensitivityY
Mouse sensitivity in the Y direction.

Methods

Name Value Summary
ClampAngle(float, float, float) float
This function constraints angle between min and max.
static