C# Class L1Boss, PaperCowboys

Inheritance: Enemy
Afficher le fichier Open project: Gamieon/PaperCowboys

Méthodes publiques

Свойство Type Description
sndFire AudioClip

Méthodes publiques

Méthode Description
FireGun ( ) : void

This function is called in a timer by all clients to try to make this enemy fire. It must be run for all players because the master client can change.

IDamageTaker ( IDamageDealer damageDealer ) : void

Called by the player observing their projectile making contact with this character to inflict damage to this character. This must never be called from an RPC.

PlayFireSound ( ) : void

This function is called in a timer by all clients to try to make this enemy play firing sounds.

Méthodes protégées

Méthode Description
FixedUpdate ( ) : void
Start ( ) : void

Private Methods

Méthode Description
RPCBoss1BeginDying ( ) : void
RPCBoss1TakeDamage ( float damage, NetworkPlayer owningPlayer ) : void
RPCBoss1TakeDamage ( float damage, PhotonPlayer, owningPlayer ) : void
RPCBoss1TakeDamage ( float damage, uLink owningPlayer ) : void
RPCDestroy ( ) : void

Method Details

FireGun() public méthode

This function is called in a timer by all clients to try to make this enemy fire. It must be run for all players because the master client can change.
public FireGun ( ) : void
Résultat void

FixedUpdate() protected méthode

protected FixedUpdate ( ) : void
Résultat void

IDamageTaker() public méthode

Called by the player observing their projectile making contact with this character to inflict damage to this character. This must never be called from an RPC.
public IDamageTaker ( IDamageDealer damageDealer ) : void
damageDealer IDamageDealer
Résultat void

PlayFireSound() public méthode

This function is called in a timer by all clients to try to make this enemy play firing sounds.
public PlayFireSound ( ) : void
Résultat void

Start() protected méthode

protected Start ( ) : void
Résultat void

Property Details

sndFire public_oe property

The sound effect played when this object fires
public AudioClip sndFire
Résultat AudioClip