cull(engine-cleanup): pass-8 phase-2 cascade round 1 after GachaUI stub
This commit is contained in:
@@ -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);
|
||||
};
|
||||
}));
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user