示例#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();
    }
示例#2
0
    public static void InitializeCampaignScreen()
    {
        MissionListPrefab.Instance.Initialize();
        RosterPrefab.Instance.Initialize();

        ShowDeckScreen.Hide();
        CardRewardScreen.Hide();
        AssignFreeAugmentationsPanel.Instance.Hide();
        SelectCardToAddFromInventoryScreen.Hide();
        ShopScreen.Instance.Hide();
    }
示例#3
0
 public override void AwakenOnSceneStart()
 {
     Instance = this;
 }