C# 클래스 ProjectStorms.StateManager

상속: UnityEngine.MonoBehaviour
파일 보기 프로젝트 열기: patferguson/Storms-Project 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
colliders UnityEngine.GameObject
hinges UnityEngine.GameObject
meshes UnityEngine.GameObject
particlesEffectsHierachy UnityEngine.GameObject
playerReticle UnityEngine.GameObject
rouletteHierachy UnityEngine.GameObject
weaponsHierachy UnityEngine.GameObject

공개 메소드들

메소드 설명
Awake ( ) : void
BoostButton ( bool a_selectButton, bool a_dpadUp, bool a_dpadDown ) : void
DevHacks ( ) : void

Skip to next EPlayerState. If we add more states, make sure we add functionality here. We've intentionally left out Roulette for the Time being...........

GetPlayerState ( ) : EPlayerState
SetPlayerState ( EPlayerState a_state ) : void
Start ( ) : void
Update ( ) : void

비공개 메소드들

메소드 설명
ChangeToControl ( ) : void
ChangeToDying ( ) : void
ChangeToPregame ( ) : void
ChangeToRoulette ( ) : void
ChangeToStalling ( ) : void
ChangeToSuicide ( ) : void
ControlUpdate ( ) : void
DyingUpdate ( ) : void
GetAnyButtonDownMyPlayer ( ) : bool
PregameUpdate ( ) : void
ResetPlayerShip ( ) : void
RouletteUpdate ( ) : void
StallingUpdate ( ) : void
SuicideUpdate ( ) : void
ToggleShipParts ( bool a_colEnable, bool a_meshEnable, bool a_hingesEnable, bool a_rouletteEnable, bool a_particlesEnable, bool a_weaponsEnable ) : void

Toggles the ship's component parts and sub-children for the current state.

메소드 상세

Awake() 공개 메소드

public Awake ( ) : void
리턴 void

BoostButton() 공개 메소드

public BoostButton ( bool a_selectButton, bool a_dpadUp, bool a_dpadDown ) : void
a_selectButton bool
a_dpadUp bool
a_dpadDown bool
리턴 void

DevHacks() 공개 메소드

Skip to next EPlayerState. If we add more states, make sure we add functionality here. We've intentionally left out Roulette for the Time being...........
public DevHacks ( ) : void
리턴 void

GetPlayerState() 공개 메소드

public GetPlayerState ( ) : EPlayerState
리턴 EPlayerState

SetPlayerState() 공개 메소드

public SetPlayerState ( EPlayerState a_state ) : void
a_state EPlayerState
리턴 void

Start() 공개 메소드

public Start ( ) : void
리턴 void

Update() 공개 메소드

public Update ( ) : void
리턴 void

프로퍼티 상세

colliders 공개적으로 프로퍼티

Good to make sure the airship HAS an input manager.
public GameObject,UnityEngine colliders
리턴 UnityEngine.GameObject

hinges 공개적으로 프로퍼티

public GameObject,UnityEngine hinges
리턴 UnityEngine.GameObject

meshes 공개적으로 프로퍼티

public GameObject,UnityEngine meshes
리턴 UnityEngine.GameObject

particlesEffectsHierachy 공개적으로 프로퍼티

public GameObject,UnityEngine particlesEffectsHierachy
리턴 UnityEngine.GameObject

playerReticle 공개적으로 프로퍼티

public GameObject,UnityEngine playerReticle
리턴 UnityEngine.GameObject

rouletteHierachy 공개적으로 프로퍼티

public GameObject,UnityEngine rouletteHierachy
리턴 UnityEngine.GameObject

weaponsHierachy 공개적으로 프로퍼티

public GameObject,UnityEngine weaponsHierachy
리턴 UnityEngine.GameObject