Exemplo n.º 1
0
    // Methods ////////////////////////////////////////////////////////////////////////////////////

    public static ReceivingCard GetInstance()
    {
        if (StateInstance == null)
        {
            StateInstance = new ReceivingCard();
        }
        return(StateInstance);
    }
Exemplo n.º 2
0
    //---------------------------------------------------------------------------------------------

    public void ShowCardReceived(string cardName)
    {
        cardReceivedView.GetComponent <ReceivedCardView>().Show(cardName);
        CurrentState = ReceivingCard.GetInstance();
    }