// Start is called before the first frame update void Start() { m_score = 0; m_highScore = SBClass.GetHighScore(); m_text = "Score: "; m_hText = "\nHighScore: "; fpsText = "\nFPS: "; m_TElement = GetComponent <Text>(); print("Loaded"); }
public void SetHighScore() { SBClass.SetHighScore(m_score); //print("Setting high score: " + m_score); m_highScore = SBClass.GetHighScore(); }