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
@@ -4,14 +4,14 @@ using FairyGUI;
using Spine.Unity;
using UnityEngine;
namespace FlowerPower
namespace LoveLegend
{
public class GuideViewUI : BaseUI
{
private GuideViewUICtrl ctrl;
private GuideViewModel model;
private FGUI.P22_Guide.com_guide ui;
private FGUI.ZM_Novice_21.com_guide ui;
protected GProgressBar pb_loading;
private Tweener tweener;
@@ -27,7 +27,7 @@ namespace FlowerPower
protected override void SetUIInfo(UIInfo uiInfo)
{
uiInfo.packageName = "P22_Guide";
uiInfo.packageName = "ZM_Novice_21";
uiInfo.assetName = "com_guide";
uiInfo.layerType = UILayerType.Loading;
uiInfo.isNeedOpenAnim = false;
@@ -47,7 +47,7 @@ namespace FlowerPower
protected override void OnBind()
{
ui = baseUI as FGUI.P22_Guide.com_guide;
ui = baseUI as FGUI.ZM_Novice_21.com_guide;
}
private Action closeCallback;
@@ -56,16 +56,15 @@ namespace FlowerPower
TimerHelper.mEasy.AddTimer(0.7f, () =>
{
ui.btn_new_start.visible = true;
var ska = FXManager.Instance.SetFx<SkeletonAnimation>(ui.btn_new_start.GetChild("btn_parent") as GGraph, Fx_Type.fx_btn_start, ref closeCallback);
ska.state.SetAnimation(0, "play", true);
// var ska = FXManager.Instance.SetFx<SkeletonAnimation>(ui.btn_new_start.GetChild("btn_parent") as GGraph, Fx_Type.fx_btn_start, ref closeCallback);
// ska.state.SetAnimation(0, "play", true);
var finger = FXManager.Instance.SetFx<SkeletonAnimation>(ui.finger_parent, Fx_Type.fx_hand_pre, ref closeCallback);
finger.state.SetAnimation(0, "idle", true);
});
ui.btn_new_start.SetClick(()=>{
PlayerPrefs.SetInt("new_one", 1);
DataMgr.NoviceGuide.Value = true;
GameHelper.gameType = 0;
GameDispatcher.Instance.Dispatch(GameMsg.OpenGame);
CtrlCloseUI();