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
943 B
50 lines
943 B
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<Text>("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") + "秒";
|
|
}
|
|
|
|
|
|
|
|
|
|
}
|
|
}
|
|
|