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
- FindUnityScene[expr] returns the first UnityScene it found, Missing["Nonexistent"] if no scenes were found.
- FindUnityScene[expr,n] returns a list of at most n scenes.
- FindUnityScene[expr,All] finds all matching open scenes.
- FindUnityScene[All] finds all open scenes.
- FindUnityScene is Listable.
Examples
open allclose allBasic Examples (2)
Scope (9)
Find a scene using a string pattern:
Use abbreviated string patterns:
Find multiple scenes using a string pattern:
Find multiple scenes using a RegularExpression:
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