You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

50 lines
969 B

using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
using LzFramework.UI;
namespace DisComputer
{
/**
* @func 结算界面
* @author lz
* @date 2020/06/04
*/
public class EndView : TTUIPage
{
public EndView() : base(UIType.PopUp, UIMode.DoNothing, UICollider.None)
{
uiPath = "UIPrefabs/EndView";
}
private EndFrame endFrame;
public override void Awake(GameObject go)
{
GameObject endFrameGo = this.transform.Find("mainFrame").gameObject;
endFrame = endFrameGo.GetComponent<EndFrame>();
endFrame.InitScale();
}
public override void Active()
{
endFrame.OnShow(data);
}
public override void Hide()
{
endFrame.OnHide();
}
public override void Refresh()
{
}
}
}