- Home /
Question by
shadowman9443 · Dec 21, 2017 at 09:59 AM ·
level
How to load all of my game object into another level?,How to load all previose levels game object and other object in new level. I am new to game dvelopment..please help?
I am bulding a flappy bird like game.It works fine.Now i want to level up my game.And i created a new scene.My question is how to add all the first scene object in my new scene?
Comment
Answer by kpejgorski · Dec 21, 2017 at 10:24 AM
Just try DontyDestroyOnLoad() https://docs.unity3d.com/ScriptReference/Object.DontDestroyOnLoad.html
Answer by ajitsaini29 · Dec 21, 2017 at 10:39 AM
also try playerprefs https://docs.unity3d.com/ScriptReference/PlayerPrefs.html to keep all settings similar to previous level.