public void ShowCardStats(StatCard sc) { string disp = ""; string ws = sc.Weapon.GetComponent <WeaponStats>().name; disp += "Most Kills in One Game: " + m_st.GetVal(m_st.MaxWeaponKills, ws) + " \t \t \t| Highest Score in One Game: " + m_st.GetVal(m_st.MaxWeaponScores, ws) + "\n"; disp += "Lifetime Kills: " + m_st.GetVal(m_st.LifetimeWeaponKills, ws) + " \t \t \t \t \t \t \t| Lifetime Score: " + m_st.GetVal(m_st.LifetimeWeaponScores, ws) + "\n"; disp += "Most Uses (one game): " + m_st.GetVal(m_st.MaxWeaponSwitches, ws) + " \t \t \t \t| Total Times Used: " + m_st.GetVal(m_st.LifetimeWeaponSwitches, ws) + "\n"; disp += "Highest Level: " + m_st.GetVal(m_st.MaxWeaponUsedAtLevel, ws) + "\n"; StatDisplay.text = disp; if (sc.Weapon.GetComponent <Achievement>() != null) { Message.text = "Achievement: \"" + sc.Weapon.GetComponent <Achievement>().DisplayName + "\" : " + sc.Weapon.GetComponent <Achievement>().GetAchievementDescription(); } else { Message.text = "Unlocked from Start"; } }