/// <summary> /// Start is called on the frame when a script is enabled just before /// any of the Update methods is called the first time. /// </summary> void Start() { historia = ComposicaoHistoria.historia; trechoAtual = historia.getInicio(); renderizaTrechoAtual(); proximoTrecho.GetComponent <Button>().onClick.AddListener(delegate { avancar(0); }); }