C# Class GlobalPreferences, Void-Runner

Inheritance: MonoBehaviour
Mostra file Open project: NoScopeProductions/Void-Runner Class Usage Examples

Public Properties

Property Type Description
BOOST_PICKUPS string
CurrentTimeScale float
FUEL_PICKUPS string
HIGH_SCORE string
LAST_HIGHSCORE_NAME string
LastHighScoreName string
PLAYTHROUGHS string
SHIELD_PICKUPS string
SkipTutorial bool
gamePaused bool
shipSelected SHIP,

Public Methods

Method Description
SaveScoresToDisk ( Player, PlayerObject, bool ClearHighScore ) : void
SetDefaultTimeScale ( ) : void
SetTimeScale ( float newScale ) : void
TogglePause ( ) : void

Private Methods

Method Description
Awake ( ) : void
SaveLastHighScoreName ( ) : void
SetBoostCount ( Player, PlayerObject ) : void
SetFuelCount ( Player, PlayerObject ) : void
SetHighScore ( Player, PlayerObject, bool ClearHighScore ) : void
SetNumberPlaythroughs ( ) : void
SetShieldCount ( Player, PlayerObject ) : void

Method Details

SaveScoresToDisk() public static method

public static SaveScoresToDisk ( Player, PlayerObject, bool ClearHighScore ) : void
PlayerObject Player,
ClearHighScore bool
return void

SetDefaultTimeScale() public static method

public static SetDefaultTimeScale ( ) : void
return void

SetTimeScale() public static method

public static SetTimeScale ( float newScale ) : void
newScale float
return void

TogglePause() public static method

public static TogglePause ( ) : void
return void

Property Details

BOOST_PICKUPS public_oe static_oe property

public static string BOOST_PICKUPS
return string

CurrentTimeScale public_oe static_oe property

public static float CurrentTimeScale
return float

FUEL_PICKUPS public_oe static_oe property

public static string FUEL_PICKUPS
return string

HIGH_SCORE public_oe static_oe property

public static string HIGH_SCORE
return string

LAST_HIGHSCORE_NAME public_oe static_oe property

public static string LAST_HIGHSCORE_NAME
return string

LastHighScoreName public_oe static_oe property

public static string LastHighScoreName
return string

PLAYTHROUGHS public_oe static_oe property

public static string PLAYTHROUGHS
return string

SHIELD_PICKUPS public_oe static_oe property

public static string SHIELD_PICKUPS
return string

SkipTutorial public_oe static_oe property

public static bool SkipTutorial
return bool

gamePaused public_oe static_oe property

public static bool gamePaused
return bool

shipSelected public_oe static_oe property

public static SHIP, shipSelected
return SHIP,