title: How to get all PlayerPrefs keys to make a Drop() function?
body: <p>I have a problem with Drop function in my game. I need to set all my variables to 0/null, but to make a string to each one separately is very time consuming and costly in the code. Maybe know someone how to get an array of keys in PlayerPrefs?</p>
  <pre><code>public void Drop()
  {
      PlayerPrefs.SetInt(&quot;AntivirusLevel&quot;, 0);
      PlayerPrefs.SetFloat(&quot;CPU&quot;, 0);
      PlayerPrefs.SetInt(&quot;CPUlvl&quot;, 0);
      PlayerPrefs.SetFloat(&quot;GPU&quot;, 0);
      PlayerPrefs.SetInt(&quot;GPUlvl&quot;, 0);
      PlayerPrefs.SetInt(&quot;RAM&quot;, 0);
      PlayerPrefs.SetInt(&quot;HDD&quot;, 0);
      PlayerPrefs.SetInt(&quot;MB&quot;, 0);
      PlayerPrefs.SetInt(&quot;Level&quot;, 0);
      PlayerPrefs.SetInt(&quot;LastScore&quot;, 0);
      PlayerPrefs.SetString(&quot;Training&quot;, null);
      PlayerPrefs.Save();
      SceneManager.LoadScene(0);
  }
  </code></pre>