void Start() { iconContol = FindObjectOfType<IconController>(); hex = GetComponentInParent<Hex>(); icon = GetComponent<Image>(); hexClimate = hex.GetClimate(); prevClimate = hexClimate; icon.color = iconContol.GetHexClimateColor(hexClimate); }