void Awake() { if (Adjust.instance != null) { return; } DontDestroyOnLoad(transform.gameObject); if (!this.startManually) { AdjustConfig adjustConfig = new AdjustConfig(this.appToken, this.environment); adjustConfig.setLogLevel(this.logLevel); adjustConfig.setEventBufferingEnabled(eventBuffering); if (printAttribution) { adjustConfig.setEventSuccessDelegate(EventSuccessCallback); adjustConfig.setEventFailureDelegate(EventFailureCallback); adjustConfig.setSessionSuccessDelegate(SessionSuccessCallback); adjustConfig.setSessionFailureDelegate(SessionFailureCallback); adjustConfig.setAttributionChangedDelegate(AttributionChangedCallback); } Adjust.start(adjustConfig); } }
// Token: 0x06000071 RID: 113 RVA: 0x00003E18 File Offset: 0x00002218 private void Awake() { if (Adjust.instance != null) { return; } UnityEngine.Object.DontDestroyOnLoad(base.transform.gameObject); if (!this.startManually) { AdjustConfig adjustConfig = new AdjustConfig(this.appToken, this.environment, this.logLevel == AdjustLogLevel.Suppress); adjustConfig.setLogLevel(this.logLevel); adjustConfig.setSendInBackground(this.sendInBackground); adjustConfig.setEventBufferingEnabled(this.eventBuffering); adjustConfig.setLaunchDeferredDeeplink(this.launchDeferredDeeplink); if (this.printAttribution) { adjustConfig.setEventSuccessDelegate(new Action <AdjustEventSuccess>(this.EventSuccessCallback), "Adjust"); adjustConfig.setEventFailureDelegate(new Action <AdjustEventFailure>(this.EventFailureCallback), "Adjust"); adjustConfig.setSessionSuccessDelegate(new Action <AdjustSessionSuccess>(this.SessionSuccessCallback), "Adjust"); adjustConfig.setSessionFailureDelegate(new Action <AdjustSessionFailure>(this.SessionFailureCallback), "Adjust"); adjustConfig.setDeferredDeeplinkDelegate(new Action <string>(this.DeferredDeeplinkCallback), "Adjust"); adjustConfig.setAttributionChangedDelegate(new Action <AdjustAttribution>(this.AttributionChangedCallback), "Adjust"); } Adjust.start(adjustConfig); } }
void Awake() { if (Adjust.instance != null) { return; } DontDestroyOnLoad(transform.gameObject); if (!this.startManually) { AdjustConfig adjustConfig; adjustConfig = new AdjustConfig(this.appToken, this.environment, (this.logLevel == AdjustLogLevel.Suppress)); adjustConfig.setLogLevel(this.logLevel); adjustConfig.setSendInBackground(this.sendInBackground); adjustConfig.setEventBufferingEnabled(this.eventBuffering); adjustConfig.setLaunchDeferredDeeplink(this.launchDeferredDeeplink); if (printAttribution) { adjustConfig.setEventSuccessDelegate(EventSuccessCallback); adjustConfig.setEventFailureDelegate(EventFailureCallback); adjustConfig.setSessionSuccessDelegate(SessionSuccessCallback); adjustConfig.setSessionFailureDelegate(SessionFailureCallback); adjustConfig.setDeferredDeeplinkDelegate(DeferredDeeplinkCallback); adjustConfig.setAttributionChangedDelegate(AttributionChangedCallback); } Adjust.start(adjustConfig); } }