This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using Mapbox.Unity.Map; | |
using Mapbox.Unity.MeshGeneration.Data; | |
using Mapbox.Unity.MeshGeneration.Modifiers; | |
using UnityEngine; | |
[CreateAssetMenu(menuName = "Mapbox/Modifiers/Custom/Snap Terrain Raycast Modifier")] | |
public class SnapTerrainRaycastModifier : MeshModifier | |
{ | |
private const int RAY_LENGTH = 50; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using Mapbox.Map; | |
using Mapbox.Unity.MeshGeneration.Data; | |
using Mapbox.Unity.MeshGeneration.Enums; | |
using Mapbox.Unity.MeshGeneration.Factories; | |
using UnityEngine; | |
using UnityEngine.UI; | |
[CreateAssetMenu(menuName = "Mapbox/Factories/Custom/UI Map Tile Factory")] | |
public class UiMapTileFactory : AbstractTileFactory |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections.Generic; | |
using System.Linq; | |
using Assets.Mapbox.Unity.MeshGeneration.Modifiers.MeshModifiers; | |
using Mapbox.Unity; | |
using Mapbox.Unity.Map; | |
using Mapbox.Unity.MeshGeneration.Components; | |
using Mapbox.Unity.MeshGeneration.Data; | |
using Mapbox.Unity.MeshGeneration.Enums; | |
using Mapbox.Unity.MeshGeneration.Interfaces; |