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