C# Class AimCamera, Project-ROB

Inheritance: MonoBehaviour
Show file Open project: spooty89/Project-ROB Class Usage Examples

Public Properties

Property Type Description
aimHeight float
allowMouseInputX bool
allowMouseInputY bool
collisionLayers LayerMask
distance float
lockToRearOfTarget bool
maxDistance float
minDistance float
normalDistance float
normalHeight float
offsetFromWall float
rotationDampening float
startHeight float
target GameObject
targetHeight float
xSpeed float
yMaxLimit float
yMinLimit float
ySpeed float
zoomDampening float
zoomRate float

Public Methods

Method Description
LateUpdate ( ) : void
Start ( ) : void

Private Methods

Method Description
ClampAngle ( float angle, float min, float max ) : float
RotateBehindTarget ( ) : void

Method Details

LateUpdate() public method

public LateUpdate ( ) : void
return void

Start() public method

public Start ( ) : void
return void

Property Details

aimHeight public property

public float aimHeight
return float

allowMouseInputX public property

public bool allowMouseInputX
return bool

allowMouseInputY public property

public bool allowMouseInputY
return bool

collisionLayers public property

public LayerMask collisionLayers
return LayerMask

distance public property

public float distance
return float

lockToRearOfTarget public property

public bool lockToRearOfTarget
return bool

maxDistance public property

public float maxDistance
return float

minDistance public property

public float minDistance
return float

normalDistance public property

public float normalDistance
return float

normalHeight public property

public float normalHeight
return float

offsetFromWall public property

public float offsetFromWall
return float

rotationDampening public property

public float rotationDampening
return float

startHeight public property

public float startHeight
return float

target public property

public GameObject target
return GameObject

targetHeight public property

public float targetHeight
return float

xSpeed public property

public float xSpeed
return float

yMaxLimit public property

public float yMaxLimit
return float

yMinLimit public property

public float yMinLimit
return float

ySpeed public property

public float ySpeed
return float

zoomDampening public property

public float zoomDampening
return float

zoomRate public property

public float zoomRate
return float