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