Copied the 89 uncopied AI*SimulationUtility/extension files defining the AIVirtualCard/AIVirtualField extension methods; the compile loop then auto-closed the revealed type deps (~3049 files total, drift-clean). 10.0k -> 62 errors.
27 lines
638 B
C#
27 lines
638 B
C#
using UnityEngine;
|
|
|
|
namespace Wizard.Lottery;
|
|
|
|
public class LotterySpecialRewardDialog : MonoBehaviour
|
|
{
|
|
[SerializeField]
|
|
private UILabel _labelDescription;
|
|
|
|
private LotteryRewardData _lotteryRewardData;
|
|
|
|
public void Init(LotteryRewardData lotteryRewardData)
|
|
{
|
|
_lotteryRewardData = lotteryRewardData;
|
|
_labelDescription.text = _lotteryRewardData.Description;
|
|
}
|
|
|
|
public void OnClickSpecialRewardSiteBtn()
|
|
{
|
|
GameMgr.GetIns().GetSoundMgr().PlaySe(Se.TYPE.SYS_BTN_DECIDE);
|
|
if (_lotteryRewardData.IsSpecial)
|
|
{
|
|
UIManager.GetInstance().WebViewHelper.OpenUrl(_lotteryRewardData.LotteryUrl);
|
|
}
|
|
}
|
|
}
|