Compare commits

...

2 Commits

Author SHA1 Message Date
zhangjiannan b2f9dc0f93 1 2025-08-22 11:53:46 +08:00
zhangjiannan 1881c9d4c8 1 2025-08-22 11:53:29 +08:00
2 changed files with 91 additions and 16 deletions

View File

@ -6453,7 +6453,7 @@ RectTransform:
m_LocalScale: {x: 1, y: 1, z: 1}
m_Children: []
m_Father: {fileID: 4030141169353930138}
m_RootOrder: 6
m_RootOrder: 7
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0.5, y: 0.5}
m_AnchorMax: {x: 0.5, y: 0.5}
@ -6956,6 +6956,78 @@ MonoBehaviour:
m_FillClockwise: 1
m_FillOrigin: 0
m_UseSpriteMesh: 0
--- !u!1 &2142535612008536835
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 2543442833143600587}
- component: {fileID: 3744512860852000613}
- component: {fileID: 5478228155114053885}
m_Layer: 5
m_Name: Image
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!224 &2543442833143600587
RectTransform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 2142535612008536835}
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: []
m_Father: {fileID: 4030141169353930138}
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, y: 0}
m_SizeDelta: {x: 132, y: 132}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!222 &3744512860852000613
CanvasRenderer:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 2142535612008536835}
m_CullTransparentMesh: 0
--- !u!114 &5478228155114053885
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 2142535612008536835}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: -765806418, guid: f70555f144d8491a825f0804e09c671c, type: 3}
m_Name:
m_EditorClassIdentifier:
m_Material: {fileID: 0}
m_Color: {r: 1, g: 1, b: 1, a: 1}
m_RaycastTarget: 1
m_OnCullStateChanged:
m_PersistentCalls:
m_Calls: []
m_Sprite: {fileID: 21300000, guid: 91c6146685dcac445a09ef610f464a4d, type: 3}
m_Type: 0
m_PreserveAspect: 0
m_FillCenter: 1
m_FillMethod: 4
m_FillAmount: 1
m_FillClockwise: 1
m_FillOrigin: 0
m_UseSpriteMesh: 0
--- !u!1 &2658718702967657002
GameObject:
m_ObjectHideFlags: 0
@ -12080,10 +12152,10 @@ RectTransform:
m_Father: {fileID: 4072935318317542415}
m_RootOrder: 15
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0.5, y: 1}
m_AnchorMax: {x: 0.5, y: 1}
m_AnchoredPosition: {x: 0.8, y: -731.2}
m_SizeDelta: {x: 950.7, y: 817.652}
m_AnchorMin: {x: 0, y: 0.5}
m_AnchorMax: {x: 1, y: 0.5}
m_AnchoredPosition: {x: 0, y: 262.16998}
m_SizeDelta: {x: 0, y: 817.652}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!222 &8742551993581657983
CanvasRenderer:
@ -22072,7 +22144,7 @@ RectTransform:
m_LocalScale: {x: 1, y: 1, z: 1}
m_Children: []
m_Father: {fileID: 4030141169353930138}
m_RootOrder: 1
m_RootOrder: 2
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0.5, y: 0.5}
m_AnchorMax: {x: 0.5, y: 0.5}
@ -27312,6 +27384,7 @@ RectTransform:
m_LocalPosition: {x: 0, y: 0, z: 0}
m_LocalScale: {x: 1, y: 1, z: 1}
m_Children:
- {fileID: 2543442833143600587}
- {fileID: 3369513290977621865}
- {fileID: 4871877126602413721}
- {fileID: 3481393952043618091}
@ -27325,7 +27398,7 @@ RectTransform:
m_AnchorMin: {x: 0.5, y: 0.5}
m_AnchorMax: {x: 0.5, y: 0.5}
m_AnchoredPosition: {x: -1458, y: 0}
m_SizeDelta: {x: 200, y: 190}
m_SizeDelta: {x: 230.4, y: 196.2}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!222 &499949125952080803
CanvasRenderer:
@ -32530,7 +32603,7 @@ RectTransform:
m_LocalScale: {x: 1, y: 1, z: 1}
m_Children: []
m_Father: {fileID: 4030141169353930138}
m_RootOrder: 4
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}
@ -32675,12 +32748,12 @@ RectTransform:
m_LocalScale: {x: 1, y: 1, z: 1}
m_Children: []
m_Father: {fileID: 4030141169353930138}
m_RootOrder: 0
m_RootOrder: 1
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, y: 0}
m_SizeDelta: {x: 100, y: 100}
m_SizeDelta: {x: 132, y: 132}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!222 &1174611753228402711
CanvasRenderer:
@ -32708,7 +32781,7 @@ MonoBehaviour:
m_OnCullStateChanged:
m_PersistentCalls:
m_Calls: []
m_Sprite: {fileID: 21300000, guid: 4080a1963cb778b47b33972e55bd5d9d, type: 3}
m_Sprite: {fileID: 21300000, guid: 8a358f662ff8c954f901d3012007c2ea, type: 3}
m_Type: 0
m_PreserveAspect: 0
m_FillCenter: 1
@ -32787,7 +32860,7 @@ RectTransform:
m_LocalScale: {x: 1, y: 1, z: 1}
m_Children: []
m_Father: {fileID: 4030141169353930138}
m_RootOrder: 5
m_RootOrder: 6
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0.5, y: 0.5}
m_AnchorMax: {x: 0.5, y: 0.5}
@ -38939,7 +39012,7 @@ RectTransform:
m_LocalScale: {x: 0.9993992, y: 0.9993992, z: 1}
m_Children: []
m_Father: {fileID: 4030141169353930138}
m_RootOrder: 2
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}
@ -44462,7 +44535,7 @@ RectTransform:
m_LocalScale: {x: 1, y: 1, z: 1}
m_Children: []
m_Father: {fileID: 4030141169353930138}
m_RootOrder: 3
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}

View File

@ -325,7 +325,8 @@ end
function this.SingleUpItemShow(_go,data,_index)
_go:SetActive(true)
_go.transform:SetAsFirstSibling()
local frame=_go:GetComponent("Image")
--local frame=_go:GetComponent("Image")
local frame=Util.GetGameObject(_go,"Image"):GetComponent("Image")
local icon=Util.GetGameObject(_go,"icon"):GetComponent("Image")
local name=Util.GetGameObject(_go,"name"):GetComponent("Text")
local lockObj=Util.GetGameObject(_go,"lock")
@ -354,7 +355,8 @@ function this.SingleUpItemShow(_go,data,_index)
end
)
else
frame.sprite=Util.LoadSprite("UI_hz_beibao_duigoudi")
frame.sprite=Util.LoadSprite("X1_tongyong_daojukuang_07")
--frame.gameObject:SetActive(false)
icon.gameObject:SetActive(false)
name.gameObject:SetActive(false)
starGrid:SetActive(false)