- Home /
Question by
Healyourself · Jun 14, 2013 at 04:36 AM ·
instantiatearraysloadingsaving
How would I use ArrayPrefs2 to track destroyed objects and/or instantiated objects?
I have been debating how to go about tracking destroyed objects in my scene. I want to instantiate everything(destructables), in my scene using the random function and I wanted to track which were destroyed so they wouldn't return on a save/load.
I was wondering if I could use the Playerprefs array to track objects destroyed and how would I go about doing this. I know I can use the Vector3 array to specify coordinates where these objects cannot instantiate again. I don't believe you can use an object array with Playerprefs. I am trying to figure out the best way to go about it. Any Help is greatly appreciated.
Comment