public void StartSequence() { if (current == null) { this.currIdx = 0; this.current = textosIntro[currIdx]; textosIntro[currIdx].gameObject.SetActive(true); this.started = true; } }
public void PassNext() { //if (currIdx + 1 < textosIntro.Count) //{ currIdx++; this.current = textosIntro[currIdx]; this.current.gameObject.SetActive(true); //} textosIntro[currIdx - 1].gameObject.SetActive(false); }