You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
25 lines
686 B
25 lines
686 B
namespace Mapbox.Unity.Map
|
|
{
|
|
using System;
|
|
using UnityEngine;
|
|
|
|
[Serializable]
|
|
public class LayerPerformanceOptions : MapboxDataProperty
|
|
{
|
|
[Tooltip("Enable Coroutines to distribute tile loading using coroutines, reduces the load on the main thread and keeps applications responsive. First load may be slower but subsequent loading will be faster. ")]
|
|
public bool isEnabled = true;
|
|
[Tooltip("Number of feature entities to group in one single coroutine call. ")]
|
|
public int entityPerCoroutine = 20;
|
|
|
|
public override bool HasChanged
|
|
{
|
|
set
|
|
{
|
|
if (value == true)
|
|
{
|
|
OnPropertyHasChanged(new VectorLayerUpdateArgs { property = this });
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|