C# Class PlayerCharacter, PaperCowboys

Inheritance: MonoBehaviour
Afficher le fichier Open project: Gamieon/PaperCowboys Class Usage Examples

Protected Properties

Свойство Type Description
cameraTransform Transform
gameDirector GameDirector

Méthodes publiques

Méthode Description
AddPlayerCharacter ( PlayerCharacter, playerCharacter ) : void

Adds the player character to AllPlayerCharacters.

Méthodes protégées

Méthode Description
Awake ( ) : void
GetColor ( ) : Color

Gets the character color.

OnDisable ( ) : void
OnEnable ( ) : void
PollGUIKeys ( ) : void

Called by the owning client from the InputPoller.Poll function within a subclass to respond to keystrokes.

Start ( ) : void
Update ( ) : void
UpdateGunAction ( ) : void

Called by the owning client from the InputPoller.Poll function within a subclass to update the player's current weapon.

Method Details

AddPlayerCharacter() public static méthode

Adds the player character to AllPlayerCharacters.
public static AddPlayerCharacter ( PlayerCharacter, playerCharacter ) : void
playerCharacter PlayerCharacter, /// Player character. ///
Résultat void

Awake() protected méthode

protected Awake ( ) : void
Résultat void

GetColor() protected méthode

Gets the character color.
protected GetColor ( ) : Color
Résultat Color

OnDisable() protected méthode

protected OnDisable ( ) : void
Résultat void

OnEnable() protected méthode

protected OnEnable ( ) : void
Résultat void

PollGUIKeys() protected méthode

Called by the owning client from the InputPoller.Poll function within a subclass to respond to keystrokes.
protected PollGUIKeys ( ) : void
Résultat void

Start() protected méthode

protected Start ( ) : void
Résultat void

Update() protected méthode

protected Update ( ) : void
Résultat void

UpdateGunAction() protected méthode

Called by the owning client from the InputPoller.Poll function within a subclass to update the player's current weapon.
protected UpdateGunAction ( ) : void
Résultat void

Property Details

cameraTransform protected_oe property

The cached camera transform.
protected Transform cameraTransform
Résultat Transform

gameDirector protected_oe property

The cached game director.
protected GameDirector gameDirector
Résultat GameDirector