What happens to GameObjects and Textures when switching levels?
(1) I switch levels from the “main menu” to the “game” then back again. The main menu level has a GUITexture component and the C# script component with public 2DTexture variables. The game level has two main gameobject meshes and the control C# script with its public gameobject variables. What happens to these objects when switching levels back and forth?
(2) When instantiating an object from a non-Monobehaviour C# class, how should I cleanup its references before switching to another level?
Thanks CSDG