Example #1
0
    // Use this for initialization
    void Start()
    {
        // Reset statistics to zero
        wins   = 0;
        losses = 0;

        numOfDecks = int.Parse(GameObject.Find("DeckCountText").GetComponent <Text>().text);

        gameShoe = new Shoe();
        gameShoe.FillTheShoe();
        HitButton.interactable   = false;
        HoldButton.interactable  = false;
        GameInstructions.enabled = true;

        wildcards.Add(WildcardOne);
        wildcards.Add(WildcardTwo);
        wildcards.Add(WildcardThree);
    }