C# Class FlipperScript, Heracles

Inheritance: MonoBehaviour
Datei anzeigen Open project: TrinityUniversityGameDesign/Heracles

Public Properties

Property Type Description
animate bool
disappear GameObject
isEnemy bool
lock2 UnityEngine.AudioClip
mode int
numModes int
stalactiteTrigger bool

Public Methods

Method 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

Method Description
MakeSound ( AudioClip originalClip ) : void

Method Details

Awake() public method

public Awake ( ) : void
return void

Damage() public method

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

MakeLeverSound() public method

public MakeLeverSound ( ) : void
return void

OnTriggerEnter2D() public method

public OnTriggerEnter2D ( Collider2D otherCollider ) : void
otherCollider UnityEngine.Collider2D
return void

Start() public method

public Start ( ) : void
return void

Update() public method

public Update ( ) : void
return void

Property Details

animate public_oe property

public bool animate
return bool

disappear public_oe property

public GameObject disappear
return GameObject

isEnemy public_oe property

Enemy or player?
public bool isEnemy
return bool

lock2 public_oe property

public AudioClip,UnityEngine lock2
return UnityEngine.AudioClip

mode public_oe property

Total hitpoints
public int mode
return int

numModes public_oe property

public int numModes
return int

stalactiteTrigger public_oe property

public bool stalactiteTrigger
return bool