public override void OnEnter() { if (!Score.IsNone) { if (!Progression03.IsNone && !Progression02.IsNone) { GA_Progression.NewEvent(ProgressionStatus, Progression01.Value, Progression02.Value, Progression03.Value, Score.Value); } else if (!Progression02.IsNone) { GA_Progression.NewEvent(ProgressionStatus, Progression01.Value, Progression02.Value, Score.Value); } else { GA_Progression.NewEvent(ProgressionStatus, Progression01.Value, Score.Value); } } else { if (!Progression03.IsNone && !Progression02.IsNone) { GA_Progression.NewEvent(ProgressionStatus, Progression01.Value, Progression02.Value, Progression03.Value); } else if (!Progression02.IsNone) { GA_Progression.NewEvent(ProgressionStatus, Progression01.Value, Progression02.Value); } else { GA_Progression.NewEvent(ProgressionStatus, Progression01.Value); } } Finish(); }
public static void DidFinishLevel(int levelNumber) { GA_Progression.NewEvent(GAProgressionStatus.Complete, "level", levelNumber.ToString(), new Dictionary <string, object>()); }