Пример #1
0
        public override void DoDestroy()
        {
            foreach (var mgr in _systems)
            {
                mgr.DoDestroy();
            }

            Debug.FlushTrace();
        }
Пример #2
0
        private void OnDestroy()
        {
            netClient?.Send(new Msg_QuitRoom());
            foreach (var mgr in managers)
            {
                mgr.DoDestroy();
            }

            if (!isReplay)
            {
                RecordHelper.Serialize(recordFilePath, this);
            }
            Debug.FlushTrace();
            DoDestroy();
        }