提交项目

This commit is contained in:
2026-06-15 11:34:31 +08:00
commit 43d6c0125d
5698 changed files with 1236396 additions and 0 deletions
@@ -0,0 +1,55 @@
using BingoBrain.Core;
using FGUI.JSettings;
namespace BingoBrain
{
public class BingoWhatUI : BaseUI
{
private BingoWhatUICtrl ctrl;
private BingoWhatModel model;
private com_howto ui;
public BingoWhatUI(BingoWhatUICtrl ctrl) : base(ctrl)
{
uiName = UIConst.BingoWhatUI;
this.ctrl = ctrl;
}
protected override void SetUIInfo(UIInfo uiInfo)
{
uiInfo.packageName = "JSettings";
uiInfo.assetName = "com_howto";
uiInfo.layerType = UILayerType.Popup;
uiInfo.isNeedOpenAnim = true;
uiInfo.isNeedCloseAnim = true;
uiInfo.isNeedUIMask = true;
}
#region
protected override void OnInit()
{
}
protected override void OnClose()
{
}
protected override void OnBind()
{
ui = baseUI as com_howto;
}
protected override void OnOpenBefore(object args)
{
ui.closeButton.onClick.Set(CtrlCloseUI);
Audio.Instance.PlayDynamicEffect("pop_open");
}
protected override void OnOpen(object args)
{
}
#endregion
}
}