public IEnumerator managePlayerWACardAction(int action, PlayerBean playerBean) { PlayerBean dealerPlayer = playersManager.getDealerPlayer(); GameObject src = dealerPlayer.getCardDeskObject(); GameObject cardDeskPosition = dealerPlayer.getCardDeskPositionObject(); cardDeskPosition.SetActive(true); src.SetActive(true); src.transform.position = cardDeskPosition.transform.position; if (action == GameConstant.ACTION_WA_UP) { animationManager.MoveCardsObject(src, playerBean.getWACardUPObject()); yield return(new WaitForSeconds(GameConstant.ANIM_WAITING_TIME)); playerBean.upWACardBuy(); } else if (action == GameConstant.ACTION_WA_DOWN) { animationManager.MoveCardsObject(src, playerBean.getWACardDownObject()); yield return(new WaitForSeconds(GameConstant.ANIM_WAITING_TIME)); playerBean.downWACardBuy(); } }