"create a timer with a main text that branched into three different floor lantai1,lantai5 and lantai10. this timer script has and different name because i want to make its specific"
xxxxxxxxxx
using UnityEngine;
using UnityEngine.UI;
using System.Collections;
public class FloorTimer : MonoBehaviour {
public Text mainText;
public Text lantai1Text;
public Text lantai5Text;
public Text lantai10Text;
private float timer = 0f;
// Use this for initialization
void Start () {
mainText.text = "Timer: 0";
lantai1Text.text = "Lantai 1: 0";
lantai5Text.text = "Lantai 5: 0";
lantai10Text.text = "Lantai 10: 0";
}