How to load only the chosen character into the next Level of an ios game?

How do i make it that if in a first Level the player can chose out of i.e. ten characters wich one he want to play that this character and not al the others will load into the first(and following) game level(s)?

Look at the additional load methods of the Application class. Put each character in its own scene and load it as needed.

I just answered this very question today, with example code, in another thread, so a quick forum search should turn that up.

Sorry to say it but I don’t think andym’s response is the right approach unless each character should exist in a distinct scene, i.e. not just the character is different, but so is the level they proceed through, or there is some arbitrary piece of set up code that must run in a scene that is unique to that character.

My approach makes sense to me. Our game is a driving game, so for characters think cars. We want one car at a time, out of a choice of several, in one of many tracks.

I have each track in its own scene, and each car in its own scene. Then it’s trivial to do an additive load to add the required car and track into the hierarchy, and then destroy them when done, e.g. quitting track.

From a team workflow point of view it means that one artist can work on cars while another is working on tracks and they won’t have any sharing problems.

@andym: A very valid point. The default Unity prefab and scene merging in a team environment does leave something to be desired.

Thank you andym and JustinLloyd for the infos.

I found the thread (http://forum.unity3d.com/threads/110190-Choosing-a-player) with your code example and will look at it when i am on the project at home.

What i do not understand right i think is do i have to load all characters with the level but then only instanciate the one the player chose into the level or can i load the level without a character and from it load a prefab that is chosen by Justin´s way.

Andym´s way sound interesting too.
That way i can also make at first only one character and then all levels and later ad the characters step by step.

I see no point in loading all characters unless you need them all for a character select screen - and even then you can load asynchronously on demand.

See this thread where I outline my flow.

http://forum.unity3d.com/threads/94795-How-does-your-game-fit-in-with-Projects-and-Scenes

It has changed a little bit since I posted, but basically it’s the same principles.