C# Class CameraFollow.FocusArea, DreamCatcher

Show file Open project: themechanicalturk/DreamCatcher Class Usage Examples

Public Properties

Property Type Description
center Vector2
velocity Vector2

Public Methods

Method Description
FocusArea ( Bounds targetBounds, Vector2 size ) : System.Collections
Update ( Bounds targetBounds ) : void

Method Details

FocusArea() public method

public FocusArea ( Bounds targetBounds, Vector2 size ) : System.Collections
targetBounds Bounds
size Vector2
return System.Collections

Update() public method

public Update ( Bounds targetBounds ) : void
targetBounds Bounds
return void

Property Details

center public property

public Vector2 center
return Vector2

velocity public property

public Vector2 velocity
return Vector2