saving data

So I’ve learned that I can save variable assignments via xml serialization. That seems to only work with primitive data types, though. Is there some way of doing it with custom data types (i.e. textures or your own class)?

If you are not interested in doing all by yourself from scratch and want to have a solution for your problem of saving variety of data then there is a very nice asset called Unity Serializer. And of course it is free.