void Start() { GameObject mapControlObj = GameObject.Find("MapControl"); mapControl = mapControlObj.GetComponent<MapControl>(); label = Instantiate(labelPrefab, transform.position, Quaternion.AngleAxis(180, Vector3.up)) as MapLabel; label.SetUp(this); locName = mapControl.GetLocationName(); label.SetLabelText(locName); label.transform.parent = transform; LoadState(); HideRing(); }