UNITY LINK

Delete Game Objects

Delete game objects in the current scene.

Load the UnityLink:

In[1]:=
Click for copyable input

Open the roll-a-ball example project:

In[2]:=
Click for copyable input

By Name...

Delete a single game object with a specific name:

In[32]:=
Click for copyable input

Delete all game objects with names that match a given string expression:

In[37]:=
Click for copyable input

By Reference...

Delete the game object referenced by a UnityGameObject:

In[38]:=
Click for copyable input
Out[38]=
In[39]:=
Click for copyable input