number of gamestate in a game

Game Instace is most base object that survives level loading. It starts before anything else, and survives level load.

However because it starts first, you cannot reference almost anything outside of it (as nothing is loaded yet). But it is perfect for storing variables trough level load.

1 Like