fix:1、更换项目,使用winter来创建

This commit is contained in:
2026-04-22 11:13:16 +08:00
parent 173cfb2dc9
commit 83ff9f71ad
7375 changed files with 209752 additions and 157557 deletions
+1 -1
View File
@@ -1,4 +1,4 @@
namespace FlowerPower
namespace LoveLegend
{
public class OpenBgCtrl : BaseCtrl
{
@@ -1,4 +1,4 @@
namespace FlowerPower
namespace LoveLegend
{
public class OpenBgModel : BaseModel
{
+6 -12
View File
@@ -3,13 +3,13 @@ using FairyGUI;
using Spine.Unity;
namespace FlowerPower
namespace LoveLegend
{
public class OpenBgUI : BaseUI
{
private OpenBgUICtrl ctrl;
private OpenBgModel model;
private FGUI.P02_bigImg.com_loadingBg ui;
private FGUI.ZM_Img_02.com_loadingBg ui;
private Action closeCallback;
public OpenBgUI(OpenBgUICtrl ctrl) : base(ctrl)
@@ -20,7 +20,7 @@ namespace FlowerPower
protected override void SetUIInfo(UIInfo uiInfo)
{
uiInfo.packageName = "P02_bigImg";
uiInfo.packageName = "ZM_Img_02";
uiInfo.assetName = "com_loadingBg";
uiInfo.layerType = UILayerType.Background;
uiInfo.isNeedOpenAnim = false;
@@ -56,19 +56,13 @@ namespace FlowerPower
protected override void OnBind()
{
ui = baseUI as FGUI.P02_bigImg.com_loadingBg;
ui = baseUI as FGUI.ZM_Img_02.com_loadingBg;
}
protected override void OnOpenBefore(object args)
{
var fx_hall = FXManager.Instance.SetFx<SkeletonAnimation>(baseUI.GetChild("bg_parent") as GGraph, Fx_Type.fx_hall, ref closeCallback);
fx_hall.state.SetAnimation(0, "animation", true);
var fx_logo = FXManager.Instance.SetFx<SkeletonAnimation>(baseUI.GetChild("ani_logo") as GGraph, Fx_Type.fx_logo, ref closeCallback);
fx_logo.state.SetAnimation(0, "animation", false);
fx_logo.state.Complete += (a) => {
fx_logo.state.SetAnimation(0, "animation2", true);
};
var sk = FXManager.Instance.SetFx<SkeletonAnimation>(baseUI.GetChild("bg_parent") as GGraph, Fx_Type.fx_login, ref closeCallback);
sk.state.SetAnimation(0, "animation", true);
}
protected override void OnOpen(object args)
@@ -1,6 +1,6 @@
using UnityEngine;
namespace FlowerPower
namespace LoveLegend
{
public class OpenBgUICtrl : BaseUICtrl
{