void Awake() { if (Instance == null) { Instance = this; } else if (Instance != this) { Destroy(this); } else { DontDestroyOnLoad(this); } }
public override void EnterState(StateBase priorState) { float? nullable; GameplayMgr local1 = SubSystem <GameplayMgr> .cfd689ba95cb05e1458adf8457ab37a54; Song song1 = local1.c65b4a583e7f6cd5e76b8b4d6a7b85b50; this.c29df49907877de440240adc2b4b21da7 = song1; base.EnterState(priorState); c5499aa51b250adfeebe746167715ef8c.cd3d9f33d3ef09712052d53fc1f167e5f(ref nullable); SubSystem <AudioMgr> .cfd689ba95cb05e1458adf8457ab37a54.Announcer.PromptBuyPremiumContent.Play(nullable); AnalyticsMgr local2 = SubSystem <AnalyticsMgr> .cfd689ba95cb05e1458adf8457ab37a54; EventHitBuilder builder1 = new EventHitBuilder().SetEventCategory("PlaySong").SetEventAction("RequirePremium"); string eventLabel = this.c29df49907877de440240adc2b4b21da7.cd7680e8b14c2ac494b7e6a836f3febd7; EventHitBuilder builder2 = builder1.SetEventLabel(eventLabel); UserAccountMgr local3 = SubSystem <UserAccountMgr> .cfd689ba95cb05e1458adf8457ab37a54; EventHitBuilder builder = builder2.SetEventValue((long)local3.c08aab0b717c28869add34ab89fae61a5).SetCustomDimension(1, SubSystem <UserAccountMgr> .cfd689ba95cb05e1458adf8457ab37a54.c13a6f98599e34f034dd091dabbe0afec.ToString()); local2.LogEvent(builder); }