using HJDFrameWork; using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.UI; namespace Level05 { public class ProjectTitle : ViewBase { private Text timeTxt; private int min = 4; private float secend = 0; public override void Init() { base.Init(); //timeTxt = GetViewData("timeTxt"); } public override void Show() { base.Show(); } public override void Hide() { base.Hide(); } private void Update() { //if (secend <= 0) //{ // min -= 1; // secend = 59; //} //else //{ // secend -= Time.deltaTime*0.7f; //} //timeTxt.text = min + "分" + secend.ToString("0") + "秒"; } } }