C# Класс BuildingUnitSpawnProgressBar, ES2015C

Used to display the progress bar for unit spawns in buildings.
Наследование: MonoBehaviour
Показать файл Открыть проект

Открытые методы

Метод Описание
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).

Описание методов

FaceCamera() публичный Метод

Make sprite always face the camera http://answers.unity3d.com/questions/536208/game-texture-always-face-camera.html
public FaceCamera ( ) : void
Результат void

Start() публичный Метод

public Start ( ) : void
Результат void

Update() публичный Метод

public Update ( ) : void
Результат void

UpdateProgressBar() публичный Метод

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.
Результат void