public void Hide() { OnPopupChange?.Invoke(false); transform.DOScale(Vector3.zero, 0.2f).SetEase(Ease.OutCubic); }
public void Show(string message) { OnPopupChange?.Invoke(true); this.message.text = message; transform.DOScale(Vector3.one, 0.5f).SetEase(Ease.OutBounce); }