C# Class Hero, Hero.Coli

Inheritance: MonoBehaviour
Afficher le fichier Open project: CyberCRI/Hero.Coli Class Usage Examples

Méthodes publiques

Свойство Type Description
energyAnimation EnergyLogoAnimation
gameObjectName string
lifeAnimation LifeLogoAnimation

Méthodes publiques

Méthode Description
DisplayEnergyAnimation ( ) : void
Pause ( bool pause ) : void
addLife ( float life ) : void
get ( ) : Hero
getEnergy ( ) : float
getLastCheckpointName ( ) : string
getLife ( ) : float
getLifeManager ( ) : Life
getMedium ( ) : Medium
isAlive ( ) : bool
isPaused ( ) : bool
kill ( ) : void
safeFadeTo ( GameObject toFade, Hashtable fadeOptions ) : void
setEnergy ( float energy ) : void
setLife ( float life ) : void
subEnergy ( float energy ) : void
subLife ( float life ) : void

Private Methods

Méthode Description
Awake ( ) : void
OnTriggerEnter ( Collider collision ) : void
OnTriggerExit ( Collider col ) : void
RespawnCoroutine ( ) : IEnumerator
Update ( ) : void
deathEffectCoroutine ( CellControl cc ) : IEnumerator
duplicateCell ( ) : void
enableEyes ( bool enable ) : void
initializeIfNecessary ( ) : void
manageCheckpoint ( Collider col ) : void
managePickUp ( Collider col ) : void
manageSector ( Collider col ) : void
popEffectCoroutine ( SavedCell savedCell ) : IEnumerator
respawnCoroutine ( CellControl cc ) : void
safeFadeTo ( Hashtable hash ) : void
setCurrentRespawnPoint ( Collider col ) : void
updateMapElements ( int checkpointIndex ) : void

Method Details

DisplayEnergyAnimation() public méthode

public DisplayEnergyAnimation ( ) : void
Résultat void

Pause() public méthode

public Pause ( bool pause ) : void
pause bool
Résultat void

addLife() public méthode

public addLife ( float life ) : void
life float
Résultat void

get() public static méthode

public static get ( ) : Hero
Résultat Hero

getEnergy() public méthode

public getEnergy ( ) : float
Résultat float

getLastCheckpointName() public méthode

public getLastCheckpointName ( ) : string
Résultat string

getLife() public méthode

public getLife ( ) : float
Résultat float

getLifeManager() public méthode

public getLifeManager ( ) : Life
Résultat Life

getMedium() public méthode

public getMedium ( ) : Medium
Résultat Medium

isAlive() public méthode

public isAlive ( ) : bool
Résultat bool

isPaused() public méthode

public isPaused ( ) : bool
Résultat bool

kill() public méthode

public kill ( ) : void
Résultat void

safeFadeTo() public static méthode

public static safeFadeTo ( GameObject toFade, Hashtable fadeOptions ) : void
toFade GameObject
fadeOptions Hashtable
Résultat void

setEnergy() public méthode

public setEnergy ( float energy ) : void
energy float
Résultat void

setLife() public méthode

public setLife ( float life ) : void
life float
Résultat void

subEnergy() public méthode

public subEnergy ( float energy ) : void
energy float
Résultat void

subLife() public méthode

public subLife ( float life ) : void
life float
Résultat void

Property Details

energyAnimation public_oe property

public EnergyLogoAnimation energyAnimation
Résultat EnergyLogoAnimation

gameObjectName public_oe static_oe property

public static string gameObjectName
Résultat string

lifeAnimation public_oe property

public LifeLogoAnimation lifeAnimation
Résultat LifeLogoAnimation