I’m developing a mini game and I’ve done everything so far in the patch editor. Basically if you lose, a losing screen will pop up and at this stage is turning the game elements’ visibility to off. However, this doesnt disable the objects just makes them invisible which mean they are still effecting the game.
A simple solution would have been at the end of the game, it flicks a boolean (isGameRunning) to off which will then effect everything else - but Spark AR doesn’t allow that because of loops.
So, in a workaround attempt I am trying to use scripting to find if an object is visible (the lose screen) and then get that bool into the patch editor to drive the other elements of the game without being caught out for using a loop.
Is there any possible solution for what I am trying to do?