public void RunCurrentselected() { loader = new Loader <bool>("Connecting to lobby", () => ClientProtocol.SubscribeForLobby(menuList[selectionIndex].Url), (success) => { if (!success) { var info = clientInformation.GetComponent <Text>(); info.Message = "Connection failed"; loader = null; DisableKeyboard = false; } else { updateLobbies = false; ParentState._context.TransitionTo(new LobbyState(Game)); } } ); }