C# Class GameStateController, Hero.Coli

Inheritance: MonoBehaviour
Afficher le fichier Open project: CyberCRI/Hero.Coli Class Usage Examples

Méthodes publiques

Свойство Type Description
_bacteriumScene string
_craftingKey string
_forgetDevicesKey string
_interfaceScene string
_inventoryKey string
_masterScene string
_pauseKey string
_sandboxKey string
endMainMenuButton EndMainMenuButton,
fadeSprite Fade,
gUITransitioner GUITransitioner,
gameObjectName string
intro GameObject
introContinueButton ContinueButton,
keyPrefix string
mainMenu MainMenuManager,

Méthodes publiques

Méthode Description
changeState ( GameState, newState ) : void
endGame ( ) : void
get ( ) : GameStateController,
getKeyCode ( string localizationKey ) : KeyCode,
getPausesInStackCount ( ) : int
getState ( ) : GameState,
goToMainMenu ( ) : void
goToMainMenuFrom ( GameState, state ) : void
goToOtherGameMode ( ) : void
isShortcutKey ( KeyCode, code, bool restricted = false ) : bool
isShortcutKey ( string localizationKey, bool restricted = false ) : bool
isShortcutKeyDown ( KeyCode, code, bool restricted = false ) : bool
isShortcutKeyDown ( string localizationKey, bool restricted = false ) : bool
leaveMainMenu ( ) : void
popPauseInStack ( ) : int
restart ( ) : void
setAndSaveLevelName ( GameConfiguration, newMap, string cause = null ) : void
triggerEnd ( EndGameCollider, egc ) : void
tryLockPause ( ) : void
tryUnlockPause ( ) : void
updateAdminStatus ( ) : void

Private Methods

Méthode Description
Awake ( ) : void
OnDestroy ( ) : void
Start ( ) : void
Update ( ) : void
getStateFromTarget ( GameStateTarget target ) : GameState,
internalRestart ( ) : void
loadLevels ( ) : void
prepareGameLevelIfNecessary ( ) : void
pushPauseInStack ( ) : int
resetPauseStack ( ) : void
waitFade ( float waitTime, EndGameCollider, egc ) : IEnumerator

Method Details

changeState() public méthode

public changeState ( GameState, newState ) : void
newState GameState,
Résultat void

endGame() public méthode

public endGame ( ) : void
Résultat void

get() public static méthode

public static get ( ) : GameStateController,
Résultat GameStateController,

getKeyCode() public static méthode

public static getKeyCode ( string localizationKey ) : KeyCode,
localizationKey string
Résultat KeyCode,

getPausesInStackCount() public static méthode

public static getPausesInStackCount ( ) : int
Résultat int

getState() public méthode

public getState ( ) : GameState,
Résultat GameState,

goToMainMenu() public méthode

public goToMainMenu ( ) : void
Résultat void

goToMainMenuFrom() public méthode

public goToMainMenuFrom ( GameState, state ) : void
state GameState,
Résultat void

goToOtherGameMode() public méthode

public goToOtherGameMode ( ) : void
Résultat void

isShortcutKey() public static méthode

public static isShortcutKey ( KeyCode, code, bool restricted = false ) : bool
code KeyCode,
restricted bool
Résultat bool

isShortcutKey() public static méthode

public static isShortcutKey ( string localizationKey, bool restricted = false ) : bool
localizationKey string
restricted bool
Résultat bool

isShortcutKeyDown() public static méthode

public static isShortcutKeyDown ( KeyCode, code, bool restricted = false ) : bool
code KeyCode,
restricted bool
Résultat bool

isShortcutKeyDown() public static méthode

public static isShortcutKeyDown ( string localizationKey, bool restricted = false ) : bool
localizationKey string
restricted bool
Résultat bool

leaveMainMenu() public méthode

public leaveMainMenu ( ) : void
Résultat void

popPauseInStack() public méthode

public popPauseInStack ( ) : int
Résultat int

restart() public static méthode

public static restart ( ) : void
Résultat void

setAndSaveLevelName() public méthode

public setAndSaveLevelName ( GameConfiguration, newMap, string cause = null ) : void
newMap GameConfiguration,
cause string
Résultat void

triggerEnd() public méthode

public triggerEnd ( EndGameCollider, egc ) : void
egc EndGameCollider,
Résultat void

tryLockPause() public méthode

public tryLockPause ( ) : void
Résultat void

tryUnlockPause() public méthode

public tryUnlockPause ( ) : void
Résultat void

updateAdminStatus() public static méthode

public static updateAdminStatus ( ) : void
Résultat void

Property Details

_bacteriumScene public_oe static_oe property

public static string _bacteriumScene
Résultat string

_craftingKey public_oe static_oe property

public static string _craftingKey
Résultat string

_forgetDevicesKey public_oe static_oe property

public static string _forgetDevicesKey
Résultat string

_interfaceScene public_oe static_oe property

public static string _interfaceScene
Résultat string

_inventoryKey public_oe static_oe property

public static string _inventoryKey
Résultat string

_masterScene public_oe static_oe property

public static string _masterScene
Résultat string

_pauseKey public_oe static_oe property

public static string _pauseKey
Résultat string

_sandboxKey public_oe static_oe property

public static string _sandboxKey
Résultat string

endMainMenuButton public_oe property

public EndMainMenuButton, endMainMenuButton
Résultat EndMainMenuButton,

fadeSprite public_oe property

public Fade, fadeSprite
Résultat Fade,

gUITransitioner public_oe property

public GUITransitioner, gUITransitioner
Résultat GUITransitioner,

gameObjectName public_oe static_oe property

public static string gameObjectName
Résultat string

intro public_oe property

public GameObject intro
Résultat GameObject

introContinueButton public_oe property

public ContinueButton, introContinueButton
Résultat ContinueButton,

keyPrefix public_oe static_oe property

public static string keyPrefix
Résultat string

mainMenu public_oe property

public MainMenuManager, mainMenu
Résultat MainMenuManager,