C# Класс PlayerCharacter, PaperCowboys

Наследование: MonoBehaviour
Показать файл Открыть проект Примеры использования класса

Защищенные свойства (Protected)

Свойство Тип Описание
cameraTransform Transform
gameDirector GameDirector

Открытые методы

Метод Описание
AddPlayerCharacter ( PlayerCharacter, playerCharacter ) : void

Adds the player character to AllPlayerCharacters.

Защищенные методы

Метод Описание
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.

Описание методов

AddPlayerCharacter() публичный статический Метод

Adds the player character to AllPlayerCharacters.
public static AddPlayerCharacter ( PlayerCharacter, playerCharacter ) : void
playerCharacter PlayerCharacter, /// Player character. ///
Результат void

Awake() защищенный Метод

protected Awake ( ) : void
Результат void

GetColor() защищенный Метод

Gets the character color.
protected GetColor ( ) : Color
Результат Color

OnDisable() защищенный Метод

protected OnDisable ( ) : void
Результат void

OnEnable() защищенный Метод

protected OnEnable ( ) : void
Результат void

PollGUIKeys() защищенный Метод

Called by the owning client from the InputPoller.Poll function within a subclass to respond to keystrokes.
protected PollGUIKeys ( ) : void
Результат void

Start() защищенный Метод

protected Start ( ) : void
Результат void

Update() защищенный Метод

protected Update ( ) : void
Результат void

UpdateGunAction() защищенный Метод

Called by the owning client from the InputPoller.Poll function within a subclass to update the player's current weapon.
protected UpdateGunAction ( ) : void
Результат void

Описание свойств

cameraTransform защищенное свойство

The cached camera transform.
protected Transform cameraTransform
Результат Transform

gameDirector защищенное свойство

The cached game director.
protected GameDirector gameDirector
Результат GameDirector