[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,21 @@
using Mapbox.Unity.MeshGeneration.Data;
namespace Mapbox.Unity.Map
{
using System;
using UnityEngine;
[Serializable]
public class UnityLayerOptions : MapboxDataProperty
{
[Tooltip("Add terrain tiles to Unity Layer")]
public bool addToLayer = false;
[Tooltip("Unity Layer id to which terrain tiles will get added.")]
public int layerId = 0;
public override void UpdateProperty(UnityTile tile)
{
tile.gameObject.layer = layerId;
}
}
}