From 5b36346da3308c62965064c33d8252ee273440c8 Mon Sep 17 00:00:00 2001 From: ZhangBiao Date: Thu, 13 Jan 2022 18:29:12 +0800 Subject: [PATCH] =?UTF-8?q?=E3=80=90=E7=8E=A9=E5=AE=B6=E4=BF=A1=E6=81=AF?= =?UTF-8?q?=E3=80=91=E6=8F=90=E4=BA=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Prefabs/UI/Popup/PlayerInfoPopup.prefab | 338 +++++++++++++++++- .../~Lua/Modules/Popup/PlayerInfoPopup.lua | 127 +++++-- 2 files changed, 429 insertions(+), 36 deletions(-) diff --git a/Assets/ManagedResources/Prefabs/UI/Popup/PlayerInfoPopup.prefab b/Assets/ManagedResources/Prefabs/UI/Popup/PlayerInfoPopup.prefab index fc6396f457..4f9d06a72c 100644 --- a/Assets/ManagedResources/Prefabs/UI/Popup/PlayerInfoPopup.prefab +++ b/Assets/ManagedResources/Prefabs/UI/Popup/PlayerInfoPopup.prefab @@ -14947,6 +14947,97 @@ RectTransform: m_AnchoredPosition: {x: -1.8000183, y: 0} m_SizeDelta: {x: 135, y: 135} m_Pivot: {x: 0.5, y: 0.5} +--- !u!1 &429168570447346126 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 1833415466006012030} + - component: {fileID: 2926854930664588057} + - component: {fileID: 8571496282533065156} + - component: {fileID: 6019740231996337531} + m_Layer: 5 + m_Name: RideInfo + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!224 &1833415466006012030 +RectTransform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 429168570447346126} + 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: + - {fileID: 3492506437511806041} + m_Father: {fileID: 3031162827143993638} + m_RootOrder: 4 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} + m_AnchorMin: {x: 0.5, y: 0.5} + m_AnchorMax: {x: 0.5, y: 0.5} + m_AnchoredPosition: {x: -0.34, y: -0.00012207031} + m_SizeDelta: {x: 868.34, y: 250} + m_Pivot: {x: 0.5, y: 0.5} +--- !u!222 &2926854930664588057 +CanvasRenderer: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 429168570447346126} + m_CullTransparentMesh: 0 +--- !u!114 &8571496282533065156 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 429168570447346126} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 1367256648, guid: f70555f144d8491a825f0804e09c671c, type: 3} + m_Name: + m_EditorClassIdentifier: + m_Content: {fileID: 3492506437511806041} + m_Horizontal: 1 + m_Vertical: 0 + m_MovementType: 1 + m_Elasticity: 0.1 + m_Inertia: 1 + m_DecelerationRate: 0.135 + m_ScrollSensitivity: 1 + m_Viewport: {fileID: 0} + m_HorizontalScrollbar: {fileID: 0} + m_VerticalScrollbar: {fileID: 0} + m_HorizontalScrollbarVisibility: 0 + m_VerticalScrollbarVisibility: 0 + m_HorizontalScrollbarSpacing: 0 + m_VerticalScrollbarSpacing: 0 + m_OnValueChanged: + m_PersistentCalls: + m_Calls: [] + m_TypeName: UnityEngine.UI.ScrollRect+ScrollRectEvent, UnityEngine.UI, Version=1.0.0.0, + Culture=neutral, PublicKeyToken=null +--- !u!114 &6019740231996337531 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 429168570447346126} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: -146154839, guid: f70555f144d8491a825f0804e09c671c, type: 3} + m_Name: + m_EditorClassIdentifier: --- !u!1 &440484784946610101 GameObject: m_ObjectHideFlags: 0 @@ -19823,6 +19914,8 @@ RectTransform: - {fileID: 2935504977159976980} - {fileID: 5440172598549829521} - {fileID: 766109449052593049} + - {fileID: 6343545840538766107} + - {fileID: 1833415466006012030} m_Father: {fileID: 307101446868176157} m_RootOrder: 0 m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} @@ -34332,7 +34425,7 @@ RectTransform: m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} m_AnchorMin: {x: 0.5, y: 0.5} m_AnchorMax: {x: 0.5, y: 0.5} - m_AnchoredPosition: {x: 0.0000050723893, y: 0} + m_AnchoredPosition: {x: 0.0000045118945, y: 0} m_SizeDelta: {x: 0, y: 180} m_Pivot: {x: 0.5, y: 0.5} --- !u!114 &900201291181617377 @@ -50152,6 +50245,80 @@ ParticleSystemRenderer: m_Mesh2: {fileID: 0} m_Mesh3: {fileID: 0} m_MaskInteraction: 0 +--- !u!1 &1077806946938227582 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 3492506437511806041} + - component: {fileID: 7559439943759304843} + - component: {fileID: 5428068109508486952} + m_Layer: 0 + m_Name: Grid + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!224 &3492506437511806041 +RectTransform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1077806946938227582} + m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} + m_LocalPosition: {x: 0, y: 0, z: 100.00815} + m_LocalScale: {x: 1, y: 1, z: 1} + m_Children: [] + m_Father: {fileID: 1833415466006012030} + m_RootOrder: 0 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} + m_AnchorMin: {x: 0.5, y: 0.5} + m_AnchorMax: {x: 0.5, y: 0.5} + m_AnchoredPosition: {x: 0.0000045118945, y: 0} + m_SizeDelta: {x: 0, y: 180} + m_Pivot: {x: 0.5, y: 0.5} +--- !u!114 &7559439943759304843 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1077806946938227582} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: -405508275, guid: f70555f144d8491a825f0804e09c671c, type: 3} + m_Name: + m_EditorClassIdentifier: + m_Padding: + m_Left: 0 + m_Right: 0 + m_Top: 0 + m_Bottom: 0 + m_ChildAlignment: 4 + m_Spacing: 0 + m_ChildForceExpandWidth: 0 + m_ChildForceExpandHeight: 0 + m_ChildControlWidth: 0 + m_ChildControlHeight: 0 +--- !u!114 &5428068109508486952 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1077806946938227582} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 1741964061, guid: f70555f144d8491a825f0804e09c671c, type: 3} + m_Name: + m_EditorClassIdentifier: + m_HorizontalFit: 2 + m_VerticalFit: 0 --- !u!1 &1097294406738172621 GameObject: m_ObjectHideFlags: 0 @@ -130623,6 +130790,80 @@ RectTransform: m_AnchoredPosition: {x: -224.11433, y: -710.7099} m_SizeDelta: {x: 100, y: 100} m_Pivot: {x: 0.5, y: 0.5} +--- !u!1 &3886896367061329900 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 2950035244405133432} + - component: {fileID: 8995786174173558444} + - component: {fileID: 4011035315643509891} + m_Layer: 0 + m_Name: Grid + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!224 &2950035244405133432 +RectTransform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 3886896367061329900} + m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} + m_LocalPosition: {x: 0, y: 0, z: 100.00815} + m_LocalScale: {x: 1, y: 1, z: 1} + m_Children: [] + m_Father: {fileID: 6343545840538766107} + m_RootOrder: 0 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} + m_AnchorMin: {x: 0.5, y: 0.5} + m_AnchorMax: {x: 0.5, y: 0.5} + m_AnchoredPosition: {x: 0.0000045118945, y: 0} + m_SizeDelta: {x: 0, y: 180} + m_Pivot: {x: 0.5, y: 0.5} +--- !u!114 &8995786174173558444 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 3886896367061329900} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: -405508275, guid: f70555f144d8491a825f0804e09c671c, type: 3} + m_Name: + m_EditorClassIdentifier: + m_Padding: + m_Left: 0 + m_Right: 0 + m_Top: 0 + m_Bottom: 0 + m_ChildAlignment: 4 + m_Spacing: 0 + m_ChildForceExpandWidth: 0 + m_ChildForceExpandHeight: 0 + m_ChildControlWidth: 0 + m_ChildControlHeight: 0 +--- !u!114 &4011035315643509891 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 3886896367061329900} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 1741964061, guid: f70555f144d8491a825f0804e09c671c, type: 3} + m_Name: + m_EditorClassIdentifier: + m_HorizontalFit: 2 + m_VerticalFit: 0 --- !u!1 &3895597870059452038 GameObject: m_ObjectHideFlags: 0 @@ -130659,6 +130900,97 @@ RectTransform: m_AnchoredPosition: {x: 0, y: 0} m_SizeDelta: {x: 100, y: 100} m_Pivot: {x: 0.5, y: 0.5} +--- !u!1 &3915359539740155042 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 6343545840538766107} + - component: {fileID: 2188475380265573030} + - component: {fileID: 8509217913007091153} + - component: {fileID: 5414118030930314113} + m_Layer: 5 + m_Name: GemInfo + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!224 &6343545840538766107 +RectTransform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 3915359539740155042} + 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: + - {fileID: 2950035244405133432} + m_Father: {fileID: 3031162827143993638} + m_RootOrder: 3 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} + m_AnchorMin: {x: 0.5, y: 0.5} + m_AnchorMax: {x: 0.5, y: 0.5} + m_AnchoredPosition: {x: -0.34, y: -0.00012207031} + m_SizeDelta: {x: 868.34, y: 250} + m_Pivot: {x: 0.5, y: 0.5} +--- !u!222 &2188475380265573030 +CanvasRenderer: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 3915359539740155042} + m_CullTransparentMesh: 0 +--- !u!114 &8509217913007091153 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 3915359539740155042} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 1367256648, guid: f70555f144d8491a825f0804e09c671c, type: 3} + m_Name: + m_EditorClassIdentifier: + m_Content: {fileID: 2950035244405133432} + m_Horizontal: 1 + m_Vertical: 0 + m_MovementType: 1 + m_Elasticity: 0.1 + m_Inertia: 1 + m_DecelerationRate: 0.135 + m_ScrollSensitivity: 1 + m_Viewport: {fileID: 0} + m_HorizontalScrollbar: {fileID: 0} + m_VerticalScrollbar: {fileID: 0} + m_HorizontalScrollbarVisibility: 0 + m_VerticalScrollbarVisibility: 0 + m_HorizontalScrollbarSpacing: 0 + m_VerticalScrollbarSpacing: 0 + m_OnValueChanged: + m_PersistentCalls: + m_Calls: [] + m_TypeName: UnityEngine.UI.ScrollRect+ScrollRectEvent, UnityEngine.UI, Version=1.0.0.0, + Culture=neutral, PublicKeyToken=null +--- !u!114 &5414118030930314113 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 3915359539740155042} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: -146154839, guid: f70555f144d8491a825f0804e09c671c, type: 3} + m_Name: + m_EditorClassIdentifier: --- !u!1 &3949670451275890430 GameObject: m_ObjectHideFlags: 0 @@ -176810,7 +177142,7 @@ RectTransform: m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} m_AnchorMin: {x: 0.5, y: 0.5} m_AnchorMax: {x: 0.5, y: 0.5} - m_AnchoredPosition: {x: 0.0000050723893, y: 0} + m_AnchoredPosition: {x: 0.0000045118945, y: 0} m_SizeDelta: {x: 0, y: 180} m_Pivot: {x: 0.5, y: 0.5} --- !u!114 &3119795391630397554 @@ -192350,7 +192682,7 @@ RectTransform: m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} m_AnchorMin: {x: 0.5, y: 0.5} m_AnchorMax: {x: 0.5, y: 0.5} - m_AnchoredPosition: {x: 0.0000050723893, y: 0} + m_AnchoredPosition: {x: 0.0000045118945, y: 0} m_SizeDelta: {x: 0, y: 180} m_Pivot: {x: 0.5, y: 0.5} --- !u!114 &905777280683595193 diff --git a/Assets/ManagedResources/~Lua/Modules/Popup/PlayerInfoPopup.lua b/Assets/ManagedResources/~Lua/Modules/Popup/PlayerInfoPopup.lua index 033189c67a..5e3b3d1d9e 100644 --- a/Assets/ManagedResources/~Lua/Modules/Popup/PlayerInfoPopup.lua +++ b/Assets/ManagedResources/~Lua/Modules/Popup/PlayerInfoPopup.lua @@ -94,14 +94,37 @@ local InfoBtns = { [1] = { name = "紫府神印", gridName = "imprintInfo", + func = function (msg) + this.imprintInfoShow(msg) + end }, [2] = { name = "身外化身", gridName = "huashenInfo", + func = function (msg) + this.huashenInfoShow(msg) + end }, [3] = { name = "四象心法", gridName = "fourElementInfo", + func = function (msg) + this.fourElementInfoShow(msg) + end + }, + [4] = { + name = "命 格", + gridName = "GemInfo", + func = function (msg) + this.GemInfoShow(msg) + end + }, + [5] = { + name = "坐 骑", + gridName = "RideInfo", + func = function (msg) + this.RideInfoShow(msg) + end }, } @@ -161,7 +184,7 @@ function PlayerInfoPopup:InitComponent() --所有信息Obj的PreList this.InfoBtns = Util.GetGameObject(self.transform, "tipImage/panel/InfoBtns") this.InfoBtnsGrid = Util.GetGameObject(this.InfoBtns, "Grid") - this.InfoContent = Util.GetGameObject(self.transform, "tipImage/panel/InfoGrids") + this.InfoContent = Util.GetGameObject(self.transform, "tipImage/panel/InfoGrids/Bg") this.infoBtnPre = Util.GetGameObject(self.transform, "btnPre")--按钮的Pre this.imprintPre = Util.GetGameObject(self.transform, "imprintPre")--神印的Pre this.InfoBtnsList = {} @@ -431,45 +454,83 @@ function this.FormationAdapter(teamInfo) end end - --神印信息 - -- if teamInfo.sealShow and #teamInfo.sealShow > 0 then - -- this.imprintObj:SetActive(true) - -- if not this.imprintItemList then - -- this.imprintItemList = {} - -- end - -- for i = 1, #this.imprintItemList do - -- this.imprintItemList[i].gameObject:SetActive(false) - -- end - -- for i = 1, #teamInfo.sealShow do - -- local item = this.imprintItemList[i] - -- local value = teamInfo.sealShow[i] - -- if not item then - -- item = newObject(this.imprintPre) - -- item.name = "imprintPre_"..i - -- item.transform:SetParent(this.imprintGrid.transform) - -- item.transform.localScale = Vector3.one - -- item.transform.localPosition = Vector3.zero - -- this.imprintItemList[i] = item - -- end - -- item.gameObject:SetActive(true) - -- local icon = Util.GetGameObject(item,"icon"):GetComponent("Image") - -- icon.sprite = this.spLoader:LoadSprite(GetResourcePath(XiuXianSkillConfig[value.id].Icon)) - -- Util.AddOnceClick(item.gameObject,function () - -- UIManager.OpenPanel(UIName.GeneralInfoPopup,GENERALINFO_TYPE.Imprint,value.id,value.heroTId) - -- end) - -- end - -- else - -- this.imprintObj:SetActive(false) - -- end --====================其他信息按钮显示====================== + this.infoIndex = 0 for index, value in ipairs(InfoBtns) do + --添加按钮 local item = this.InfoBtnsList[index] if not item then item = newObjToParent(this.infoBtnPre,this.InfoBtnsGrid.transform) this.InfoBtnsList[index] = item item.gameObject:SetActive(true) end - Util.GetGameObject(item,"btnName"):GetComponent("Text").text = value.name + local name = Util.GetGameObject(item,"btnName"):GetComponent("Text") + name.text = value.name + + --判断按钮是否显示 + if (index == 1 and teamInfo.sealShow and #teamInfo.sealShow > 0) or--神印 + (index == 2 and teamInfo.huashen and #teamInfo.huashen > 0) or--身外化身 + (index == 3 and teamInfo.huashen and #teamInfo.huashen > 0) or--四象心法 + (index == 4 and teamInfo.huashen and #teamInfo.huashen > 0) or--命石 + (index == 5 and teamInfo.huashen and #teamInfo.huashen > 0) then--坐骑 + item.gameObject:SetActive(true) + if this.infoIndex == 0 then + this.infoIndex = index + end + else + item.gameObject:SetActive(false) + end + + --添加点击事件 + Util.AddOnceClick(item,function () + this.infoIndex = index + this.ShowInfos(teamInfo) + end) + end + --初始化一次 + this.ShowInfos(teamInfo) +end + +--选择展示下方框框中显示的内容 +function this.ShowInfos(teamInfo) + for index, value in ipairs(this.InfoBtnsList) do + local img = value:GetComponent("Image") + if this.infoIndex == index then + img.sprite = this.spLoader:LoadSprite("s_shop_qieye_2") + else + img.sprite = this.spLoader:LoadSprite("s_shop_qieye_1") + end + Util.GetGameObject(this.InfoContent,InfoBtns[this.infoIndex].gridName):SetActive(false) + end + InfoBtns[this.infoIndex].func(teamInfo) +end + +--===========================滑动条中的信息展示==================== +--神印的 +function this.imprintInfoShow(teamInfo) + local MainContent = Util.GetGameObject(this.InfoContent,InfoBtns[this.infoIndex].gridName) + local Grid = Util.GetGameObject(MainContent,"Grid") + MainContent:SetActive(true) + if not this.ItemPreList[this.infoIndex] then + this.ItemPreList[this.infoIndex] = {} + end + for i = 1, #this.ItemPreList[this.infoIndex] do + this.ItemPreList[this.infoIndex][i].gameObject:SetActive(false) + end + for i = 1, #teamInfo.sealShow do + local item = this.ItemPreList[this.infoIndex][i] + local value = teamInfo.sealShow[i] + if not item then + item = newObjToParent(this.imprintPre,Grid.transform) + item:SetActive(true) + this.ItemPreList[this.infoIndex][i] = item + end + item.gameObject:SetActive(true) + local icon = Util.GetGameObject(item,"icon"):GetComponent("Image") + icon.sprite = this.spLoader:LoadSprite(GetResourcePath(XiuXianSkillConfig[value.id].Icon)) + Util.AddOnceClick(item.gameObject,function () + UIManager.OpenPanel(UIName.GeneralInfoPopup,GENERALINFO_TYPE.Imprint,value.id,value.heroTId) + end) end end @@ -614,7 +675,7 @@ end --界面关闭时调用(用于子类重写) function PlayerInfoPopup:OnClose() - this.imprintObj:SetActive(false) + -- this.imprintObj:SetActive(false) JumpServerManager.SetCurPersonInfo(nil) if titleLive then SubUIManager.Close(titleLive)