public void Appear(bool appear)
 {
     if (appear)
     {
         display = this;
     }
     else
     {
         display = null;
     }
     gameObject.GetComponent <Image>().enabled = appear;
     foreach (Image image in GetComponentsInChildren <Image>())
     {
         image.enabled = appear;
     }
 }
 void Awake()
 {
     ui = GetComponentInChildren <DisapearingUI>();
 }