UnityLink`
UnityLink`

CreateUnityGameObject

CreateUnityGameObject["name"]

creates an empty game object with the specified name.

CreateUnityGameObject["name",expr]

creates a Unity game object from expr with the specified name.

Details

Examples

open all close all

Basic Examples  (2)

Load the Unity Link:

In[1]:=
Click for copyable input

Open a new Unity project:

In[2]:=
Click for copyable input

Create an empty Unity game object:

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

Create a Unity game object from a geometric region:

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

Create a Unity game object from graphics:

In[3]:=
Click for copyable input
Out[3]=
In[4]:=
Click for copyable input
Out[4]=

Scope  (6)