public virtual void OnLeaveClick() { JoinedLobby.Leave(); // Hide this window gameObject.SetActive(false); }