private void OnDestroy()
    {
        netClient?.Send(new Msg_QuitRoom());
        foreach (var mgr in _mgrs)
        {
            mgr.DoDestroy();
        }

        if (!IsReplay)
        {
            RecordHelper.Serialize(recordFilePath, this);
        }

        Debug.FlushTrace();
        DoDestroy();
    }