C# Class ReceiveDamage, SpaceCOG-Prototype

Inheritance: MonoBehaviour
Afficher le fichier Open project: kalby/SpaceCOG-Prototype Class Usage Examples

Méthodes publiques

Свойство Type Description
currentHealth int
maximumHealth int

Méthodes publiques

Méthode Description
CheckForKill ( GameObject killingPlayer ) : void
Death ( ) : void
Hit ( int damage ) : void
Start ( ) : void
Update ( ) : void

Method Details

CheckForKill() public méthode

public CheckForKill ( GameObject killingPlayer ) : void
killingPlayer GameObject
Résultat void

Death() public méthode

public Death ( ) : void
Résultat void

Hit() public méthode

public Hit ( int damage ) : void
damage int
Résultat void

Start() public méthode

public Start ( ) : void
Résultat void

Update() public méthode

public Update ( ) : void
Résultat void

Property Details

currentHealth public_oe property

public int currentHealth
Résultat int

maximumHealth public_oe property

public int maximumHealth
Résultat int