UnityLink`
UnityLink`

CreateUnityTransform

CreateUnityTransform [obj]

creates a Unity transform component attached to the UnityGameObject obj.

CreateUnityTransform ["name"]

creates a Unity transform component with the specified name.

CreateUnityTransform [comp]

generates a copy of the Unity transform component comp.

Details

Examples

Basic Examples  (1)

Load the package and open a project:

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

Create a Unity transform component:

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

Attach the component to a UnityGameObject:

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