diff --git a/Assets/ManagedResources/Prefabs/UI/RoleInfo/RoleGodSoulLayout.prefab b/Assets/ManagedResources/Prefabs/UI/RoleInfo/RoleGodSoulLayout.prefab index 102f1543cf..ad1c3ee32f 100644 --- a/Assets/ManagedResources/Prefabs/UI/RoleInfo/RoleGodSoulLayout.prefab +++ b/Assets/ManagedResources/Prefabs/UI/RoleInfo/RoleGodSoulLayout.prefab @@ -577,13 +577,9 @@ RectTransform: m_LocalScale: {x: 1, y: 1, z: 1} m_Children: - {fileID: 1160826661265422651} - - {fileID: 8133986337164326410} - - {fileID: 855633051782579941} - - {fileID: 565498950240293982} - - {fileID: 7083992215520858126} - {fileID: 8544457263562664734} m_Father: {fileID: 4597121384872724610} - m_RootOrder: 1 + m_RootOrder: 5 m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} m_AnchorMin: {x: 0.5, y: 0.5} m_AnchorMax: {x: 0.5, y: 0.5} @@ -739,12 +735,12 @@ RectTransform: - {fileID: 4318798202681846634} - {fileID: 7790125773635040651} - {fileID: 1933442160415107948} - m_Father: {fileID: 1192127436118750043} + m_Father: {fileID: 4597121384872724610} m_RootOrder: 3 m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} m_AnchorMin: {x: 0, y: 1} m_AnchorMax: {x: 0, y: 1} - m_AnchoredPosition: {x: -7202, y: -971} + m_AnchoredPosition: {x: -7122, y: -1264} m_SizeDelta: {x: 75, y: 75} m_Pivot: {x: 0.5, y: 0.5} --- !u!222 &1489574854617470572 @@ -1095,7 +1091,7 @@ RectTransform: m_Children: - {fileID: 1255918180421257560} m_Father: {fileID: 1192127436118750043} - m_RootOrder: 5 + m_RootOrder: 1 m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} m_AnchorMin: {x: 0.5, y: 1} m_AnchorMax: {x: 0.5, y: 1} @@ -1330,12 +1326,12 @@ RectTransform: m_Children: - {fileID: 5518753166282732150} - {fileID: 11555805161652063} - m_Father: {fileID: 1192127436118750043} + m_Father: {fileID: 4597121384872724610} m_RootOrder: 2 m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} m_AnchorMin: {x: 0, y: 1} m_AnchorMax: {x: 0, y: 1} - m_AnchoredPosition: {x: -2214, y: -183} + m_AnchoredPosition: {x: -2134, y: -476} m_SizeDelta: {x: 0, y: 0} m_Pivot: {x: 0.5, y: 0.5} --- !u!114 &4933896141250823645 @@ -1482,6 +1478,10 @@ RectTransform: m_LocalScale: {x: 1, y: 1, z: 1} m_Children: - {fileID: 8712935986767651845} + - {fileID: 8133986337164326410} + - {fileID: 855633051782579941} + - {fileID: 565498950240293982} + - {fileID: 7083992215520858126} - {fileID: 1192127436118750043} m_Father: {fileID: 0} m_RootOrder: 0 @@ -1736,7 +1736,7 @@ RectTransform: m_PrefabInstance: {fileID: 0} m_PrefabAsset: {fileID: 0} m_GameObject: {fileID: 4812928929798371750} - m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} + m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} m_LocalPosition: {x: 0, y: 0, z: 0} m_LocalScale: {x: 1, y: 1, z: 1} m_Children: @@ -1745,7 +1745,7 @@ RectTransform: - {fileID: 2396304696490683602} - {fileID: 7026640070725781074} - {fileID: 3415976804056143563} - m_Father: {fileID: 1192127436118750043} + m_Father: {fileID: 4597121384872724610} m_RootOrder: 4 m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} m_AnchorMin: {x: 0.5, y: 0.5} @@ -2880,12 +2880,12 @@ RectTransform: m_LocalScale: {x: 1, y: 1, z: 1} m_Children: - {fileID: 8731575896283159449} - m_Father: {fileID: 1192127436118750043} + m_Father: {fileID: 4597121384872724610} m_RootOrder: 1 m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} m_AnchorMin: {x: 0, y: 1} m_AnchorMax: {x: 0, y: 1} - m_AnchoredPosition: {x: -7118.8, y: 56.1} + m_AnchoredPosition: {x: -7038.8, y: -236.9} m_SizeDelta: {x: 26.9, y: 67.2} m_Pivot: {x: 0.5, y: 0.5} --- !u!114 &1261939006692365050 diff --git a/Assets/ManagedResources/~Lua/Modules/RoleInfo/RoleGodSoulLayout.lua b/Assets/ManagedResources/~Lua/Modules/RoleInfo/RoleGodSoulLayout.lua index e38f2eb444..9501e5506a 100644 --- a/Assets/ManagedResources/~Lua/Modules/RoleInfo/RoleGodSoulLayout.lua +++ b/Assets/ManagedResources/~Lua/Modules/RoleInfo/RoleGodSoulLayout.lua @@ -12,10 +12,10 @@ function RoleGodSoulLayout:InitComponent() self.curHeroName = Util.GetGameObject(self.gameObject,"bgdi/topLayout/name"):GetComponent("Text") self.curHeroGo = Util.GetGameObject(self.gameObject,"bgdi/topLayout/itemPre/HeroPre") - self.godPre = Util.GetGameObject(self.gameObject,"bgdi/godPre") - self.costPre = Util.GetGameObject(self.gameObject,"bgdi/costPre") - self.heroPre = Util.GetGameObject(self.gameObject,"bgdi/HeroPre") - self.singlePre = Util.GetGameObject(self.gameObject,"bgdi/singlePre") + self.godPre = Util.GetGameObject(self.gameObject,"godPre") + self.costPre = Util.GetGameObject(self.gameObject,"costPre") + self.heroPre = Util.GetGameObject(self.gameObject,"HeroPre") + self.singlePre = Util.GetGameObject(self.gameObject,"singlePre") self.grid = Util.GetGameObject(self.gameObject,"bgdi/scroll/grid") self.gridPos = self.grid:GetComponent("RectTransform").anchoredPosition self.gridList = {}