public void CmdChangeReadyState(bool ReadyState)
        {
            ReadyToBegin = ReadyState;
            NobleMirrorLobbyManagerMinimal lobby = NetworkManager.singleton as NobleMirrorLobbyManagerMinimal;

            lobby?.ReadyStatusChanged();
        }
        public virtual void OnGUI()
        {
            if (!ShowLobbyGUI)
            {
                return;
            }

            NobleMirrorLobbyManagerMinimal lobby = NetworkManager.singleton as NobleMirrorLobbyManagerMinimal;

            if (lobby)
            {
                if (!lobby.showLobbyGUI)
                {
                    return;
                }

                if (SceneManager.GetActiveScene().name != lobby.LobbyScene)
                {
                    return;
                }

                GUILayout.BeginArea(new Rect(20f + (Index * 100), 200f, 90f, 130f));

                GUILayout.Label($"Player [{Index + 1}]");

                if (ReadyToBegin)
                {
                    GUILayout.Label("Ready");
                }
                else
                {
                    GUILayout.Label("Not Ready");
                }

                if (((isServer && Index > 0) || isServerOnly) && GUILayout.Button("REMOVE"))
                {
                    // This button only shows on the Host for all players other than the Host
                    // Host and Players can't remove themselves (stop the client instead)
                    // Host can kick a Player this way.
                    GetComponent <NetworkIdentity>().connectionToClient.Disconnect();
                }

                GUILayout.EndArea();

                if (NetworkClient.active && isLocalPlayer)
                {
                    GUILayout.BeginArea(new Rect(20f, 300f, 120f, 20f));

                    if (ReadyToBegin)
                    {
                        if (GUILayout.Button("Cancel"))
                        {
                            CmdChangeReadyState(false);
                        }
                    }
                    else
                    {
                        if (GUILayout.Button("Ready"))
                        {
                            CmdChangeReadyState(true);
                        }
                    }

                    GUILayout.EndArea();
                }
            }
        }