Skip to content

Location (Unity API)

Erik Loyer edited this page Jun 30, 2018 · 3 revisions

The Location object represents a geographical location in a Score.

Public Properties

Property Type Description
data XMLElement The XML data used to create the location.
id string The unique id of the location.
latitude float The decimal latitude of the location.
longitude float The decimal longitude of the location.
name string The name of the location.
parentScore Score The Score that contains this location.

Constructor

new Location(XMLElement xml, Score score)

Creates a new Location from the given Stepwise XML, owned by the given Score.