How to activate an object after another is deactivated

I am doing a simple 2d game with dialogue, I have a button that shows the next sentence and it disappears when all the sentences are loaded.

I want to add a new button that will only appear once all the sentences have been loaded or a way to chance the button of “next sentence” by the “next scene” button so that it will load it. So that you cannot skip to the next scene without seeing all the sentences.

If someone could please help me with this issue I will appreciate it a lot

Thanks you

You can just create the button and deactivate it.
Idk how you manage the sentence. Let’s say it’s a list. Once you reach last sentence, you just have to use a previously cached variable referencing to the button as a gameobject and use setActive(true).

Hope it helps