C# Class UnityPlatformer.CameraFollow.FocusArea

显示文件 Open project: llafuente/unity-platformer

Public Properties

Property Type Description
centre Vector2
velocity Vector2

Public Methods

Method Description
FocusArea ( Bounds targetBounds, Vector2 size ) : UnityEngine
Update ( Bounds targetBounds ) : void

Method Details

FocusArea() public method

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

Update() public method

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

Property Details

centre public_oe property

public Vector2 centre
return Vector2

velocity public_oe property

public Vector2 velocity
return Vector2