private void reset()
    {
        // Remove SFS2X listeners
        doraemon.RemoveAllEventListeners();

        // Enable interface
        enableLoginUI(true);
    }
Exemple #2
0
 public void OnConnectionLost(BaseEvent evt)
 {
     // Reset all internal states so we kick back to login screen
     sfs.RemoveAllEventListeners();
     SceneManager.LoadScene("Connection");
 }