C# 클래스 PlayerCharacter, PaperCowboys

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

보호된 프로퍼티들

프로퍼티 타입 설명
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