C# Class PlayerPowerUpController, Viewport

Inheritance: MonoBehaviour
Afficher le fichier Open project: tws2xa/Viewport Class Usage Examples

Méthodes publiques

Свойство Type Description
powerupGetSounds List

Méthodes publiques

Méthode Description
ActivatePowerUp ( PowerUp, power ) : void
CreatePowerupIndicator ( ) : void
DeactivatePowerUp ( PowerUp, power ) : void
InitiateRespawnTimer ( PowerUpManagementScript, script ) : void
OnTriggerEnter ( Collider coll ) : void
RespawnTimer ( ) : void
Start ( ) : void
Update ( ) : void

Private Methods

Méthode Description
ObjectIsPowerUp ( GameObject obj ) : bool

Checks if the given object can grab a power up.

PowerupActive ( GameObject obj ) : bool

Checks whether or not a powerup is affecting the given object

Method Details

ActivatePowerUp() public méthode

public ActivatePowerUp ( PowerUp, power ) : void
power PowerUp,
Résultat void

CreatePowerupIndicator() public méthode

public CreatePowerupIndicator ( ) : void
Résultat void

DeactivatePowerUp() public méthode

public DeactivatePowerUp ( PowerUp, power ) : void
power PowerUp,
Résultat void

InitiateRespawnTimer() public méthode

public InitiateRespawnTimer ( PowerUpManagementScript, script ) : void
script PowerUpManagementScript,
Résultat void

OnTriggerEnter() public méthode

public OnTriggerEnter ( Collider coll ) : void
coll Collider
Résultat void

RespawnTimer() public méthode

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

powerupGetSounds public_oe property

public List powerupGetSounds
Résultat List