UnityLink`
UnityLink`

MergeUnityScenes

MergeUnityScenes[{scene1,scene2,}]

merges the given Unity scenes into the first scene in the list.

MergeUnityScenes[All]

merges all open Unity scenes into the active scene.

Details

  • Merging one or more source scenes into a destination scene will move all game objects in the source scene(s) into the destination scene. After merging, the source scenes are closed.
  • MergeUnityScenes[expr] returns UnityScene that the other scenes were merged into.
  • MergeUnityScenes[] is the same as MergeUnityScenes[All]

Examples

open allclose all

Basic Examples  (2)

Load the UnityLink:

Open a Unity project:

Open multiple scenes:

Merge all open scenes into the active scene:

Merge all open scenes into the active scene:

Merge a list of scenes into a single scene:

Properties & Relations  (1)

FindUnityScene returns the active scene:

Wolfram Research (2019), MergeUnityScenes, Wolfram Language function, https://reference.wolfram.com/language/UnityLink/ref/MergeUnityScenes.html.

Text

Wolfram Research (2019), MergeUnityScenes, Wolfram Language function, https://reference.wolfram.com/language/UnityLink/ref/MergeUnityScenes.html.

CMS

Wolfram Language. 2019. "MergeUnityScenes." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/UnityLink/ref/MergeUnityScenes.html.

APA

Wolfram Language. (2019). MergeUnityScenes. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/UnityLink/ref/MergeUnityScenes.html

BibTeX

@misc{reference.wolfram_2022_mergeunityscenes, author="Wolfram Research", title="{MergeUnityScenes}", year="2019", howpublished="\url{https://reference.wolfram.com/language/UnityLink/ref/MergeUnityScenes.html}", note=[Accessed: 22-December-2024 ]}

BibLaTeX

@online{reference.wolfram_2022_mergeunityscenes, organization={Wolfram Research}, title={MergeUnityScenes}, year={2019}, url={https://reference.wolfram.com/language/UnityLink/ref/MergeUnityScenes.html}, note=[Accessed: 22-December-2024 ]}