cull(engine-cleanup): pass-8 phase-2 cascade round 1 after GachaUI stub

This commit is contained in:
gamer147
2026-07-03 22:25:44 -04:00
parent a0533bf2e3
commit e3b8b8dc0c
69 changed files with 4 additions and 6301 deletions

View File

@@ -63,24 +63,4 @@ public static class DialogCreator
dialogBase.SetObj(NGUITools.AddChild(dialogBase.gameObject, Resources.Load<GameObject>("UI/DeckList/StageSelect")));
return dialogBase;
}
public static void ShowCpAppliedDialog(LotteryApplyData lotteryData, Action onFinish)
{
if (!lotteryData.IsEnable)
{
onFinish.Call();
return;
}
UIManager.GetInstance().LoadingViewManager.CreateInSceneCenter();
string path = LotteryApplyDialog.GetLotteryTexturePath(lotteryData, isFetch: false);
UIManager.GetInstance().StartCoroutine(Toolbox.ResourcesManager.LoadAssetAsync(path, delegate
{
UIManager.GetInstance().closeInSceneCenterLoading();
LotteryApplyDialog.Create(lotteryData, autoClose: false).OnClose = delegate
{
onFinish.Call();
Toolbox.ResourcesManager.RemoveAsset(path);
};
}));
}
}