title: High Score issues
body: <p>i'm trying to carry over my final/best score into a new script but for some reason its taking a 0 value.. debug.Log down the bottom of the screen registers my final/best score but my public ints up top are not recognizing them? i don't get whats going on..</p>
  
  <pre><code>using UnityEngine;
  using System.Collections;
  
  public class ScoreBoard : MonoBehaviour 
  {
  
      public GameObject m_new;
      public Score m_score;
      public Score m_best;
      public int best;
      public int final;
  
  
      public GameObject m_spriteBronze;
      public GameObject m_spriteSilver;
      public GameObject m_spriteGold;
  
      public int m_bronze = 10;
      public int m_silver = 20;
      public int m_gold = 30;
  
  
      // Use this for initialization
      void Start () 
      {
  
      }
  
      // Update is called once per frame
      void Update () 
      {
  
      }
  
      public int setScore(int score)
      {
  
          if(m_gold &lt;= score)
          {
              m_spriteGold.SetActive(true);
          }
          else if(m_silver &lt;= score)
          {
              m_spriteSilver.SetActive(true);
          }
          else if(m_bronze &lt;= score)
          {
              m_spriteBronze.SetActive(true);
          }
  
          string key = "best";
          int best = PlayerPrefs.GetInt(key);
          if(best &lt; score)
          {
              PlayerPrefs.SetInt(key, score);
              best = score;
              m_new.SetActive(true);
          }
          m_score.setScore (score);
          m_best.setScore (best);
  
          int final = (score);
  
          Debug.Log(final);
  
          return final;
  
  
  
      }
  
  
  }
  </code></pre>