Пример #1
0
    public void openPoi(int id)
    {
        if (id == 0)
        {
            id = min_poi.id;
        }

        for (int i = 0; i < pois.Count; ++i)
        {
            if (pois[i].id == id)
            {
                unhighlight();
                pois[i].billboard.GetComponent <Light>().enabled = true;
                hide();
                poi_handler_script.showBillboard(pois[i], true);
            }
        }
    }
Пример #2
0
 public void OnPointerClick(PointerEventData eventData)
 {
     poi_handler_script.showBillboard(poi);
 }