public int a = 25;
public int ShiJian;
public Text text;
void Update()
{
a--;
if (a == 0)
{
ShiJian--;
text.GetComponent<Text>().text = ShiJian.ToString();
a = 25;
if (ShiJian == 0)
{
a = 0;
}
}
}
public int ShiJian;
public Text text;
void Update()
{
a--;
if (a == 0)
{
ShiJian--;
text.GetComponent<Text>().text = ShiJian.ToString();
a = 25;
if (ShiJian == 0)
{
a = 0;
}
}
}