C
C#4w ago
Matilda

Minigame UI Canvas not closing after adding delay to the end of the minigame

My minigame worked as intended (the UI canvas closed after the game was completed), but after adding a delay to the game closing, the UI canvas doesn't become inactive but stays open. I'm very beginning when it comes to coding so I have no idea what to do, and all of the help would be highly appreciated. Here are my scripts from Unity and a picture of the situation. Thank you!
1 Reply
Matilda
Matilda4w ago
here are the versions without the delay at the end of completed minigame that work (apart there not being a delay)