private void Start() { text = GetComponent<Text>(); } private void Update() { text.text = theInt.ToString(); }