Exemplo n.º 1
0
    public int GetHandValue()
    {
        BlackJackManager manager = GameObject.Find("BlackJackManager").GetComponent <BlackJackManager>();

        return(manager.GetHandValue(hand));
    }
Exemplo n.º 2
0
    public int GetHandValue(List <DeckOfCards.Card> currentHand)
    {
        BlackJackManager manager = GameObject.Find("BlackJackManager").GetComponent <BlackJackManager>();

        return(manager.GetHandValue(currentHand));
    }