Save a obj and spawn it without make prefape
hello every one, I am trying to save an GameObject to Crate it again in another scene but maype someone says use prefab , my GO(GameObject )is not the same every time ,the player edit it so I cant use Prefaps because my GO(GameObject) is not the same for ever Players, what I want is save that GO(GameObject ) in Public static var of type GameObject and if the scene close the GO don't destroyed I want it be like another types of var like int,float,string,vector3..... and save it in ScriptAple obj but how, I hope you understand my problem and any thing will be helpful.
Answer by UnityToMakeMoney · Mar 24, 2020 at 07:02 PM
I recommend making a new script that saves all the information about the new object before it destroyed. This way you can have a prefab that has no information but has the saved information script. Thus, when it is instantiated in another scene you can have that object's information.
Learn More About Saving Data Here
Alternatively, you can look at this, which is probably what you want. Click Here.
Your answer
Follow this Question
Related Questions
problem with loading data with serialization in the right time 0 Answers
jsonUtlility save/load ScriptableObjects 1 Answer
Why Does My Saved Data Not Load? 0 Answers
PlayerPrefs loading data inconsistently 1 Answer
Saving current progression question 0 Answers