Unlike LoadLevel, LoadLevelAdditive does not destroy objects in the current level. Objects from the new level are added to the current scene. This is useful for creating continuous virtual worlds, where more content is loaded in as you walk through the environment.
First create a scene1.
Delete the Camera so that it will not disturb our scene by audio sources.
make some particle effects on it.
the create an other scene2.
create a Button and apply following method.
in parameter of level write previous level number in this case “0”.
you can see that particle effects applied on the same level.
1: public void LoadAddOnClick(int level)
2: {
3: Application.LoadLevelAdditive(level);
4: }
Comments
Post a Comment