C# Class FreeLookCamera, Hellbound

Inheritance: Pivot
Show file Open project: Backman/Hellbound Class Usage Examples

Public Methods

Method Description
getFreeCameraPosition ( ) : Vector3
isFreeCameraEnabled ( ) : bool
resetCameraTransform ( ) : void
setFreeCameraEnabled ( bool enabled ) : void
setFreeCameraPosition ( Vector3 pos, Vector3 rot ) : void

Protected Methods

Method Description
Awake ( ) : void
Start ( ) : void
Update ( ) : void
followTarget ( float deltaTime ) : void

Private Methods

Method Description
DisableMeshRendererOnTarget ( ) : void
EnableMeshRendererOnTarget ( ) : void
OnDisable ( ) : void
activateBenjamin ( ) : IEnumerator
handleRotationMovement ( ) : void
handleZoomInput ( ) : void
rotationOverflow ( ) : bool

Method Details

Awake() protected method

protected Awake ( ) : void
return void

Start() protected method

protected Start ( ) : void
return void

Update() protected method

protected Update ( ) : void
return void

followTarget() protected method

protected followTarget ( float deltaTime ) : void
deltaTime float
return void

getFreeCameraPosition() public method

public getFreeCameraPosition ( ) : Vector3
return Vector3

isFreeCameraEnabled() public method

public isFreeCameraEnabled ( ) : bool
return bool

resetCameraTransform() public method

public resetCameraTransform ( ) : void
return void

setFreeCameraEnabled() public method

public setFreeCameraEnabled ( bool enabled ) : void
enabled bool
return void

setFreeCameraPosition() public method

public setFreeCameraPosition ( Vector3 pos, Vector3 rot ) : void
pos Vector3
rot Vector3
return void