How do I make a level loader so when im close to a game object and i press a button, it changes scenes?
I am a beginner too, but i have been doing a lot of tutorials:
you could put a container around that door object that detects collisions with the player object. on collision, it should enable a script that on key down “p” triggers Application.LoadLevel(“building”), you could even trigger a GUI button thats says “press P”
Or skip the key down “P”, and just make collisions with the container trigger Application.LoadLevel(“building”)
loading levels: Unity - Scripting API: Application.LoadLevel
there are some examples of detecting collisions and boundaries in this tutorial: http://unity3d.com/learn/tutorials/projects/space-shooter
parts of this splash tutorial could work: - YouTube
Hope that helps at least a bit! Good luck!