call script after lvl is loaded {closed}

i have a script and it runs and moves all the game objects to a place and than the scene moves them back

	Application.LoadLevel(loadinglvl);
	loadingloadotherlvl.load(myData);

any one know how this works?

the last one must ony run after the lvl is done loading?

help

check this out.
maybe it could work with this, so the gameobject wont be destroyed, when the lvl is loaded

Checkout OnLevelWasLoaded().

It will be called once the level was loaded. Put your code in there.

thanks that fixed it

demonicmetalcs