Class TransformLocationProvider
The TransformLocationProvider is responsible for providing mock location and heading data for testing purposes in the Unity editor. This is achieved by querying a Unity Transform every frame. You might use this to to update location based on a touched position, for example.
Inheritance
MonoBehaviour
                  
                  
                  TransformLocationProvider
              Inherited Members
Namespace:Mapbox.Unity.Location
Assembly:cs.temp.dll.dll
Syntax
public class TransformLocationProvider : AbstractEditorLocationProvider, ILocationProviderProperties
TargetTransform
Sets the target transform. Use this if you want to switch the transform at runtime.
Declaration
public Transform TargetTransform { set; }Property Value
| Type | Description | 
|---|---|
| Transform | 
Methods
SetLocation()
Declaration
protected override void SetLocation()