- Home /
how to send information to the next sceene?
i´ve been wondering how to do this, for example to have a loadout sceene and when you enter a game sceene you would have the loadout you chose. I apreiate your time and thank you in advanced.
Answer by RudyTheDev · Dec 05, 2014 at 01:08 AM
See DontDestroyOnLoad. This is the simplest/straight-forward way to keep objects around forever storing data. You can try a static class you initialize once and store data there. There's PlayerPrefs for more permanent storage, but that's going into saving territory. Your question is a little vague and there are dozens of ways to transfer data.
thanks a lot, sorry for the vague question but i was completely lost in this topic.
Answer by Paulius-Liekis · Dec 05, 2014 at 01:08 AM
Store it in (static) variables
PlayerPrefs
Mark some game object DontDestroyOnLoad, so it's kept after scene is loaded
thanks a lot, finaly i can keep goind on my projetc
You should mark answers as correct if it solves your problem.
Your answer
Follow this Question
Related Questions
moving to next scene 1 Answer
move to next scene 1 Answer
Connection between menu and scene 2 Answers
Transport objects between scenes. 1 Answer