Exemplo n.º 1
0
 private void CheckLoca()
 {
     if (GeoManager.Instance.IsLoaded())
     {
         Vector2 loca = GeoManager.Instance.GetUserPosition();
         localizer.Localise(this.transform, loca.x, loca.y); // place player poit
         localizer.Localise(radius, loca.x, loca.y);         // place radius circle
     }
 }
Exemplo n.º 2
0
    public void LinkQuest(Quest q, MapLocalizer m, MapQuestGenerator parent)
    {
        quest       = q;
        localizer   = m;
        this.parent = parent;
        localizer.Localise(this.transform, q.Geolocalisation.x, q.Geolocalisation.y);

        CheckDistance();
    }