예제 #1
0
    public void Click_GoToHouseViewer()
    {
        gameMasterRef.MenuBarSelection(7);

        if (gameMasterRef.prevMenuSelected == MenuOptions.YourAssets)
        {
            gameMasterRef.houseViewerManager.GetComponent <HouseViewerManager>().EstablishTheListToView(gameMasterRef.playerPhoton.GetAssetList(), houseID);
        }
        else
        {
            gameMasterRef.houseViewerManager.GetComponent <HouseViewerManager>().EstablishTheListToView(gameMasterRef.currentHouseBids, houseID);
        }

        gameMasterRef.theCard.GetComponent <HouseViewer>().UpdateCardUI(house.GetIncome(), house.GetTitle(), house.GetFamNum(), house.GetVictoryPoints(), house.GetExtraPurplePoints(), house.GetLocation());
    }