C# Class DamageTaking, MobileGameDevWithUnity1stEd

Inheritance: MonoBehaviour
Afficher le fichier Open project: thesecretlab/MobileGameDevWithUnity1stEd Class Usage Examples

Méthodes publiques

Свойство Type Description
destructionPrefab GameObject
gameOverOnDestroyed bool
hitPoints int

Méthodes publiques

Méthode Description
TakeDamage ( int amount ) : void

Method Details

TakeDamage() public méthode

public TakeDamage ( int amount ) : void
amount int
Résultat void

Property Details

destructionPrefab public_oe property

public GameObject destructionPrefab
Résultat GameObject

gameOverOnDestroyed public_oe property

public bool gameOverOnDestroyed
Résultat bool

hitPoints public_oe property

public int hitPoints
Résultat int