Ejemplo n.º 1
0
 void Start()
 {
     inPosition  = gameObject.transform.position;
     outPosition = new Vector3(80f, inPosition.y, 0);
     poiScript   = poiButton.GetComponent <PointofInterest>();
 }
Ejemplo n.º 2
0
        public void AddPointofInterest(int cityId, PointofInterest pointofInterest)
        {
            var city = GetCity(cityId, false);

            city.PointsofInterest.Add(pointofInterest);
        }
Ejemplo n.º 3
0
 public void DeletePointofInterest(PointofInterest pointOfInterestFromEntity)
 {
     _cityInfoContext.PointsofInterests.Remove(pointOfInterestFromEntity);
 }
Ejemplo n.º 4
0
 void Start()
 {
     poiScript = POIButton.GetComponent <PointofInterest>();
 }