C# Class BuildingUnitSpawnProgressBar, ES2015C

Used to display the progress bar for unit spawns in buildings.
Inheritance: MonoBehaviour
Afficher le fichier Open project: jgirald/ES2015C

Méthodes publiques

Méthode Description
FaceCamera ( ) : void

Make sprite always face the camera http://answers.unity3d.com/questions/536208/game-texture-always-face-camera.html

Start ( ) : void
Update ( ) : void
UpdateProgressBar ( float spawnProgress ) : void

Update the progress bar status. Linear between 0.0f (empty) and 1.0f (full).

Method Details

FaceCamera() public méthode

Make sprite always face the camera http://answers.unity3d.com/questions/536208/game-texture-always-face-camera.html
public FaceCamera ( ) : void
Résultat void

Start() public méthode

public Start ( ) : void
Résultat void

Update() public méthode

public Update ( ) : void
Résultat void

UpdateProgressBar() public méthode

Update the progress bar status. Linear between 0.0f (empty) and 1.0f (full).
public UpdateProgressBar ( float spawnProgress ) : void
spawnProgress float Spawn progress of the unit.
Résultat void