UnityLink`
UnityLink`

FindUnityScene

FindUnityScene []

finds the active Unity scene.

FindUnityScene["name"]

finds the open Unity scene with the specified name.

FindUnityScene[patt]

finds the open Unity scene with the name matching the string pattern patt.

FindUnityScene[RegularExpression["regex"]]

finds the open Unity scene with the name matching the specified regular expression.

FindUnityScene[,n]

finds at most n open Unity scenes.

Details

Examples

open allclose all

Basic Examples  (2)

Load the UnityLink:

Open a Unity project:

Open multiple scenes:

Find the active scene:

Scope  (9)

Find the active scene:

Find a scene by name:

Find a scene using a string pattern:

Use abbreviated string patterns:

Find multiple scenes using a string pattern:

Find multiple scenes using a RegularExpression:

Find all open scenes:

Find at most 2 scenes:

FindUnityScene is Listable:

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

Text

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

CMS

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

APA

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

BibTeX

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

BibLaTeX

@online{reference.wolfram_2022_findunityscene, organization={Wolfram Research}, title={FindUnityScene}, year={2019}, url={https://reference.wolfram.com/language/UnityLink/ref/FindUnityScene.html}, note=[Accessed: 24-April-2024 ]}