update: 更新参数注入逻辑
							parent
							
								
									880ffebe5c
								
							
						
					
					
						commit
						8e6290e475
					
				|  | @ -253,6 +253,17 @@ namespace Guru.Editor.Max | |||
|                 }); | ||||
|             }); | ||||
|             GUILayout.Space(8); | ||||
|              | ||||
|             EUI.Label($"{indentStr}[ Default: {GuruMaxSdkAPI.DefaultAddApsSkAdNetworkIds} ]"); | ||||
|             EUI.BoxLineItem($"{indentStr}Add Aps SkAdNetwork Ids(iOS)", label_width, contents: () => | ||||
|             { | ||||
|                 EUI.Toggle(_addApsSkAdNetworkIds, value => | ||||
|                 { | ||||
|                     _isDirty = true; | ||||
|                     _addApsSkAdNetworkIds = value; | ||||
|                 }); | ||||
|             }); | ||||
|             GUILayout.Space(8); | ||||
| 
 | ||||
|         } | ||||
| 
 | ||||
|  |  | |||
|  | @ -26,6 +26,7 @@ namespace Guru.Editor.Max | |||
|         public static bool DefaultQualityServiceEnabled = true; | ||||
|         public static bool DefaultUseMaxConsentFlow = false; | ||||
|         public static bool DefaultAttributionReportEndpoint = true; | ||||
|         public static bool DefaultAddApsSkAdNetworkIds = true; | ||||
|          | ||||
|          | ||||
| 
 | ||||
|  | @ -132,6 +133,7 @@ namespace Guru.Editor.Max | |||
|             settings.QualityServiceEnabled = DefaultQualityServiceEnabled; | ||||
|             settings.SetAttributionReportEndpoint = DefaultAttributionReportEndpoint; | ||||
|             settings.ConsentFlowEnabled = DefaultUseMaxConsentFlow; | ||||
|             settings.AddApsSkAdNetworkIds = DefaultAddApsSkAdNetworkIds; | ||||
|             AssetDatabase.CreateAsset(settings, AppLovinSettingsAssetPath); | ||||
|             AssetDatabase.SaveAssetIfDirty(settings); | ||||
|             AssetDatabase.Refresh(); | ||||
|  |  | |||
|  | @ -1,5 +1,5 @@ | |||
| fileFormatVersion: 2 | ||||
| guid: 26bc0f0d9ea814ca5a40e91ea65c96c6 | ||||
| guid: dcf2020c4018447c9b91170c0f62d799 | ||||
| labels: | ||||
| - al_max | ||||
| - al_max_export_path-MaxSdk/Mediation | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue