public void onLogoutSuccess(string result) { Debug.Log("GamePotEventListener::onLogOutSuccess()"); if (cbLogout != null) { cbLogout(true); cbLogout = null; } else { if (GamePotInterface != null) { GamePotInterface.onLogoutSuccess(); } } }