How do I save an object after changing material in play mode?

Oh, thanks. But before I try that out, I just wanna make sure that what I’ve done on my save object is correct and I didnt miss something even though its hardly anything in it. So if that is looking good, then when I write the save game, how can it save the material?