C# Class ProjectStorms.StateManager

Inheritance: UnityEngine.MonoBehaviour
显示文件 Open project: patferguson/Storms-Project Class Usage Examples

Public Properties

Property Type Description
colliders UnityEngine.GameObject
hinges UnityEngine.GameObject
meshes UnityEngine.GameObject
particlesEffectsHierachy UnityEngine.GameObject
playerReticle UnityEngine.GameObject
rouletteHierachy UnityEngine.GameObject
weaponsHierachy UnityEngine.GameObject

Public Methods

Method Description
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

Private Methods

Method Description
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.

Method Details

Awake() public method

public Awake ( ) : void
return void

BoostButton() public method

public BoostButton ( bool a_selectButton, bool a_dpadUp, bool a_dpadDown ) : void
a_selectButton bool
a_dpadUp bool
a_dpadDown bool
return void

DevHacks() public method

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
return void

GetPlayerState() public method

public GetPlayerState ( ) : EPlayerState
return EPlayerState

SetPlayerState() public method

public SetPlayerState ( EPlayerState a_state ) : void
a_state EPlayerState
return void

Start() public method

public Start ( ) : void
return void

Update() public method

public Update ( ) : void
return void

Property Details

colliders public_oe property

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

hinges public_oe property

public GameObject,UnityEngine hinges
return UnityEngine.GameObject

meshes public_oe property

public GameObject,UnityEngine meshes
return UnityEngine.GameObject

particlesEffectsHierachy public_oe property

public GameObject,UnityEngine particlesEffectsHierachy
return UnityEngine.GameObject

playerReticle public_oe property

public GameObject,UnityEngine playerReticle
return UnityEngine.GameObject

rouletteHierachy public_oe property

public GameObject,UnityEngine rouletteHierachy
return UnityEngine.GameObject

weaponsHierachy public_oe property

public GameObject,UnityEngine weaponsHierachy
return UnityEngine.GameObject