C# Class Lion_Boss_Flipper_Script, Heracles

Handle hitpoints and damages
Inheritance: MonoBehaviour
Afficher le fichier Open project: TrinityUniversityGameDesign/Heracles

Méthodes publiques

Свойство Type Description
isEnemy bool
mode int
numModes int

Méthodes publiques

Méthode Description
Damage ( int damageCount ) : void

Inflicts damage and check if the object should be destroyed

OnTriggerEnter2D ( Collider2D otherCollider ) : void
Start ( ) : void

Method Details

Damage() public méthode

Inflicts damage and check if the object should be destroyed
public Damage ( int damageCount ) : void
damageCount int
Résultat void

OnTriggerEnter2D() public méthode

public OnTriggerEnter2D ( Collider2D otherCollider ) : void
otherCollider UnityEngine.Collider2D
Résultat void

Start() public méthode

public Start ( ) : void
Résultat void

Property Details

isEnemy public_oe property

Enemy or player?
public bool isEnemy
Résultat bool

mode public_oe property

Total hitpoints
public int mode
Résultat int

numModes public_oe property

public int numModes
Résultat int