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

This commit is contained in:
gamer147
2026-07-03 22:26:45 -04:00
parent e3b8b8dc0c
commit 78971adc46
26 changed files with 2 additions and 370 deletions

View File

@@ -1,31 +0,0 @@
using Cute;
using UnityEngine;
namespace Wizard.Lottery;
public class LotteryApplyDialog : MonoBehaviour
{
private LotteryApplyData _data;
public static string GetLotteryTexturePath(LotteryApplyData data, bool isFetch)
{
return Toolbox.ResourcesManager.GetAssetTypePath(data.BannerFileName, ResourcesManager.AssetLoadPathType.Lottery, isFetch);
}
public static DialogBase Create(LotteryApplyData data, bool autoClose = true)
{
DialogBase dialogBase = UIManager.GetInstance().CreateDialogClose();
dialogBase.SetSize(DialogBase.Size.M);
dialogBase.SetTitleLabel(data.DialogTitle);
dialogBase.SetButtonLayout(DialogBase.ButtonLayout.OkBtn);
if (autoClose)
{
dialogBase.AutoClose(5f);
}
GameObject gameObject = Object.Instantiate(UIManager.GetInstance()._lotteryApplyPrefab);
gameObject.GetComponent<LotteryApplyDialog>()._data = data;
dialogBase.SetObj(gameObject);
return dialogBase;
}
}