// Start is called before the first frame update void Start() { if (enable != "0") { SGAdvertising.Setup(); if (SGAdvertising.SetupReady) { RequestBanner(); } } }
void Start() { enable = SGFirebase.RemoteSettings(remoteSettingsAdsEnable, "0"); if (enable != "0") { SGAdvertising.Setup(); if (SGAdvertising.SetupReady) { RequestInterstitial(); } } }
void Start() { if (firebaseActivate) { SGFirebase.Setup(); if (Debug.isDebugBuild) { StartCoroutine(SGFirebase.RemoteSettingsCountDown(debugRemoteSettingsIntervalUpdate)); } else { StartCoroutine(SGFirebase.RemoteSettingsCountDown(remoteSettingsIntervalUpdate)); } } //analytics SGAnalytics.AnalyticsTraking(SGAnalytics.AnalyticsEvents.StartGame); //adversiting SGAdvertising.Setup(); StartGame(); // sync scenes SGScenes.IndexAbout = indexAbout; SGScenes.IndexTermsPrivacy = indexTermsPrivacy; SGScenes.IndexEnding = indexEnding; SGScenes.IndexFirstLevel = indexFirstLevel; SGScenes.IndexGameOver = indexGameOver; SGScenes.IndexHome = indexHome; SGScenes.IndexLoading = indexLoading; SGScenes.IndexLoadSave = indexLoadSave; SGScenes.IndexSettings = indexSettings; SGScenes.IndexAuth = indexAuth; SGScenes.IndexHelp = indexHelp; SGDeepLink.ReceiveExternalCall(deepLinkParam); }