示例#1
0
 /// <summary>
 /// bridge生成池
 /// </summary>
 protected virtual void RegistBridgePool()
 {
     foreach (var item in bridges)
     {
         poolDic[item] = new BridgePool(item);
     }
     defultBridge          = new BridgeInfo();
     poolDic[defultBridge] = new BridgePool(defultBridge);
 }
示例#2
0
 protected virtual void Awake()
 {
     bridgePool      = new BridgePool();
     transDicCatch   = new Dictionary <Transform, Dictionary <int, Transform> >();
     createdPanels   = new List <IUIPanel>();
     panelPool       = new Dictionary <string, List <IUIPanel> >();
     createdBridges  = new List <Bridge>();
     hidedPanelStack = new Dictionary <IUIPanel, Stack <IUIPanel> >();
     transRefDic     = new Dictionary <int, IUIPanel>();
     createRule      = new PanelCreateRule(bundleCreateRule);
     bindingCtrl     = new UIBindingController();
     Utility.RegistPanelGroup(this);
 }