Files
badeend-go/Assets/Mapbox SDK/Mapbox/Examples/Scripts/PoiMarkerHelper.cs

24 lines
452 B
C#

namespace Mapbox.Examples
{
using UnityEngine;
using Mapbox.Unity.MeshGeneration.Interfaces;
using System.Collections.Generic;
public class PoiMarkerHelper : MonoBehaviour, IFeaturePropertySettable
{
Dictionary<string, object> _props;
public void Set(Dictionary<string, object> props)
{
_props = props;
}
void OnMouseUpAsButton()
{
foreach (var prop in _props)
{
Debug.Log(prop.Key + ":" + prop.Value);
}
}
}
}