PlayerPrefs string to load scene (edited)

How can I uses PlayerPrefs to load a scene? My script looks like this:

using UnityEngine;
using System.Collections;

public class LoadandSaveManager : MonoBehaviour {
	public string thisScene;

	public void SaveGame(){

			PlayerPrefs.SetString (thisScene, "0");
		Debug.Log ("Saved");


	public void LoadGame(){

		Application.LoadLevel (PlayerPrefs.GetString (thisScene));


I feel like its a really simple fix, but I can’t figure out how to do it, so if anyone could tell me how to, it would be very helpful.



That SHOULD work… However…

You should also make sure it’s not null…

if (!String.IsNullOrWhiteSpace(PlayerPrefs.GetString("whatScene")))
} else {
Debug.LogError("Something is not right...");