| | |
| | | using DG.Tweening; |
| | | using Cysharp.Threading.Tasks; |
| | | |
| | | //目前没用,用的是SDK的 |
| | | public class RequestSecretWin : UIBase |
| | | { |
| | | // 组件引用 |
| | |
| | | base.InitComponent(); |
| | | // 初始化组件引用 |
| | | m_Confirm.SetListener(Confirm); |
| | | m_Cannel.SetListener(() => { |
| | | m_Cannel.SetListener(() => |
| | | { |
| | | Debug.LogError("Cannel"); |
| | | CloseWindow(); |
| | | #if UNITY_EDITOR |
| | |
| | | Application.Quit(); |
| | | #endif |
| | | }); |
| | | m_Fuwu.SetListener(()=> { |
| | | m_Fuwu.SetListener(() => |
| | | { |
| | | // GameAgeWarnWin.data = 1; |
| | | // UIManager.Instance.OpenWindow<GameAgeWarnWin>(); |
| | | SDKUtils.Instance.OpenUrl("https://res.xingwan001.com/storage/d1rhn239ao69cjnvqa9g"); |
| | | }); |
| | | m_Yinsi.SetListener(() => { |
| | | m_Yinsi.SetListener(() => |
| | | { |
| | | // GameAgeWarnWin.data = 2; |
| | | // UIManager.Instance.OpenWindow<GameAgeWarnWin>(); |
| | | SDKUtils.Instance.OpenUrl("https://res.xingwan001.com/storage/d1rhhuj9ao69cjnvqa90"); |
| | | }); |
| | | } |
| | | |