C# Class UnityPlatformer.CameraFollow

Camera follow Character
Inheritance: UnityEngine.MonoBehaviour
Show file Open project: llafuente/unity-platformer

Public Properties

Property Type Description
debug bool
focusAreaSize Vector2
lookAheadDstX float
lookSmoothTimeX float
target Character
targetInput PlatformerInput
verticalOffset float
verticalSmoothTime float

Public Methods

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

Method Details

LateUpdate() public method

public LateUpdate ( ) : void
return void

OnDrawGizmos() public method

public OnDrawGizmos ( ) : void
return void

Start() public method

public Start ( ) : void
return void

Property Details

debug public property

Debuggin
public bool debug
return bool

focusAreaSize public property

Focus Area size
public Vector2 focusAreaSize
return Vector2

lookAheadDstX public property

How much look ahead horizontally
public float lookAheadDstX
return float

lookSmoothTimeX public property

Time to reach lookAheadDstX
public float lookSmoothTimeX
return float

target public property

target
public Character target
return Character

targetInput public property

Input to listen to look ahead
public PlatformerInput targetInput
return PlatformerInput

verticalOffset public property

Vertical offset
public float verticalOffset
return float

verticalSmoothTime public property

How much look ahead horizontally
public float verticalSmoothTime
return float