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.InitScale(); } public override void Active() { endFrame.OnShow(data); } public override void Hide() { endFrame.OnHide(); } public override void Refresh() { } } }