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

Basic Examples  (2)

Load the Unity Link:

Open a new Unity project:

Create an empty Unity game object:

Create a Unity game object from a geometric region:

Create a Unity game object from graphics:

Scope  (6)

Create an empty Unity game object:

Create a Unity game object from a 2D region:

Create a Unity game object from a 3D region:

Create a Unity game object from Graphics3D:

Create a Unity game object from a BoundaryMeshRegion:

Create a Unity game object from a MeshRegion: