C# Class UnityPlatformer.CameraFollow

Camera follow Character
Inheritance: UnityEngine.MonoBehaviour
Mostrar archivo 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_oe property

Debuggin
public bool debug
return bool

focusAreaSize public_oe property

Focus Area size
public Vector2 focusAreaSize
return Vector2

lookAheadDstX public_oe property

How much look ahead horizontally
public float lookAheadDstX
return float

lookSmoothTimeX public_oe property

Time to reach lookAheadDstX
public float lookSmoothTimeX
return float

target public_oe property

target
public Character target
return Character

targetInput public_oe property

Input to listen to look ahead
public PlatformerInput targetInput
return PlatformerInput

verticalOffset public_oe property

Vertical offset
public float verticalOffset
return float

verticalSmoothTime public_oe property

How much look ahead horizontally
public float verticalSmoothTime
return float