Sometimes, when you’re coding, you make mistakes. Sometimes, those mistakes are really horrible, sometimes, they’re not a big deal.
Tonight, when working on my powerup spawner (aka: pupSpawner, which, I guess in a way = bitch), I kept getting a note that my index was out of bounds. I figured this had to do with my code to increment to the next powerup. I was correct.
In the process of trying to figure out what the value was getting set to I used Unity’s Debug.Log feature. GOD I LOVE THAT THING.
So, I found it. I found the answer to the problem. Not just the index out of bounds exception, no…
The answer to life, the universe and everything.
Ladies and Gentleman, I would like to present to you the screenshot of the night my computer arrived upon that great cosmic answer as foretold in the book of prophecy by Douglas Adams:
In honor of this occasion, I would like to present a little awesome ditty from the eighties by that great band “Level 42”
BOO! 😉