INTERNAL_CALL_MergeScenes() private method

private INTERNAL_CALL_MergeScenes ( Scene &sourceScene, Scene &destinationScene ) : void
sourceScene Scene
destinationScene Scene
return void
コード例 #1
0
 /// <summary>
 ///         <para>This will merge the source scene into the destinationScene.
 /// This function merges the contents of the source scene into the destination scene, and deletes the source scene. All GameObjects at the root of the source scene are moved to the root of the destination scene.
 /// NOTE: This function is destructive: The source scene will be destroyed once the merge has been completed.</para>
 ///       </summary>
 /// <param name="sourceScene">The scene that will be merged into the destination scene.</param>
 /// <param name="destinationScene">Existing scene to merge the source scene into.</param>
 public static void MergeScenes(Scene sourceScene, Scene destinationScene)
 {
     SceneManager.INTERNAL_CALL_MergeScenes(ref sourceScene, ref destinationScene);
 }