private void DrawShowDownHand(string playerName, EvaluatedHand hand) { if (hand == null){ Debug.LogError("PokerGUI.DrawShowDownHand(" + playerName + "null): ERROR: hand cannot be null" ); return; } GUILayout.BeginVertical(); GUILayout.Label(playerName + ": " + hand.GetName()); GUILayout.BeginHorizontal(); foreach (Card card in hand.GetCardsInOrder()){ //GUIStyle cardStyle = new GUIStyle(); GUILayout.Label(card.GetTexture(), "showdown_card"); } GUILayout.EndHorizontal(); GUILayout.EndVertical(); }