CreateScene() 공개 정적인 메소드

Create an empty new scene at runtime with the given name.

public static CreateScene ( string sceneName ) : Scene
sceneName string The name of the new scene. It cannot be empty or null, or same as the name of the existing scenes.
리턴 Scene
예제 #1
0
        public static Scene CreateScene(string sceneName)
        {
            CreateSceneParameters parameters = new CreateSceneParameters(LocalPhysicsMode.None);

            return(SceneManager.CreateScene(sceneName, parameters));
        }