Esempio n. 1
0
    public void OnPointerClick(PointerEventData eventData)
    {
        var cardLogic = option.card.LogicalCard;

        Debug.Log("Added card to hand!");
        ServiceLocator.GetActionManager().AddCardToPersistentDeck(cardLogic.CopyCard(), option.unit);
        ServiceLocator.GetActionManager().IsCurrentActionFinished = true; // Done to declare that this action has been addressed for animation purposes
        CardRewardScreen.Hide();
    }
Esempio n. 2
0
    public static void InitializeCampaignScreen()
    {
        MissionListPrefab.Instance.Initialize();
        RosterPrefab.Instance.Initialize();

        ShowDeckScreen.Hide();
        CardRewardScreen.Hide();
        AssignFreeAugmentationsPanel.Instance.Hide();
        SelectCardToAddFromInventoryScreen.Hide();
        ShopScreen.Instance.Hide();
    }