void OnMouseDown() { spi.OpenPlantPanel(); spi.plantName.text = info.GetPlantName(); spi.threatLevel.text = info.GetPlantThreat().ToString(); spi.plantIcon.GetComponent <RawImage>().texture = info.GetIcon(); }