示例#1
0
    public void InitialisePlayerBar(int _id)
    {
        Id = _id;

        ShowUpgradesInHand();
        cardListsUI.InitCardLists(Player);
        resourceUI.InitResourceUI(Player.Resources, this);
        heroUI.InitHeroUI(Player.Hero);
        cardFunctionUI.InitCardFunctionUI(Player, this);
        victoryStateUI.InitVictoryStateUI();

        unitCommandUI.gameObject.SetActive(false);
        victoryStateUI.gameObject.SetActive(false);

        turnIndicator.SetActive(false);

        cardListsUI.gameObject.SetActive(false);

        bonusObjectiveButton.interactable = !Player.DeckData.IsNPCDeck && Player.DeckData.IsCampaign;
    }