Exemplo n.º 1
0
 void show()
 {
     graphic = GetComponent<MaskableGraphic>();
     if(graphic)
     {
         gameObject.SetActive(true);
         setAlpha(0);
         graphic.CrossFadeAlpha(showAlpha,duration,false);
     }
 }