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.
Afficher le fichier Open project: unit9/swip3 Class Usage Examples

Méthodes publiques

Свойство Type Description
appName string
appVersion string
gua GoogleUniversalAnalytics
newLevelAnalyticsEventPrefix string
trackingID string
useHTTPS bool

Méthodes publiques

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

Private Methods

Méthode Description
getPOSIXTime ( ) : int

Method Details

Awake() public méthode

public Awake ( ) : void
Résultat void

OnLevelWasLoaded() public méthode

public OnLevelWasLoaded ( int level ) : void
level int
Résultat void

Start() public méthode

public Start ( ) : void
Résultat void

changeScreen() public static méthode

public static changeScreen ( string newScreenName ) : void
newScreenName string
Résultat void

setPlayerPref_disableAnalyticsByUserOptOut() public static méthode

public static setPlayerPref_disableAnalyticsByUserOptOut ( bool analyticsDisabled ) : void
analyticsDisabled bool
Résultat void

Property Details

appName public_oe property

public string appName
Résultat string

appVersion public_oe property

public string appVersion
Résultat string

gua public_oe static_oe property

public static GoogleUniversalAnalytics gua
Résultat GoogleUniversalAnalytics

newLevelAnalyticsEventPrefix public_oe property

public string newLevelAnalyticsEventPrefix
Résultat string

trackingID public_oe property

public string trackingID
Résultat string

useHTTPS public_oe property

public bool useHTTPS
Résultat bool