Static variables being kept between editor play sessions

It sounds like the right place, but I’ve never worked with that function myself, so I can’t vouch for it. The best place to do this will ultimately depend on your specific game and game design, but for now this is probably good enough.