Hi,
I’m trying to make a game where the character goes into different buildings/rooms from an exterior main game world. I’m not sure how to create a new level (interior), however. Is it as simple as creating a new scene and linking them via code? If so are there any code examples around that anyone knows of?
Thanks in advance.
Is there a reason you need levels? Can they not just enter the buildings without switching levels. Unity can handle alot of assets. But if you do need to use Application.LoadLevel
http://unity3d.com/support/documentation/ScriptReference/Application.LoadLevel.html
HTH
BTH
You could do that, but it’s not really necessary. You can have the interior and exterior in the same scene, and turn them on/off using various methods such as layers etc., or use occlusion culling if you have Pro.
–Eric
Yeah there’s a reason, it’s a bit too long to go into though.
Thanks this was exactly what I needed.