feat:1、添加项目

This commit is contained in:
2026-06-02 10:26:44 +08:00
commit dfead2c461
7518 changed files with 748693 additions and 0 deletions
@@ -0,0 +1,73 @@
using System;
using DG.Tweening;
using FGUI.ZM_Login_05;
using UnityEngine;
namespace BallKingdomCrush
{
public class TipsViewUI : BaseUI
{
private TipsViewUICtrl ctrl;
private TipsViewModel model;
private FGUI.ZM_Common_01.com_tips ui;
public TipsViewUI(TipsViewUICtrl ctrl) : base(ctrl)
{
uiName = UIConst.TipsViewUI;
this.ctrl = ctrl;
}
protected override void SetUIInfo(UIInfo uiInfo)
{
uiInfo.packageName = "ZM_Common_01";
uiInfo.assetName = "com_tips";
uiInfo.layerType = UILayerType.Loading;
}
protected override void OnInit()
{
}
protected override void OnClose()
{
CommonHelper.FadeOut(ui);
}
protected override void OnBind()
{
ui = baseUI as FGUI.ZM_Common_01.com_tips;
}
protected override void OnOpenBefore(object args)
{
if (args != null ) {
InitView((Action) args);
}
}
protected override void OnOpen(object args)
{
CommonHelper.FadeIn(ui);
}
protected override void AddListener()
{
}
protected override void RemoveListener()
{
}
private void InitView(Action callback)
{
ui.btn_relog.SetClick(()=>{
callback?.Invoke();
CtrlCloseUI();
});
}
}
}