This has confused me. My IF statement is not working?

Okay in this situation I would just stat a new script and simply just put a bool with the if and debug if that doesn’t work alone you know it’s not going to work this way. I’m almost positive you will need to switch around the input and if(shouldSelectPlanet) I’m just not 100%. The code looks like it should work, but it’s just one of those things.

Okay. Haha yeah it definitely is one of those things. Thanks for the advice :slight_smile:

You initialise the bool as false
it is only set true in StarProcess()
You never call StarProcess()

The problem is solved however, StarProcess is called in an onClick function on a uGUI in the scene :slight_smile: