C# Class ProjectStorms.StateManager

Inheritance: UnityEngine.MonoBehaviour
Afficher le fichier Open project: patferguson/Storms-Project Class Usage Examples

Méthodes publiques

Свойство Type Description
colliders UnityEngine.GameObject
hinges UnityEngine.GameObject
meshes UnityEngine.GameObject
particlesEffectsHierachy UnityEngine.GameObject
playerReticle UnityEngine.GameObject
rouletteHierachy UnityEngine.GameObject
weaponsHierachy UnityEngine.GameObject

Méthodes publiques

Méthode 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

Méthode 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 méthode

public Awake ( ) : void
Résultat void

BoostButton() public méthode

public BoostButton ( bool a_selectButton, bool a_dpadUp, bool a_dpadDown ) : void
a_selectButton bool
a_dpadUp bool
a_dpadDown bool
Résultat void

DevHacks() public méthode

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
Résultat void

GetPlayerState() public méthode

public GetPlayerState ( ) : EPlayerState
Résultat EPlayerState

SetPlayerState() public méthode

public SetPlayerState ( EPlayerState a_state ) : void
a_state EPlayerState
Résultat void

Start() public méthode

public Start ( ) : void
Résultat void

Update() public méthode

public Update ( ) : void
Résultat void

Property Details

colliders public_oe property

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

hinges public_oe property

public GameObject,UnityEngine hinges
Résultat UnityEngine.GameObject

meshes public_oe property

public GameObject,UnityEngine meshes
Résultat UnityEngine.GameObject

particlesEffectsHierachy public_oe property

public GameObject,UnityEngine particlesEffectsHierachy
Résultat UnityEngine.GameObject

playerReticle public_oe property

public GameObject,UnityEngine playerReticle
Résultat UnityEngine.GameObject

rouletteHierachy public_oe property

public GameObject,UnityEngine rouletteHierachy
Résultat UnityEngine.GameObject

weaponsHierachy public_oe property

public GameObject,UnityEngine weaponsHierachy
Résultat UnityEngine.GameObject