Sorry, we don't support your browser.  Install a modern browser

Callback before state change#1822

Add a callback that gets executed before the object changes states and that still has access to variables and such.

This would allow different states to save their data before being destroyed, so text boxes on different states will retain their information. As of now, the only information able to be stored is that of the active state when the game is saved.

5 months ago