fix: 添加构造函数中的参数注入
							parent
							
								
									4d1ca2fe96
								
							
						
					
					
						commit
						7d6286cfcb
					
				|  | @ -68,6 +68,7 @@ namespace Guru | |||
|             bool iapEnabled = true,  | ||||
|             bool autoRecordFinishedLevels = true,  | ||||
|             bool isBuyNoAds = false, | ||||
|             Action<string> onDeeplinkCallback = null, | ||||
|             string bannerBackgroundColor = "#00000000", | ||||
|             bool debugMode = false, | ||||
|             Dictionary<string, object> defaultRemoteData = null, | ||||
|  | @ -86,6 +87,7 @@ namespace Guru | |||
|                 DebugMode = debugMode, | ||||
|                 GoogleKeys = googleKeys, | ||||
|                 AppleRootCerts = appleRootCerts, | ||||
|                 OnDeeplinkCallback = onDeeplinkCallback, | ||||
|                 DefaultRemoteData = defaultRemoteData ?? new Dictionary<string, object>(), | ||||
|             }; | ||||
| #if UNITY_EDITOR | ||||
|  |  | |||
|  | @ -101,7 +101,7 @@ namespace Guru | |||
|             byte[] appleRootCerts = null) | ||||
|         { | ||||
|             var config = GuruSDKInitConfig.Build(useCustomConsent, autoLoadAds, iapEnabled,  | ||||
|                 autoRecordFinishedLevels, isBuyNoAds, bannerColor, | ||||
|                 autoRecordFinishedLevels, isBuyNoAds, onDeeplinkCallback, bannerColor, | ||||
|                 debugMode, defaultRemoteData, googleKeys, appleRootCerts); | ||||
|             return config; | ||||
|         } | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue