C# 클래스 PlayerHorseback, PaperCowboys

Characters that belong to players may have this as a component. What makes this unique from PlayerCharacter is it polls for movements, as well as damage management.
상속: PlayerCharacter, IInputPoller, IDamageTaker
파일 보기 프로젝트 열기: Gamieon/PaperCowboys

공개 메소드들

메소드 설명
OnPhotonInstantiate ( PhotonMessageInfo, info ) : void

보호된 메소드들

메소드 설명
Awake ( ) : void
CalculatePostureFromPlayerMovement ( ) : Posture,
DestroyThisCharacter ( ) : void
Start ( ) : void
Update ( ) : void

비공개 메소드들

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

IInputPoller ( ) : bool

Called to begin polling this input object

IInputPoller ( ) : void

Called when polling has finished

IInputPoller ( Rect screenArea ) : void

Called to render the GUI

LateUpdate ( ) : void
RPCDestroy ( ) : void
RPCNetworkInstantiate ( NetworkPlayer owner ) : void
RPCPlayerCharacterHorseBeginDying ( ) : void
RPCPlayerCharacterHorseTakeDamage ( float damage ) : void
UpdateAim ( ) : void

Called by the owning client from IInputPoller.Poll to update the gun aim.

UpdatePlayerMovements ( ) : void

Called by the owning client from IInputPoller.Poll to update player movement states

메소드 상세

Awake() 보호된 메소드

protected Awake ( ) : void
리턴 void

CalculatePostureFromPlayerMovement() 보호된 메소드

protected CalculatePostureFromPlayerMovement ( ) : Posture,
리턴 Posture,

DestroyThisCharacter() 보호된 메소드

protected DestroyThisCharacter ( ) : void
리턴 void

OnPhotonInstantiate() 공개 메소드

public OnPhotonInstantiate ( PhotonMessageInfo, info ) : void
info PhotonMessageInfo,
리턴 void

Start() 보호된 메소드

protected Start ( ) : void
리턴 void

Update() 보호된 메소드

protected Update ( ) : void
리턴 void