private void Update() { if (TableroScript.tablero != null) { if (!TableroScript.tablero.isFinalizado()) { time += Time.deltaTime; if (time >= 1.0f) { time = 0; cronometro.SumarSegundo(); gameObject.GetComponent <TextMesh>().text = cronometro.Cadena(); } } } }