private IEnumerator Animation() { StartCoroutine(Fade(FadeState.In)); yield return(new WaitForSeconds(3f)); StartCoroutine(Fade(FadeState.Out)); yield return(new WaitForSeconds(0.5f)); _popupController.Remove(gameObject); }
private void AcceptButtonClick() { BuyNewCell(); _popupController.Remove(gameObject); }