My game has many levels. Each level has 50-200 objects in it. I would like to store multiple positions for each object and use iTween to move between them. It would be nice if I didn’t have to manually enter the x/y/z for every single object. It would be great if I could store the positions somehow in an array, then move all the objects in the scene view and then store those positions in another array. Does anyone have any suggestions? PlayerPrefs doesn’t seem to be a logical place to save such a thing. I looked into Unity Serializer, but it hasn’t been updated in a long time. When I added it to my project, there were so many errors that it was unusable.
I’d create the path by placing gameObjects for the waypoints in the path. The waypoint gameObjects would have parameters for the path they belong to and the waypoint order number. Your script then just finds all waypoint gameObjects and creates paths from them. That way you can see your path visually in your scene and can easily alter them if you need to.