How to list of objects in the scene to array for saving it in the SaveGame?

upupupupup