private void reset() { // Remove SFS2X listeners doraemon.RemoveAllEventListeners(); // Enable interface enableLoginUI(true); }
public void OnConnectionLost(BaseEvent evt) { // Reset all internal states so we kick back to login screen sfs.RemoveAllEventListeners(); SceneManager.LoadScene("Connection"); }