Class CompassOverlay
public sealed class CompassOverlay : MonoBehaviour
- Inheritance
-
object
Object
Component
Behaviour
MonoBehaviour
CompassOverlay
Fields
AutoHide
[Tooltip("Hide the compass while the map faces north and lies flat.")]
public bool AutoHide
Field Value
- bool
ClickResetsPitch
[Tooltip("Clicking the compass also resets pitch, not just bearing.")]
public bool ClickResetsPitch
Field Value
- bool
Map
[Tooltip("Map whose bearing and pitch are shown.")]
public ScreenMapView Map
Field Value
- ScreenMapView
ResetSpeed
[Tooltip("Reset animation speed, degrees per second.")]
public float ResetSpeed
Field Value
- float
SizeUnits
[Tooltip("Compass diameter in pixels.")]
[FormerlySerializedAs("SizePx")]
public float SizeUnits
Field Value
- float