Keep data between scenes

Hey everyone.

How can I keep a Input Field typed text between two scenes and yet load it into a Text at the other scene?

Just use static variables :). For example a script in scene 1, let’s call it newScript.

static string stringBetweenScenes;

void Update()
{
     //Do stuff to set your stringBetweenScenes
}

Then to load it in another scene:

public string yourNewString;

void loadStaticString()
{
    yourNewString = newScript.stringBetweenScenes;
}