do an action only once during the game even if we relaunch the scene later

Hi,

I want to display something once and only once even if I come back later on the scene: (So I’ll travel in different scenes and I can comeback in this first scene a lot of time by clicking on a button).
with something like this

public bool A = true

Start

Update
if A == true
show gui

if clic on the gui A == definitively false

How can I do that ?

ok sorry, I stop spamming for nothing, it’s just a static bool -_- need my weekend asap…