コード例 #1
0
    public IEnumerator manageWinnerPlayers(PlayerBean winnerPlayer)
    {
        gameObjectManager.getTableChipSetPositionObject().SetActive(true);
        gameObjectManager.getTableChipSetObject().transform.position = gameObjectManager.getTableChipSetPositionObject().transform.position;
        animationManager.MoveChipsObject(gameObjectManager.getTableChipSetObject(), winnerPlayer.getChipObject());
        yield return(new WaitForSeconds(GameConstant.ANIM_WAITING_TIME));

        winnerPlayer.getChipObject().transform.position = winnerPlayer.getChipPositionObject().transform.position;
        gameObjectManager.getTableChipSetObject().transform.position = gameObjectManager.getTableChipSetPositionObject().transform.position;
        gameObjectManager.getTableChipSetPositionObject().SetActive(false);
        gameObjectManager.getTableChipSetObject().SetActive(false);
        StartCoroutine(blinkWinnerPlayer(winnerPlayer.getGameObject()));
    }