using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using TMPro;
using UnityEngine.SceneManagement;
public class Stats : MonoBehaviour
{
public TextMeshPro THS, CHS, SHS, TGP, CGP, SGP, Reset;
void Start()
{
THS.text = "Total high score: " + PlayerPrefs.GetInt("TotalHighScore");
CHS.text = "High score (Cube): " + PlayerPrefs.GetInt("CubeHighScore");
SHS.text = "High score (Sphere): " + PlayerPrefs.GetInt("SphereHighScore");
TGP.text = "Total games played: " + PlayerPrefs.GetFloat("TotalGamesPlayed");
CGP.text = "Games played (Cube): " + PlayerPrefs.GetFloat("CubeGamesPlayed");
SGP.text = "Games played (Sphere): " + PlayerPrefs.GetFloat("SphereGamesPlayed");
}