C# Class Analytics, swip3

Class to store all the necessery information for the game. This class is used for the analytics of the game, and for the AI of the game. It only contains getters and setters and is not continuesly running when the game is, it only gets updated with an event.
Mostra file Open project: unit9/swip3 Class Usage Examples

Public Properties

Property Type Description
appName string
appVersion string
gua GoogleUniversalAnalytics
newLevelAnalyticsEventPrefix string
trackingID string
useHTTPS bool

Public Methods

Method Description
Awake ( ) : void
OnLevelWasLoaded ( int level ) : void
Start ( ) : void
changeScreen ( string newScreenName ) : void
setPlayerPref_disableAnalyticsByUserOptOut ( bool analyticsDisabled ) : void

Private Methods

Method Description
getPOSIXTime ( ) : int

Method Details

Awake() public method

public Awake ( ) : void
return void

OnLevelWasLoaded() public method

public OnLevelWasLoaded ( int level ) : void
level int
return void

Start() public method

public Start ( ) : void
return void

changeScreen() public static method

public static changeScreen ( string newScreenName ) : void
newScreenName string
return void

setPlayerPref_disableAnalyticsByUserOptOut() public static method

public static setPlayerPref_disableAnalyticsByUserOptOut ( bool analyticsDisabled ) : void
analyticsDisabled bool
return void

Property Details

appName public_oe property

public string appName
return string

appVersion public_oe property

public string appVersion
return string

gua public_oe static_oe property

public static GoogleUniversalAnalytics gua
return GoogleUniversalAnalytics

newLevelAnalyticsEventPrefix public_oe property

public string newLevelAnalyticsEventPrefix
return string

trackingID public_oe property

public string trackingID
return string

useHTTPS public_oe property

public bool useHTTPS
return bool