public void ActiveControlFixedUpdate(UControl control) { if (!control.IsCanBeViewFetch) { CLog.Error("错误:{0},无法作为View的控件", control.GOName); return; } FixedUpdateControls.Add(control); }
// 销毁UI public override void DoDestroy() { base.DoDestroy(); BaseScreenMgr.Callback_OnSetPlayerBase -= OnSetPlayerBase; Panels.Clear(); Mutexers.Clear(); UpdateControls.Clear(); FixedUpdateControls.Clear(); }