Add TapADN smart preload attribution

This commit is contained in:
2026-06-05 21:44:35 +08:00
parent 09fe0f0f35
commit 3341169f9b
12 changed files with 1133 additions and 7 deletions

View File

@@ -183,6 +183,8 @@ public sealed class TapadnIAAAdDebugSampleGui : MonoBehaviour
GUILayout.Label(
$"Channel/SubChannel/Debug: {DisplayValue(options.Channel)}/{DisplayValue(options.SubChannel)}/{options.Debug}",
_textStyle);
GUILayout.Label($"Smart Preload: enabled={options.SmartPreloadEnabled}, asset={DisplayValue(options.SmartPreloadConfigAssetPath)}", _textStyle);
GUILayout.Label($"Smart Policy Snapshot: {TapadnSmartLoadOrchestrator.GetDebugStateDump()}", _textStyle);
}
if (showVerboseState && GUILayout.Button("Refresh Status Snapshot", _buttonStyle, GUILayout.Height(64f)))
@@ -191,6 +193,12 @@ public sealed class TapadnIAAAdDebugSampleGui : MonoBehaviour
AppendLog("Manual status snapshot refreshed.");
}
if (GUILayout.Button("Reset SmartLoad Learning State", _buttonStyle, GUILayout.Height(64f)))
{
TapadnSmartLoadOrchestrator.ResetLearningState();
AppendLog("TapADN SmartLoad learning state reset.");
}
GUILayout.Space(10f);
}