How do you create endings to unity created levels?

sorry, I just started using unity today, and I was wondering how you create endings to levels that you made?

However you want to. Maybe try a more specific question.

–Eric

what I mean is HOW DO YOU GET A LEVEL TO END. like, instead of running on and on without ever stopping to get to the next level.

Use Application.LoadLevel I guess, though I still don’t know what you’re asking exactly. If you’re talking about conditions that cause an “end of level” situation, that’s up to you to program it depending on the sort of game you’re making.

–Eric

OK. thanks for the help, but one more question. I am apart of a game creating company, I just started, and I was put on basic/prototype levels. I ran into a problem, where, when I enter the hallway I made, and turn left or right, I end up getting sucked to the wall and not being able to move. any Ideas?

and I also get an error code saying: !i->second.empty() know what that means?