-
Notifications
You must be signed in to change notification settings - Fork 29
Machine Name
Simon edited this page Aug 12, 2020
·
3 revisions
MachineName
assets store machine names as ScriptableObjects
. This enables the same machine name to be easily shared with multiple components.
To create a new MachineName
asset, right-click in the Project window and select Create/UniCAVE/MachineName asset.
Select this asset to set the machine name. Either type in the name you wish to use, or press the Get Local Machine Name button to use the name of local machine.
The machine name will be saved with the asset. Add a MachineName
field to a script if it needs to use a machine name value. Scripts can get and set the machine name using the MachineName.Name
property.