コード例 #1
0
ファイル: MenuPanel.cs プロジェクト: Cognitics/Inception
 void Start()
 {
     inPosition  = gameObject.transform.position;
     outPosition = new Vector3(80f, inPosition.y, 0);
     poiScript   = poiButton.GetComponent <PointofInterest>();
 }
コード例 #2
0
        public void AddPointofInterest(int cityId, PointofInterest pointofInterest)
        {
            var city = GetCity(cityId, false);

            city.PointsofInterest.Add(pointofInterest);
        }
コード例 #3
0
 public void DeletePointofInterest(PointofInterest pointOfInterestFromEntity)
 {
     _cityInfoContext.PointsofInterests.Remove(pointOfInterestFromEntity);
 }
コード例 #4
0
 void Start()
 {
     poiScript = POIButton.GetComponent <PointofInterest>();
 }