示例#1
0
        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);
        }
示例#2
0
        private void AcceptButtonClick()
        {
            BuyNewCell();

            _popupController.Remove(gameObject);
        }