I’m trying to create FSMs for traps in my scene. The player might enter different levels, and I’m considering unloading previous scenes when the player moves to another one.Obviously, this would also unload the FSMs along with the scene. However, I want to preserve the state of each FSM so that when the player returns to the original scene, the traps can resume from where they left off.
Is this possible?Is there a simple way to achieve this?
I’m not sure if anyone has asked this question before. It seems that this forum doesn’t have a search function, so I couldn’t check previous posts.If someone has already asked this, I apologize.