C# Class Analytics.GameMetricLogger

Inheritance: UnityEngine.MonoBehaviour
Show file Open project: tommai78101/Multiplier Class Usage Examples

Public Properties

Property Type Description
debugFlag bool
difficultyEquations string
gameMetricsLogGroup UnityEngine.CanvasGroup
instance GameMetricLogger
levelDifficulty int
numberOfAttacks int
numberOfDeaths int
numberOfKills int
numberOfMerges int
numberOfSplits int
outputField InputField
playerName string
stringBuilder System.Text.StringBuilder
totalAttackTime float
totalBattleEngagementTime float
totalGameTime float
totalGameTimeSinceEpoch float
triggerKey KeyCode

Public Methods

Method Description
Decrement ( GameMetricOptions options ) : void
DisableCanvasGroup ( ) : void
DisableLoggerHotkey ( ) : void
EnableCanvasGroup ( ) : void
EnableLoggerHotkey ( ) : void
Increment ( GameMetricOptions options ) : void
PrintLog ( ) : void
ResetLogger ( ) : void
SetDifficultyEquation ( string equation ) : void
SetGameLogger ( GameLoggerOptions options ) : void
SetPlayerName ( string name ) : void
ShowPrintLog ( ) : void
Start ( ) : void
Update ( ) : void

Private Methods

Method Description
CreateCell ( int x, int y, string tag ) : string
GetLevelDifficulty ( ) : string
Initialization ( ) : void
Print ( ) : void
ToggleCanvasGroup ( ) : void

Method Details

Decrement() public static method

public static Decrement ( GameMetricOptions options ) : void
options GameMetricOptions
return void

DisableCanvasGroup() public method

public DisableCanvasGroup ( ) : void
return void

DisableLoggerHotkey() public static method

public static DisableLoggerHotkey ( ) : void
return void

EnableCanvasGroup() public method

public EnableCanvasGroup ( ) : void
return void

EnableLoggerHotkey() public static method

public static EnableLoggerHotkey ( ) : void
return void

Increment() public static method

public static Increment ( GameMetricOptions options ) : void
options GameMetricOptions
return void

PrintLog() public static method

public static PrintLog ( ) : void
return void

ResetLogger() public static method

public static ResetLogger ( ) : void
return void

SetDifficultyEquation() public static method

public static SetDifficultyEquation ( string equation ) : void
equation string
return void

SetGameLogger() public static method

public static SetGameLogger ( GameLoggerOptions options ) : void
options GameLoggerOptions
return void

SetPlayerName() public static method

public static SetPlayerName ( string name ) : void
name string
return void

ShowPrintLog() public static method

public static ShowPrintLog ( ) : void
return void

Start() public method

public Start ( ) : void
return void

Update() public method

public Update ( ) : void
return void

Property Details

debugFlag public property

public bool debugFlag
return bool

difficultyEquations public property

public string difficultyEquations
return string

gameMetricsLogGroup public property

public CanvasGroup,UnityEngine gameMetricsLogGroup
return UnityEngine.CanvasGroup

instance public static property

public static GameMetricLogger,Analytics instance
return GameMetricLogger

levelDifficulty public property

public int levelDifficulty
return int

numberOfAttacks public property

public int numberOfAttacks
return int

numberOfDeaths public property

public int numberOfDeaths
return int

numberOfKills public property

public int numberOfKills
return int

numberOfMerges public property

public int numberOfMerges
return int

numberOfSplits public property

public int numberOfSplits
return int

outputField public property

public InputField outputField
return InputField

playerName public property

public string playerName
return string

stringBuilder public property

public StringBuilder,System.Text stringBuilder
return System.Text.StringBuilder

totalAttackTime public property

public float totalAttackTime
return float

totalBattleEngagementTime public property

public float totalBattleEngagementTime
return float

totalGameTime public property

public float totalGameTime
return float

totalGameTimeSinceEpoch public property

public float totalGameTimeSinceEpoch
return float

triggerKey public property

public KeyCode triggerKey
return KeyCode