You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I need the static variables in the assembly to be unloaded after Application.Unload.
Examples:
private static int s_StaticValue = 0;
public void ChangeValue ()
{
s_StaticValue = 1;
}
After executing the ChangeValue() function, the value of s_StaticValue becomes 1. However, after Application.Unload, it cannot restore s_StaticValue to its default value of 0.
What operation can restore the Unity assembly to its initial state?
thx!
The text was updated successfully, but these errors were encountered:
hi.
I need the static variables in the assembly to be unloaded after Application.Unload.
Examples:
After executing the ChangeValue() function, the value of s_StaticValue becomes 1. However, after Application.Unload, it cannot restore s_StaticValue to its default value of 0.
What operation can restore the Unity assembly to its initial state?
thx!
The text was updated successfully, but these errors were encountered: