fix:1、更换项目,使用winter来创建
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
namespace FlowerPower
|
||||
namespace LoveLegend
|
||||
{
|
||||
public class TipsViewCtrl : BaseCtrl
|
||||
{
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
namespace FlowerPower
|
||||
namespace LoveLegend
|
||||
{
|
||||
public class TipsViewModel : BaseModel
|
||||
{
|
||||
|
||||
@@ -1,16 +1,16 @@
|
||||
using System;
|
||||
using DG.Tweening;
|
||||
using FGUI.P05_Login;
|
||||
using FGUI.ZM_Login_05;
|
||||
using UnityEngine;
|
||||
|
||||
namespace FlowerPower
|
||||
namespace LoveLegend
|
||||
{
|
||||
|
||||
public class TipsViewUI : BaseUI
|
||||
{
|
||||
private TipsViewUICtrl ctrl;
|
||||
private TipsViewModel model;
|
||||
private FGUI.P01_Common.com_tips2 ui;
|
||||
private FGUI.ZM_Common_01.com_tips ui;
|
||||
|
||||
public TipsViewUI(TipsViewUICtrl ctrl) : base(ctrl)
|
||||
{
|
||||
@@ -20,12 +20,9 @@ namespace FlowerPower
|
||||
|
||||
protected override void SetUIInfo(UIInfo uiInfo)
|
||||
{
|
||||
uiInfo.packageName = "P01_Common";
|
||||
uiInfo.assetName = "com_tips2";
|
||||
uiInfo.packageName = "ZM_Common_01";
|
||||
uiInfo.assetName = "com_tips";
|
||||
uiInfo.layerType = UILayerType.Loading;
|
||||
uiInfo.isNeedOpenAnim = false;
|
||||
uiInfo.isNeedCloseAnim = false;
|
||||
uiInfo.isNeedUIMask = true;
|
||||
}
|
||||
|
||||
protected override void OnInit()
|
||||
@@ -39,16 +36,14 @@ namespace FlowerPower
|
||||
|
||||
protected override void OnBind()
|
||||
{
|
||||
ui = baseUI as FGUI.P01_Common.com_tips2;
|
||||
ui = baseUI as FGUI.ZM_Common_01.com_tips;
|
||||
}
|
||||
|
||||
protected override void OnOpenBefore(object args)
|
||||
{
|
||||
if (args != null)
|
||||
{
|
||||
InitView((Action)args);
|
||||
if (args != null ) {
|
||||
InitView((Action) args);
|
||||
}
|
||||
GameDispatcher.Instance.Dispatch(GameMsg.netLoading_close);
|
||||
}
|
||||
|
||||
protected override void OnOpen(object args)
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
namespace FlowerPower
|
||||
namespace LoveLegend
|
||||
{
|
||||
public class TipsViewUICtrl : BaseUICtrl
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user