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 all close all

Basic Examples  (2)

Load the UnityLink:

In[1]:=
Click for copyable input

Open a Unity project:

In[2]:=
Click for copyable input

Open multiple scenes:

In[3]:=
Click for copyable input

Find the active scene:

In[1]:=
Click for copyable input
Out[1]=

Scope  (9)