Saving Prefabs (IdleGame)
Okay, so i'm creating an incremental clicker game and to save a tonne of time, I have created a script that handles the incremental workings of an agent. lets call this agent Bob.
So I have Bob Saved as a prefab and I can duplicate bob, change his default values and have a seperate instance, which i will call Dave.
My Question is, How do I save the data of the prefabs to file. I have managed to save playerdata like coins, coins persec etc but Cant figure out a way of saving the prefab data as obviously its always changing ddepending on if the player has Unlocked the next variant or upgraded the production amount.
Sorry, if this is a bit confusing. I'm having a hard time myself.
Your answer
Follow this Question
Related Questions
For some reason I cannot drag my prefabs from the Project folder into the scene hierarchy. 2 Answers
Limit an amount of prefabs instantiated in javascript for Unity 5. 0 Answers
my instantiation /prefab of dan wont play death animations like orignal dan 0 Answers
how can i update the value of a variable that is in a prefab button without duplicating the prefab 0 Answers