C# Class 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.
Inheritance: PlayerCharacter, IInputPoller, IDamageTaker
Afficher le fichier Open project: Gamieon/PaperCowboys

Méthodes publiques

Méthode Description
OnPhotonInstantiate ( PhotonMessageInfo, info ) : void

Méthodes protégées

Méthode Description
Awake ( ) : void
CalculatePostureFromPlayerMovement ( ) : Posture,
DestroyThisCharacter ( ) : void
Start ( ) : void
Update ( ) : void

Private Methods

Méthode Description
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

Method Details

Awake() protected méthode

protected Awake ( ) : void
Résultat void

CalculatePostureFromPlayerMovement() protected méthode

protected CalculatePostureFromPlayerMovement ( ) : Posture,
Résultat Posture,

DestroyThisCharacter() protected méthode

protected DestroyThisCharacter ( ) : void
Résultat void

OnPhotonInstantiate() public méthode

public OnPhotonInstantiate ( PhotonMessageInfo, info ) : void
info PhotonMessageInfo,
Résultat void

Start() protected méthode

protected Start ( ) : void
Résultat void

Update() protected méthode

protected Update ( ) : void
Résultat void