/// <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); }
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); }