C# Class UnityPlatformer.CameraFollow.FocusArea

Afficher le fichier Open project: llafuente/unity-platformer

Méthodes publiques

Свойство Type Description
centre Vector2
velocity Vector2

Méthodes publiques

Méthode Description
FocusArea ( Bounds targetBounds, Vector2 size ) : UnityEngine
Update ( Bounds targetBounds ) : void

Method Details

FocusArea() public méthode

public FocusArea ( Bounds targetBounds, Vector2 size ) : UnityEngine
targetBounds UnityEngine.Bounds
size Vector2
Résultat UnityEngine

Update() public méthode

public Update ( Bounds targetBounds ) : void
targetBounds UnityEngine.Bounds
Résultat void

Property Details

centre public_oe property

public Vector2 centre
Résultat Vector2

velocity public_oe property

public Vector2 velocity
Résultat Vector2