[TASK] Initial commit with basic product setup

This commit is contained in:
2019-08-18 13:50:14 +02:00
commit 01a66a8e1f
2548 changed files with 167528 additions and 0 deletions

View File

@@ -0,0 +1,34 @@
using Mapbox.Unity.SourceLayers;
namespace Mapbox.Unity.Map
{
using Mapbox.Unity.MeshGeneration.Modifiers;
using System;
[Serializable]
public class ColliderOptions : ModifierProperties, ISubLayerColliderOptions
{
public override Type ModifierType
{
get
{
return typeof(ColliderModifier);
}
}
public ColliderType colliderType = ColliderType.None;
/// <summary>
/// Enable/Disable feature colliders and sets the type of colliders to use.
/// </summary>
/// <param name="colliderType">Type of the collider to use on features.</param>
public virtual void SetFeatureCollider(ColliderType colType)
{
if (colliderType != colType)
{
colliderType = colType;
HasChanged = true;
}
}
}
}