| 
					
				 | 
			
			
				@@ -16,7 +16,7 @@ namespace GFGGame 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         private GameObject _scenePrefab; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         private GameObject _sceneObject; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        private const int MAX_COUNT = 20; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        private const int MAX_COUNT = 8; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         private const float MaxScale = 2; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         private const float MinScale = 0.1f; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         private const string BgResPath = "Bg/BgRes"; 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -116,16 +116,9 @@ namespace GFGGame 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             RefreshList(EnumPhotographType.BG); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             SetUIView(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            // UpdateBg(ItemCfgArray.Instance.GetCfg(EquipDataCache.cacher.bgId)); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             PhotographSceneManager.Instance.AddBgItem(ItemCfgArray.Instance.GetCfg(EquipDataCache.cacher.bgId)); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				- 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            // UpdateBody(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             PhotographSceneManager.Instance.AddBodyItem(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             UpdateScene(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            // for (int i = 0; i < _itemGameObjs.Count; i++) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            // { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            //     PhotographDataManager.Instance.ChangeLayer(_itemGameObjs[i], i * 100, "up"); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            // } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             PhotographDataManager.Instance.SetLayer(null, "refresh"); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             if (GuideDataManager.IsGuideFinish(ConstGuideId.PHOTOGRAPH) > 0) 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -216,15 +209,38 @@ namespace GFGGame 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         private void AddSceneItem(ItemCfg itemCfg, bool setLayer) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            Vector2 pos = Vector2.zero; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             if (itemCfg.resLayer2 > 0) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                PhotographSceneManager.Instance.AddSceneItem(itemCfg, itemCfg.resLayer2, setLayer); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                GameObject parentGameObj2 = new GameObject(string.Format("{0}_{1}", itemCfg.id, 2)); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                PhotographSceneManager.Instance.AddSceneItem(parentGameObj2, itemCfg, itemCfg.resLayer2, setLayer); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                if (setLayer) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                    parentGameObj2.transform.localPosition = -parentGameObj2.transform.GetChild(0).localPosition; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                    pos = parentGameObj2.transform.localPosition; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				- 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             if (itemCfg.resLayer1 > 0) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                PhotographSceneManager.Instance.AddSceneItem(itemCfg, itemCfg.resLayer1, setLayer); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                GameObject parentGameObj1 = new GameObject(string.Format("{0}_{1}", itemCfg.id, 1)); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                PhotographSceneManager.Instance.AddSceneItem(parentGameObj1, itemCfg, itemCfg.resLayer1, setLayer); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                if (setLayer) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                    if (itemCfg.resLayer2 > 0) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                    { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                        parentGameObj1.transform.localPosition = pos; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                    } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                    else 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                    { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                        parentGameObj1.transform.localPosition = -parentGameObj1.transform.GetChild(0).localPosition; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                    } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            // GameObject parentGameObj2; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         /************************************************************场景*********************************************************/ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 |