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