I have StaticClass.variable
that is written to by one state, and a different state accesses it later. However, once I get to the next state StaticClass
is no longer initialized.
Is there any work around? Passing only data through JSON is limited, I want to pass object instances as well.