// Use this for initialization void Start() { gametimerref = GameObject.FindWithTag("GameController").GetComponent <gametimer>(); timetext = GetComponent <Text>(); //print (gametimerref.timemins); timetext.text = gametimerref.timemins.ToString("f0") + ":00"; }
// Use this for initialization void Start() { gametimerref = GameObject.FindWithTag("GameController").GetComponent<gametimer>(); timetext = GetComponent<Text>(); //print (gametimerref.timemins); timetext.text = gametimerref.timemins.ToString("f0")+":00"; }