//Jimmy Vegas Unity Tutorial //This script will save and load using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.UI; public class SaveLoad : MonoBehaviour { public string theText; public GameObject ourNote; public GameObject placeHolder; void Start () { theText = PlayerPrefs.GetString("NoteContents"); placeHolder.GetComponent().text = theText; } public void SaveNote() { theText = ourNote.GetComponent().text; PlayerPrefs.SetString("NoteContents", theText); } }