예제 #1
0
 public void OnComeIn()
 {
     CloseBtn.GetComponent <RectTransform>().ScaleBounceIn().OnComplete(() =>
     {
         CloseBtn.GetComponent <Fy_UI_Animation>().enabled = true;
     });
 }
예제 #2
0
 public override void Awake()
 {
     base.Awake();
     CloseBtn.onClick.AddListener(() =>
     {
         CloseBtn.GetComponent <Fy_UI_Animation>().enabled = false;
     });
 }