void Start() { inPosition = gameObject.transform.position; outPosition = new Vector3(80f, inPosition.y, 0); poiScript = poiButton.GetComponent <PointofInterest>(); }
public void AddPointofInterest(int cityId, PointofInterest pointofInterest) { var city = GetCity(cityId, false); city.PointsofInterest.Add(pointofInterest); }
public void DeletePointofInterest(PointofInterest pointOfInterestFromEntity) { _cityInfoContext.PointsofInterests.Remove(pointOfInterestFromEntity); }
void Start() { poiScript = POIButton.GetComponent <PointofInterest>(); }