C# Class FlipperScript, Heracles

Inheritance: MonoBehaviour
Afficher le fichier Open project: TrinityUniversityGameDesign/Heracles

Méthodes publiques

Свойство Type Description
animate bool
disappear GameObject
isEnemy bool
lock2 UnityEngine.AudioClip
mode int
numModes int
stalactiteTrigger bool

Méthodes publiques

Méthode Description
Awake ( ) : void
Damage ( int damageCount ) : void

Inflicts damage and check if the object should be destroyed

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

Private Methods

Méthode Description
MakeSound ( AudioClip originalClip ) : void

Method Details

Awake() public méthode

public Awake ( ) : void
Résultat void

Damage() public méthode

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

MakeLeverSound() public méthode

public MakeLeverSound ( ) : void
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

Update() public méthode

public Update ( ) : void
Résultat void

Property Details

animate public_oe property

public bool animate
Résultat bool

disappear public_oe property

public GameObject disappear
Résultat GameObject

isEnemy public_oe property

Enemy or player?
public bool isEnemy
Résultat bool

lock2 public_oe property

public AudioClip,UnityEngine lock2
Résultat UnityEngine.AudioClip

mode public_oe property

Total hitpoints
public int mode
Résultat int

numModes public_oe property

public int numModes
Résultat int

stalactiteTrigger public_oe property

public bool stalactiteTrigger
Résultat bool