C# 클래스 L1Boss, PaperCowboys

상속: Enemy
파일 보기 프로젝트 열기: Gamieon/PaperCowboys

공개 프로퍼티들

프로퍼티 타입 설명
sndFire AudioClip

공개 메소드들

메소드 설명
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.

보호된 메소드들

메소드 설명
FixedUpdate ( ) : void
Start ( ) : void

비공개 메소드들

메소드 설명
RPCBoss1BeginDying ( ) : void
RPCBoss1TakeDamage ( float damage, NetworkPlayer owningPlayer ) : void
RPCBoss1TakeDamage ( float damage, PhotonPlayer, owningPlayer ) : void
RPCBoss1TakeDamage ( float damage, uLink owningPlayer ) : void
RPCDestroy ( ) : void

메소드 상세

FireGun() 공개 메소드

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
리턴 void

FixedUpdate() 보호된 메소드

protected FixedUpdate ( ) : void
리턴 void

IDamageTaker() 공개 메소드

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
리턴 void

PlayFireSound() 공개 메소드

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

Start() 보호된 메소드

protected Start ( ) : void
리턴 void

프로퍼티 상세

sndFire 공개적으로 프로퍼티

The sound effect played when this object fires
public AudioClip sndFire
리턴 AudioClip