Hide dialogue box via button click
Posted: Mon Aug 21, 2023 11:33 pm
Hello! I'm back again with another newbie question. I'm trying to create a "close and pause dialogue" button but it seems like I can't set the dialogue panel to be inactive/0 alpha. Dialogue manager instantiates (even with instantiate prefab disabled) the dialogue UI only during gameplay and there seems to be no way for me to access it in the scene outside of it so there's nothing for my button to reference. Not sure what I should do here so any help would be appreciated!
Additionally, I'd like the dialogue and panel to be unpaused and reactivated when I make another click anywhere on screen. Is there a way to do so?
Ty in advance!
Additionally, I'd like the dialogue and panel to be unpaused and reactivated when I make another click anywhere on screen. Is there a way to do so?
Ty in advance!