- Home /
Question by
SirBoboHobo · Mar 17, 2015 at 05:57 PM ·
randomloadleveladditive
LoadLevelAdditive random array
I'd like to know how to load all my scenes at ones but randomly each time, and everytime it loads i need my character and camera to be created in the 1st scene(which always is different) any ideas?
Comment
Answer by lorenzofman2 · Mar 17, 2015 at 09:21 PM
function WhatNeed()
{
Application.LoadLevel(Random.Range(0, Application.levelCount));
}
I think it's simple, if you need to have different characters have they already in the scene, and if it's multiplayer or you need to spawn your character please tell me to i reprogram a new code more helpful.
PS: Sorry for english