Example #1
0
    IEnumerator Start()
    {
        yield return(MainConfigManager.GetInstance().Initialize());

        _playerInfo = PlayerInfo.Instance();
        _model      = LotPlayer.Instance();
        View.Initionlize();
        View.InitByData(_playerInfo, _model);
        int cost = _model.GetCurrentTurnGameCost(false);

        if (cost != 0)
        {
            View.ShowCostPage(cost);
        }
        else
        {
            _model.GetCurrentTurnGameCost(true);
        }
    }