You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Tomáš Malý edited this page Aug 6, 2020
·
5 revisions
Map
Attach this script to an Empty.
This game object now represents the center of the map (the planet).
The Config Url field is url of the map configuration to be used.
See the read the docs documentation about general VTS concepts.
The Create Config and Run Config are json-encoded options for the browser library.
See browser wiki to learn more about the browser.
On its own, this script will do nothing meaningful.
To actually see the map, you have to attach the Camera Cmd Bufs or Camera Objects to some unity camera object.
Whenever a VTS script requires a reference to a Map, you should link it to the Empty object with this script attached.
Finally, you usually need only one game object instance with this script in the whole scene.