C# 클래스 L3Boss, PaperCowboys

상속: EnemyBoss, IDamageTaker
파일 보기 프로젝트 열기: Gamieon/PaperCowboys

공개 프로퍼티들

프로퍼티 타입 설명
sndFire UnityEngine.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

비공개 메소드들

메소드 설명
RPCBoss3BeginDying ( ) : void
RPCBoss3TakeDamage ( float damage, NetworkPlayer owningPlayer ) : void
RPCBoss3TakeDamage ( float damage, PhotonPlayer, owningPlayer ) : void
RPCBoss3TakeDamage ( 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,UnityEngine sndFire
리턴 UnityEngine.AudioClip