UnityLink`
UnityLink`

UnityInformation

UnityInformation[]

gives detailed information about the Unity Engine being run.

UnityInformation["comp"]

gives a list of rules with information about the component "comp".

UnityInformation ["comp","prop"]

gives the value of property "prop" for component "comp".

Details

  • When run in a notebook interface, UnityInformation[] yields a graphical form; otherwise, it gives a list of rules.
  • UnityInformation[All] always gives a list of rules.
  • Typical possible components to specify include:
  • "Engine"Unity Engine used to run game simulations
    "Editor"Unity Editor used to design games
    "System"current system Unity is running on
  • UnityInformation["comp","Properties"] gives a list of names of properties for component "comp".
  • UnityInformation["Components"] gives a list of names of components.

Examples

open all close all

Basic Examples  (1)

To use UnityLink, you need first to load the package:

In[1]:=
Click for copyable input

Start the local Unity engine:

In[2]:=
Click for copyable input

Display system information; browse to the relevant tab for details:

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

Give the Unity engine version:

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

Scope  (3)