void Update () {
ThisObject.GetComponent<Image> ().color = Color.Lerp(ThisObject.GetComponent<Image> ().color, transblack, Time.deltaTime*10);
text.GetComponent<Text>().color = Color.Lerp(text.GetComponent<Text>().color, transwhite, Time.deltaTime*10);
if (ThisObject.GetComponent<Image> ().color == transblack) {
ThisObject.GetComponent<Image> ().enabled = false;
text.GetComponent<Text> ().enabled = false;
ThisObject.GetComponent<Image> ().color = black;
text.GetComponent<Text> ().color = white;
ThisObject.GetComponent<FadeOut> ().enabled = false;
}
}
}