2021-03-30 17:27:50 +08:00

23 lines
703 B
C#

namespace Mapbox.Unity.Map
{
using System;
using UnityEngine;
[Serializable]
public class MapOptions : MapboxDataProperty
{
public MapLocationOptions locationOptions = new MapLocationOptions();
public MapExtentOptions extentOptions = new MapExtentOptions(MapExtentType.RangeAroundCenter);
public MapPlacementOptions placementOptions = new MapPlacementOptions();
public MapScalingOptions scalingOptions = new MapScalingOptions();
[Tooltip("Texture used while tiles are loading.")]
public Texture2D loadingTexture = null;
public Material tileMaterial = null;
}
[Serializable]
public class EditorPreviewOptions : MapboxDataProperty
{
public bool isPreviewEnabled = false;
}
}