C# 클래스 Thug, PaperCowboys

상속: MonoBehaviour
파일 보기 프로젝트 열기: Gamieon/PaperCowboys 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
thugType ThugType

공개 메소드들

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

UpdateWalkingDirection ( ) : void

This function is called in regular intervals by all clients to make the thug decide where to walk around if it can.

보호된 메소드들

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

비공개 메소드들

메소드 설명
RPCDestroy ( ) : void
RPCThugBeginDying ( ) : void
RPCThugTakeDamage ( float damage, NetworkPlayer owningPlayer ) : void
RPCThugTakeDamage ( float damage, PhotonPlayer, owningPlayer ) : void
RPCThugTakeDamage ( float damage, uLink owningPlayer ) : 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

Start() 보호된 메소드

protected Start ( ) : void
리턴 void

UpdateWalkingDirection() 공개 메소드

This function is called in regular intervals by all clients to make the thug decide where to walk around if it can.
public UpdateWalkingDirection ( ) : void
리턴 void

프로퍼티 상세

thugType 공개적으로 프로퍼티

The type of the thug.
public ThugType thugType
리턴 ThugType