写了一个baseUI基类

This commit is contained in:
wulongxiao 2024-11-25 14:35:28 +08:00
parent 2c1ecc92c1
commit a6f44a0a8c
11 changed files with 951 additions and 479 deletions

View File

@ -1520,6 +1520,11 @@ CanvasRenderer:
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 371892449}
m_CullTransparentMesh: 1
--- !u!1 &456891650 stripped
GameObject:
m_CorrespondingSourceObject: {fileID: 499058876202855932, guid: 850728972d7b6c64e88a9a269542755e, type: 3}
m_PrefabInstance: {fileID: 2114255053}
m_PrefabAsset: {fileID: 0}
--- !u!1 &458431467
GameObject:
m_ObjectHideFlags: 0
@ -2004,6 +2009,7 @@ GameObject:
- component: {fileID: 593357784}
- component: {fileID: 593357786}
- component: {fileID: 593357785}
- component: {fileID: 593357787}
m_Layer: 5
m_Name: item
m_TagString: Untagged
@ -2026,6 +2032,7 @@ RectTransform:
- {fileID: 303722959}
- {fileID: 477328106}
- {fileID: 275590417}
- {fileID: 1721322823}
m_Father: {fileID: 2144663689}
m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
@ -2072,6 +2079,23 @@ CanvasRenderer:
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 593357783}
m_CullTransparentMesh: 1
--- !u!114 &593357787
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 593357783}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: be430db9e6bfab94b947f2deb87dc70c, type: 3}
m_Name:
m_EditorClassIdentifier:
iconImage: {fileID: 303722960}
nameText: {fileID: 477328107}
priceText: {fileID: 275590418}
btn: {fileID: 1721322824}
prefab: {fileID: 1056612372}
--- !u!1 &632559316
GameObject:
m_ObjectHideFlags: 0
@ -2201,7 +2225,7 @@ RectTransform:
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0.2311431, y: 0.12940945}
m_AnchorMax: {x: 0.77500004, y: 0.405559}
m_AnchoredPosition: {x: -0.74560547, y: -0.5730896}
m_AnchoredPosition: {x: -0.7456665, y: -0.57307434}
m_SizeDelta: {x: 1.4937134, y: -1.2243042}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!114 &651975543
@ -2495,82 +2519,6 @@ CanvasRenderer:
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 721637044}
m_CullTransparentMesh: 1
--- !u!1 &773548331
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 773548332}
- component: {fileID: 773548334}
- component: {fileID: 773548333}
m_Layer: 5
m_Name: Image
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!224 &773548332
RectTransform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 773548331}
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_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 1838584258}
m_RootOrder: 1
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 1, y: 1}
m_AnchoredPosition: {x: -1477, y: 0}
m_SizeDelta: {x: 0, y: 0}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!114 &773548333
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 773548331}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: fe87c0e1cc204ed48ad3b37840f39efc, type: 3}
m_Name:
m_EditorClassIdentifier:
m_Material: {fileID: 0}
m_Color: {r: 1, g: 1, b: 1, a: 1}
m_RaycastTarget: 1
m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0}
m_Maskable: 1
m_OnCullStateChanged:
m_PersistentCalls:
m_Calls: []
m_Sprite: {fileID: 21300000, guid: e1433dc5598a9a84b922f6ae31ac0176, 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
m_PixelsPerUnitMultiplier: 1
--- !u!222 &773548334
CanvasRenderer:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 773548331}
m_CullTransparentMesh: 1
--- !u!1 &794917026
GameObject:
m_ObjectHideFlags: 0
@ -2624,7 +2572,7 @@ MonoBehaviour:
m_EditorClassIdentifier:
m_Material: {fileID: 0}
m_Color: {r: 1, g: 1, b: 1, a: 1}
m_RaycastTarget: 1
m_RaycastTarget: 0
m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0}
m_Maskable: 1
m_OnCullStateChanged:
@ -2806,7 +2754,7 @@ CanvasRenderer:
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 994128509}
m_CullTransparentMesh: 1
--- !u!1 &1031087289
--- !u!1 &1056612372
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
@ -2814,74 +2762,50 @@ GameObject:
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 1031087290}
- component: {fileID: 1031087292}
- component: {fileID: 1031087291}
- component: {fileID: 1056612373}
- component: {fileID: 1056612374}
m_Layer: 5
m_Name: Image
m_Name: panel
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!224 &1031087290
--- !u!224 &1056612373
RectTransform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1031087289}
m_GameObject: {fileID: 1056612372}
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: 0, y: 0, z: 0}
m_LocalScale: {x: 0.85, y: 0.85, z: 0.85}
m_ConstrainProportionsScale: 1
m_Children: []
m_Father: {fileID: 2047141940}
m_RootOrder: 0
m_LocalScale: {x: 1, y: 1, z: 1}
m_ConstrainProportionsScale: 0
m_Children:
- {fileID: 2114255054}
m_Father: {fileID: 1838584258}
m_RootOrder: 1
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0.20984884, y: 0.30451003}
m_AnchorMax: {x: 0.79010934, y: 0.809}
m_AnchoredPosition: {x: 0, y: -1.9000244}
m_SizeDelta: {x: 16, y: 12}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 1, y: 1}
m_AnchoredPosition: {x: 0, y: 0}
m_SizeDelta: {x: 0, y: 0}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!114 &1031087291
--- !u!114 &1056612374
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1031087289}
m_GameObject: {fileID: 1056612372}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: fe87c0e1cc204ed48ad3b37840f39efc, type: 3}
m_Script: {fileID: 11500000, guid: df0bd725c49d7d0479a5b8e780be8b7e, type: 3}
m_Name:
m_EditorClassIdentifier:
m_Material: {fileID: 0}
m_Color: {r: 1, g: 1, b: 1, a: 1}
m_RaycastTarget: 1
m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0}
m_Maskable: 1
m_OnCullStateChanged:
m_PersistentCalls:
m_Calls: []
m_Sprite: {fileID: 21300000, guid: 40bb58264dd543e40b2c0aae081a6b1d, type: 3}
m_Type: 0
m_PreserveAspect: 1
m_FillCenter: 1
m_FillMethod: 4
m_FillAmount: 1
m_FillClockwise: 1
m_FillOrigin: 0
m_UseSpriteMesh: 0
m_PixelsPerUnitMultiplier: 1
--- !u!222 &1031087292
CanvasRenderer:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1031087289}
m_CullTransparentMesh: 1
Panel: {fileID: 456891650}
CloseBTN: {fileID: 2114255055}
--- !u!1 &1060191790
GameObject:
m_ObjectHideFlags: 0
@ -3376,7 +3300,7 @@ MonoBehaviour:
m_EditorClassIdentifier:
m_Material: {fileID: 0}
m_Color: {r: 1, g: 1, b: 1, a: 1}
m_RaycastTarget: 1
m_RaycastTarget: 0
m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0}
m_Maskable: 1
m_OnCullStateChanged:
@ -3589,7 +3513,7 @@ RectTransform:
- {fileID: 1820555823}
- {fileID: 794917027}
- {fileID: 1284802845}
- {fileID: 2047141940}
- {fileID: 561607581635101859}
m_Father: {fileID: 1838584258}
m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
@ -4140,6 +4064,127 @@ CanvasRenderer:
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1710133959}
m_CullTransparentMesh: 1
--- !u!1 &1721322822
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 1721322823}
- component: {fileID: 1721322826}
- component: {fileID: 1721322825}
- component: {fileID: 1721322824}
m_Layer: 5
m_Name: Button
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!224 &1721322823
RectTransform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1721322822}
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_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 593357784}
m_RootOrder: 3
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 1, y: 1}
m_AnchoredPosition: {x: 0, y: 0}
m_SizeDelta: {x: 0, y: 0}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!114 &1721322824
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1721322822}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 4e29b1a8efbd4b44bb3f3716e73f07ff, type: 3}
m_Name:
m_EditorClassIdentifier:
m_Navigation:
m_Mode: 3
m_WrapAround: 0
m_SelectOnUp: {fileID: 0}
m_SelectOnDown: {fileID: 0}
m_SelectOnLeft: {fileID: 0}
m_SelectOnRight: {fileID: 0}
m_Transition: 1
m_Colors:
m_NormalColor: {r: 1, g: 1, b: 1, a: 1}
m_HighlightedColor: {r: 0.9607843, g: 0.9607843, b: 0.9607843, a: 1}
m_PressedColor: {r: 0.78431374, g: 0.78431374, b: 0.78431374, a: 1}
m_SelectedColor: {r: 0.9607843, g: 0.9607843, b: 0.9607843, a: 1}
m_DisabledColor: {r: 0.78431374, g: 0.78431374, b: 0.78431374, a: 0.5019608}
m_ColorMultiplier: 1
m_FadeDuration: 0.1
m_SpriteState:
m_HighlightedSprite: {fileID: 0}
m_PressedSprite: {fileID: 0}
m_SelectedSprite: {fileID: 0}
m_DisabledSprite: {fileID: 0}
m_AnimationTriggers:
m_NormalTrigger: Normal
m_HighlightedTrigger: Highlighted
m_PressedTrigger: Pressed
m_SelectedTrigger: Selected
m_DisabledTrigger: Disabled
m_Interactable: 1
m_TargetGraphic: {fileID: 1721322825}
m_OnClick:
m_PersistentCalls:
m_Calls: []
--- !u!114 &1721322825
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1721322822}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: fe87c0e1cc204ed48ad3b37840f39efc, type: 3}
m_Name:
m_EditorClassIdentifier:
m_Material: {fileID: 0}
m_Color: {r: 1, g: 1, b: 1, a: 0}
m_RaycastTarget: 1
m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0}
m_Maskable: 1
m_OnCullStateChanged:
m_PersistentCalls:
m_Calls: []
m_Sprite: {fileID: 10905, guid: 0000000000000000f000000000000000, type: 0}
m_Type: 1
m_PreserveAspect: 0
m_FillCenter: 1
m_FillMethod: 4
m_FillAmount: 1
m_FillClockwise: 1
m_FillOrigin: 0
m_UseSpriteMesh: 0
m_PixelsPerUnitMultiplier: 1
--- !u!222 &1721322826
CanvasRenderer:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1721322822}
m_CullTransparentMesh: 1
--- !u!1 &1743843907
GameObject:
m_ObjectHideFlags: 0
@ -4327,7 +4372,7 @@ MonoBehaviour:
m_EditorClassIdentifier:
m_Material: {fileID: 0}
m_Color: {r: 1, g: 1, b: 1, a: 1}
m_RaycastTarget: 1
m_RaycastTarget: 0
m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0}
m_Maskable: 1
m_OnCullStateChanged:
@ -4445,7 +4490,7 @@ RectTransform:
m_ConstrainProportionsScale: 0
m_Children:
- {fileID: 1400177057}
- {fileID: 773548332}
- {fileID: 1056612373}
m_Father: {fileID: 0}
m_RootOrder: 2
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
@ -5014,128 +5059,6 @@ CanvasRenderer:
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1974954423}
m_CullTransparentMesh: 1
--- !u!1 &2047141936
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 2047141940}
- component: {fileID: 2047141939}
- component: {fileID: 2047141938}
- component: {fileID: 2047141937}
m_Layer: 5
m_Name: retrun
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!114 &2047141937
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 2047141936}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 4e29b1a8efbd4b44bb3f3716e73f07ff, type: 3}
m_Name:
m_EditorClassIdentifier:
m_Navigation:
m_Mode: 3
m_WrapAround: 0
m_SelectOnUp: {fileID: 0}
m_SelectOnDown: {fileID: 0}
m_SelectOnLeft: {fileID: 0}
m_SelectOnRight: {fileID: 0}
m_Transition: 1
m_Colors:
m_NormalColor: {r: 1, g: 1, b: 1, a: 1}
m_HighlightedColor: {r: 0.9607843, g: 0.9607843, b: 0.9607843, a: 1}
m_PressedColor: {r: 0.78431374, g: 0.78431374, b: 0.78431374, a: 1}
m_SelectedColor: {r: 0.9607843, g: 0.9607843, b: 0.9607843, a: 1}
m_DisabledColor: {r: 0.78431374, g: 0.78431374, b: 0.78431374, a: 0.5019608}
m_ColorMultiplier: 1
m_FadeDuration: 0.1
m_SpriteState:
m_HighlightedSprite: {fileID: 0}
m_PressedSprite: {fileID: 0}
m_SelectedSprite: {fileID: 0}
m_DisabledSprite: {fileID: 0}
m_AnimationTriggers:
m_NormalTrigger: Normal
m_HighlightedTrigger: Highlighted
m_PressedTrigger: Pressed
m_SelectedTrigger: Selected
m_DisabledTrigger: Disabled
m_Interactable: 1
m_TargetGraphic: {fileID: 2047141938}
m_OnClick:
m_PersistentCalls:
m_Calls: []
--- !u!114 &2047141938
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 2047141936}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: fe87c0e1cc204ed48ad3b37840f39efc, type: 3}
m_Name:
m_EditorClassIdentifier:
m_Material: {fileID: 0}
m_Color: {r: 1, g: 1, b: 1, a: 1}
m_RaycastTarget: 1
m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0}
m_Maskable: 1
m_OnCullStateChanged:
m_PersistentCalls:
m_Calls: []
m_Sprite: {fileID: 21300000, guid: 7eb5e2d6dfb04964aa198be15459ff09, type: 3}
m_Type: 1
m_PreserveAspect: 1
m_FillCenter: 1
m_FillMethod: 4
m_FillAmount: 1
m_FillClockwise: 1
m_FillOrigin: 0
m_UseSpriteMesh: 0
m_PixelsPerUnitMultiplier: 1
--- !u!222 &2047141939
CanvasRenderer:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 2047141936}
m_CullTransparentMesh: 1
--- !u!224 &2047141940
RectTransform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 2047141936}
m_LocalRotation: {x: -0, y: -0, z: -0, w: 1}
m_LocalPosition: {x: 0, y: 0, z: 0}
m_LocalScale: {x: 0.9999883, y: 0.9999883, z: 0.9999883}
m_ConstrainProportionsScale: 0
m_Children:
- {fileID: 1031087290}
m_Father: {fileID: 1400177057}
m_RootOrder: 4
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0.78000003, y: 0.03047291}
m_AnchorMax: {x: 0.91118664, y: 0.09387357}
m_AnchoredPosition: {x: -1.9699707, y: 2.4980469}
m_SizeDelta: {x: 6.23999, y: 4.235504}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!1 &2065719521
GameObject:
m_ObjectHideFlags: 0
@ -5212,6 +5135,219 @@ CanvasRenderer:
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 2065719521}
m_CullTransparentMesh: 1
--- !u!1001 &2114255053
PrefabInstance:
m_ObjectHideFlags: 0
serializedVersion: 2
m_Modification:
m_TransformParent: {fileID: 1056612373}
m_Modifications:
- target: {fileID: 499058874746547186, guid: 850728972d7b6c64e88a9a269542755e, type: 3}
propertyPath: m_SizeDelta.x
value: 181.0154
objectReference: {fileID: 0}
- target: {fileID: 499058874746547186, guid: 850728972d7b6c64e88a9a269542755e, type: 3}
propertyPath: m_SizeDelta.y
value: 157.2557
objectReference: {fileID: 0}
- target: {fileID: 499058874746547186, guid: 850728972d7b6c64e88a9a269542755e, type: 3}
propertyPath: m_AnchoredPosition.x
value: 471.24805
objectReference: {fileID: 0}
- target: {fileID: 499058874746547186, guid: 850728972d7b6c64e88a9a269542755e, type: 3}
propertyPath: m_AnchoredPosition.y
value: -1063.8873
objectReference: {fileID: 0}
- target: {fileID: 499058874746547187, guid: 850728972d7b6c64e88a9a269542755e, type: 3}
propertyPath: m_IsActive
value: 1
objectReference: {fileID: 0}
- target: {fileID: 499058875182784347, guid: 850728972d7b6c64e88a9a269542755e, type: 3}
propertyPath: m_AnchorMax.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 499058875182784347, guid: 850728972d7b6c64e88a9a269542755e, type: 3}
propertyPath: m_AnchorMin.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 499058875182784347, guid: 850728972d7b6c64e88a9a269542755e, type: 3}
propertyPath: m_AnchoredPosition.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 499058875182784347, guid: 850728972d7b6c64e88a9a269542755e, type: 3}
propertyPath: m_AnchoredPosition.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 499058875760407417, guid: 850728972d7b6c64e88a9a269542755e, type: 3}
propertyPath: m_AnchorMax.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 499058875760407417, guid: 850728972d7b6c64e88a9a269542755e, type: 3}
propertyPath: m_AnchorMin.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 499058875760407417, guid: 850728972d7b6c64e88a9a269542755e, type: 3}
propertyPath: m_AnchoredPosition.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 499058875760407417, guid: 850728972d7b6c64e88a9a269542755e, type: 3}
propertyPath: m_AnchoredPosition.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 499058875926005685, guid: 850728972d7b6c64e88a9a269542755e, type: 3}
propertyPath: m_Pivot.x
value: 0.5
objectReference: {fileID: 0}
- target: {fileID: 499058875926005685, guid: 850728972d7b6c64e88a9a269542755e, type: 3}
propertyPath: m_Pivot.y
value: 0.5
objectReference: {fileID: 0}
- target: {fileID: 499058875926005685, guid: 850728972d7b6c64e88a9a269542755e, type: 3}
propertyPath: m_RootOrder
value: 0
objectReference: {fileID: 0}
- target: {fileID: 499058875926005685, guid: 850728972d7b6c64e88a9a269542755e, type: 3}
propertyPath: m_AnchorMax.x
value: 1
objectReference: {fileID: 0}
- target: {fileID: 499058875926005685, guid: 850728972d7b6c64e88a9a269542755e, type: 3}
propertyPath: m_AnchorMax.y
value: 1
objectReference: {fileID: 0}
- target: {fileID: 499058875926005685, guid: 850728972d7b6c64e88a9a269542755e, type: 3}
propertyPath: m_AnchorMin.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 499058875926005685, guid: 850728972d7b6c64e88a9a269542755e, type: 3}
propertyPath: m_AnchorMin.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 499058875926005685, guid: 850728972d7b6c64e88a9a269542755e, type: 3}
propertyPath: m_SizeDelta.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 499058875926005685, guid: 850728972d7b6c64e88a9a269542755e, type: 3}
propertyPath: m_SizeDelta.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 499058875926005685, guid: 850728972d7b6c64e88a9a269542755e, type: 3}
propertyPath: m_LocalPosition.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 499058875926005685, guid: 850728972d7b6c64e88a9a269542755e, type: 3}
propertyPath: m_LocalPosition.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 499058875926005685, guid: 850728972d7b6c64e88a9a269542755e, type: 3}
propertyPath: m_LocalPosition.z
value: 0
objectReference: {fileID: 0}
- target: {fileID: 499058875926005685, guid: 850728972d7b6c64e88a9a269542755e, type: 3}
propertyPath: m_LocalRotation.w
value: 1
objectReference: {fileID: 0}
- target: {fileID: 499058875926005685, guid: 850728972d7b6c64e88a9a269542755e, type: 3}
propertyPath: m_LocalRotation.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 499058875926005685, guid: 850728972d7b6c64e88a9a269542755e, type: 3}
propertyPath: m_LocalRotation.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 499058875926005685, guid: 850728972d7b6c64e88a9a269542755e, type: 3}
propertyPath: m_LocalRotation.z
value: 0
objectReference: {fileID: 0}
- target: {fileID: 499058875926005685, guid: 850728972d7b6c64e88a9a269542755e, type: 3}
propertyPath: m_AnchoredPosition.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 499058875926005685, guid: 850728972d7b6c64e88a9a269542755e, type: 3}
propertyPath: m_AnchoredPosition.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 499058875926005685, guid: 850728972d7b6c64e88a9a269542755e, type: 3}
propertyPath: m_LocalEulerAnglesHint.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 499058875926005685, guid: 850728972d7b6c64e88a9a269542755e, type: 3}
propertyPath: m_LocalEulerAnglesHint.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 499058875926005685, guid: 850728972d7b6c64e88a9a269542755e, type: 3}
propertyPath: m_LocalEulerAnglesHint.z
value: 0
objectReference: {fileID: 0}
- target: {fileID: 499058875926005686, guid: 850728972d7b6c64e88a9a269542755e, type: 3}
propertyPath: m_Name
value: woniukaPanel
objectReference: {fileID: 0}
- target: {fileID: 499058875926005686, guid: 850728972d7b6c64e88a9a269542755e, type: 3}
propertyPath: m_IsActive
value: 1
objectReference: {fileID: 0}
- target: {fileID: 499058876091612563, guid: 850728972d7b6c64e88a9a269542755e, type: 3}
propertyPath: m_AnchorMax.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 499058876091612563, guid: 850728972d7b6c64e88a9a269542755e, type: 3}
propertyPath: m_AnchorMin.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 499058876091612563, guid: 850728972d7b6c64e88a9a269542755e, type: 3}
propertyPath: m_AnchoredPosition.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 499058876091612563, guid: 850728972d7b6c64e88a9a269542755e, type: 3}
propertyPath: m_AnchoredPosition.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 499058876109961378, guid: 850728972d7b6c64e88a9a269542755e, type: 3}
propertyPath: m_AnchorMax.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 499058876109961378, guid: 850728972d7b6c64e88a9a269542755e, type: 3}
propertyPath: m_AnchorMin.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 499058876109961378, guid: 850728972d7b6c64e88a9a269542755e, type: 3}
propertyPath: m_AnchoredPosition.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 499058876109961378, guid: 850728972d7b6c64e88a9a269542755e, type: 3}
propertyPath: m_AnchoredPosition.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 499058876202855931, guid: 850728972d7b6c64e88a9a269542755e, type: 3}
propertyPath: m_SizeDelta.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 499058876202855931, guid: 850728972d7b6c64e88a9a269542755e, type: 3}
propertyPath: m_SizeDelta.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 4534604694238587277, guid: 850728972d7b6c64e88a9a269542755e, type: 3}
propertyPath: m_IsActive
value: 1
objectReference: {fileID: 0}
m_RemovedComponents: []
m_SourcePrefab: {fileID: 100100000, guid: 850728972d7b6c64e88a9a269542755e, type: 3}
--- !u!224 &2114255054 stripped
RectTransform:
m_CorrespondingSourceObject: {fileID: 499058875926005685, guid: 850728972d7b6c64e88a9a269542755e, type: 3}
m_PrefabInstance: {fileID: 2114255053}
m_PrefabAsset: {fileID: 0}
--- !u!114 &2114255055 stripped
MonoBehaviour:
m_CorrespondingSourceObject: {fileID: 4534604694238587279, guid: 850728972d7b6c64e88a9a269542755e, type: 3}
m_PrefabInstance: {fileID: 2114255053}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 0}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 4e29b1a8efbd4b44bb3f3716e73f07ff, type: 3}
m_Name:
m_EditorClassIdentifier:
--- !u!1 &2144663688
GameObject:
m_ObjectHideFlags: 0
@ -5291,3 +5427,109 @@ CanvasRenderer:
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 2144663688}
m_CullTransparentMesh: 1
--- !u!1001 &561607581635101858
PrefabInstance:
m_ObjectHideFlags: 0
serializedVersion: 2
m_Modification:
m_TransformParent: {fileID: 1400177057}
m_Modifications:
- target: {fileID: 561607582003899538, guid: dac544bca4358514d949413f04b4421c, type: 3}
propertyPath: m_Name
value: retrun
objectReference: {fileID: 0}
- target: {fileID: 561607582003899542, guid: dac544bca4358514d949413f04b4421c, type: 3}
propertyPath: m_Pivot.x
value: 0.5
objectReference: {fileID: 0}
- target: {fileID: 561607582003899542, guid: dac544bca4358514d949413f04b4421c, type: 3}
propertyPath: m_Pivot.y
value: 0.5
objectReference: {fileID: 0}
- target: {fileID: 561607582003899542, guid: dac544bca4358514d949413f04b4421c, type: 3}
propertyPath: m_RootOrder
value: 4
objectReference: {fileID: 0}
- target: {fileID: 561607582003899542, guid: dac544bca4358514d949413f04b4421c, type: 3}
propertyPath: m_AnchorMax.x
value: 0.91118664
objectReference: {fileID: 0}
- target: {fileID: 561607582003899542, guid: dac544bca4358514d949413f04b4421c, type: 3}
propertyPath: m_AnchorMax.y
value: 0.09387357
objectReference: {fileID: 0}
- target: {fileID: 561607582003899542, guid: dac544bca4358514d949413f04b4421c, type: 3}
propertyPath: m_AnchorMin.x
value: 0.78000003
objectReference: {fileID: 0}
- target: {fileID: 561607582003899542, guid: dac544bca4358514d949413f04b4421c, type: 3}
propertyPath: m_AnchorMin.y
value: 0.03047291
objectReference: {fileID: 0}
- target: {fileID: 561607582003899542, guid: dac544bca4358514d949413f04b4421c, type: 3}
propertyPath: m_SizeDelta.x
value: 6.23999
objectReference: {fileID: 0}
- target: {fileID: 561607582003899542, guid: dac544bca4358514d949413f04b4421c, type: 3}
propertyPath: m_SizeDelta.y
value: 4.235504
objectReference: {fileID: 0}
- target: {fileID: 561607582003899542, guid: dac544bca4358514d949413f04b4421c, type: 3}
propertyPath: m_LocalPosition.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 561607582003899542, guid: dac544bca4358514d949413f04b4421c, type: 3}
propertyPath: m_LocalPosition.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 561607582003899542, guid: dac544bca4358514d949413f04b4421c, type: 3}
propertyPath: m_LocalPosition.z
value: 0
objectReference: {fileID: 0}
- target: {fileID: 561607582003899542, guid: dac544bca4358514d949413f04b4421c, type: 3}
propertyPath: m_LocalRotation.w
value: 1
objectReference: {fileID: 0}
- target: {fileID: 561607582003899542, guid: dac544bca4358514d949413f04b4421c, type: 3}
propertyPath: m_LocalRotation.x
value: -0
objectReference: {fileID: 0}
- target: {fileID: 561607582003899542, guid: dac544bca4358514d949413f04b4421c, type: 3}
propertyPath: m_LocalRotation.y
value: -0
objectReference: {fileID: 0}
- target: {fileID: 561607582003899542, guid: dac544bca4358514d949413f04b4421c, type: 3}
propertyPath: m_LocalRotation.z
value: -0
objectReference: {fileID: 0}
- target: {fileID: 561607582003899542, guid: dac544bca4358514d949413f04b4421c, type: 3}
propertyPath: m_AnchoredPosition.x
value: -1.9699707
objectReference: {fileID: 0}
- target: {fileID: 561607582003899542, guid: dac544bca4358514d949413f04b4421c, type: 3}
propertyPath: m_AnchoredPosition.y
value: 2.4980469
objectReference: {fileID: 0}
- target: {fileID: 561607582003899542, guid: dac544bca4358514d949413f04b4421c, type: 3}
propertyPath: m_LocalEulerAnglesHint.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 561607582003899542, guid: dac544bca4358514d949413f04b4421c, type: 3}
propertyPath: m_LocalEulerAnglesHint.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 561607582003899542, guid: dac544bca4358514d949413f04b4421c, type: 3}
propertyPath: m_LocalEulerAnglesHint.z
value: 0
objectReference: {fileID: 0}
- target: {fileID: 4894555910357792269, guid: dac544bca4358514d949413f04b4421c, type: 3}
propertyPath: m_RootOrder
value: 4
objectReference: {fileID: 0}
m_RemovedComponents: []
m_SourcePrefab: {fileID: 100100000, guid: dac544bca4358514d949413f04b4421c, type: 3}
--- !u!224 &561607581635101859 stripped
RectTransform:
m_CorrespondingSourceObject: {fileID: 4894555910357792269, guid: dac544bca4358514d949413f04b4421c, type: 3}
m_PrefabInstance: {fileID: 561607581635101858}
m_PrefabAsset: {fileID: 0}

View File

@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: 712ba84247450d64ba0f086674f45604
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

View File

@ -0,0 +1,48 @@
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
using DG.Tweening;
//panel基类主要用于panel的显示和隐藏
//初始化会隐藏Panel
//请将panel挂载一个空节点上将这个脚本放空节点
public class BaseUIPanel : MonoBehaviour
{
[Header("变化的面板")]
public GameObject Panel;
[Header("CloseBTN")]
public Button CloseBTN;
// Start is called before the first frame update
public virtual void Start()
{
HidePanel();
CloseBTN.onClick.AddListener(()=> {
HidePanel();
});
}
/// <summary>
/// 显示面板,可以重写
/// </summary>
public virtual void ShopPanel()
{
Panel.gameObject.SetActive(true);
CloseBTN.gameObject.SetActive(true);
Panel.transform.DOScale(1f, 0.3f);
}
/// <summary>
/// 隐藏面板,可以重写
/// </summary>
public virtual void HidePanel()
{
Panel.transform.DOScale(0.5f,0.2f);
CloseBTN.gameObject.SetActive(false);
Panel.gameObject.SetActive(false);
}
}

View File

@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: c23e67378882cb14bae7d8ea44339646
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:

View File

@ -0,0 +1,8 @@
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class ShopItemInfo :BaseUIPanel
{
}

View File

@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: df0bd725c49d7d0479a5b8e780be8b7e
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:

View File

@ -0,0 +1,53 @@
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
using TMPro;
public class itemInfo : MonoBehaviour
{
[Header("显示物品的image")]
public Image iconImage;
[Header("物品名的TextPro")]
public TextMeshProUGUI nameText;
[Header("物品价格的TextPro")]
public TextMeshProUGUI priceText;
[Header("可以按下的按钮")]
public Button btn;
[Header("按下按钮显示的界面")]
public GameObject prefab;
private int id;//item id
// Start is called before the first frame update
void Start()
{
btn.onClick.AddListener(()=> {
if (prefab.GetComponent<BaseUIPanel>()==null)
{
Debug.LogError("prefab.GetComponent<BaseUIPanel>()==null");
}
prefab.GetComponent<BaseUIPanel>().ShopPanel();
});
}
public void init(int id)
{
this.id = id;
}
void initShow(Sprite icon,string name,float price)
{
iconImage.sprite = icon;
nameText.text = name;
priceText.text = price.ToString();
}
}

View File

@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: be430db9e6bfab94b947f2deb87dc70c
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:

View File

@ -0,0 +1,200 @@
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!1 &4894555910357792268
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 4894555910357792269}
- component: {fileID: 4894555910357792272}
- component: {fileID: 4894555910357792271}
- component: {fileID: 4894555910357792270}
m_Layer: 5
m_Name: retrun_BTN
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!224 &4894555910357792269
RectTransform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 4894555910357792268}
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_ConstrainProportionsScale: 0
m_Children:
- {fileID: 4894555911772163771}
m_Father: {fileID: 0}
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: 472, y: -1059}
m_SizeDelta: {x: 175, y: 155}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!222 &4894555910357792272
CanvasRenderer:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 4894555910357792268}
m_CullTransparentMesh: 1
--- !u!114 &4894555910357792271
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 4894555910357792268}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: fe87c0e1cc204ed48ad3b37840f39efc, type: 3}
m_Name:
m_EditorClassIdentifier:
m_Material: {fileID: 0}
m_Color: {r: 1, g: 1, b: 1, a: 1}
m_RaycastTarget: 1
m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0}
m_Maskable: 1
m_OnCullStateChanged:
m_PersistentCalls:
m_Calls: []
m_Sprite: {fileID: 21300000, guid: 7eb5e2d6dfb04964aa198be15459ff09, type: 3}
m_Type: 1
m_PreserveAspect: 0
m_FillCenter: 1
m_FillMethod: 4
m_FillAmount: 1
m_FillClockwise: 1
m_FillOrigin: 0
m_UseSpriteMesh: 0
m_PixelsPerUnitMultiplier: 1
--- !u!114 &4894555910357792270
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 4894555910357792268}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 4e29b1a8efbd4b44bb3f3716e73f07ff, type: 3}
m_Name:
m_EditorClassIdentifier:
m_Navigation:
m_Mode: 3
m_WrapAround: 0
m_SelectOnUp: {fileID: 0}
m_SelectOnDown: {fileID: 0}
m_SelectOnLeft: {fileID: 0}
m_SelectOnRight: {fileID: 0}
m_Transition: 1
m_Colors:
m_NormalColor: {r: 1, g: 1, b: 1, a: 1}
m_HighlightedColor: {r: 0.9607843, g: 0.9607843, b: 0.9607843, a: 1}
m_PressedColor: {r: 0.78431374, g: 0.78431374, b: 0.78431374, a: 1}
m_SelectedColor: {r: 0.9607843, g: 0.9607843, b: 0.9607843, a: 1}
m_DisabledColor: {r: 0.78431374, g: 0.78431374, b: 0.78431374, a: 0.5019608}
m_ColorMultiplier: 1
m_FadeDuration: 0.1
m_SpriteState:
m_HighlightedSprite: {fileID: 0}
m_PressedSprite: {fileID: 0}
m_SelectedSprite: {fileID: 0}
m_DisabledSprite: {fileID: 0}
m_AnimationTriggers:
m_NormalTrigger: Normal
m_HighlightedTrigger: Highlighted
m_PressedTrigger: Pressed
m_SelectedTrigger: Selected
m_DisabledTrigger: Disabled
m_Interactable: 1
m_TargetGraphic: {fileID: 4894555910357792271}
m_OnClick:
m_PersistentCalls:
m_Calls: []
--- !u!1 &4894555911772163770
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 4894555911772163771}
- component: {fileID: 4894555911772163773}
- component: {fileID: 4894555911772163772}
m_Layer: 5
m_Name: Image
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!224 &4894555911772163771
RectTransform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 4894555911772163770}
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: 0, y: 0, z: 0}
m_LocalScale: {x: 0.85, y: 0.85, z: 0.85}
m_ConstrainProportionsScale: 1
m_Children: []
m_Father: {fileID: 4894555910357792269}
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: 7.1}
m_SizeDelta: {x: 124, y: 92}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!222 &4894555911772163773
CanvasRenderer:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 4894555911772163770}
m_CullTransparentMesh: 1
--- !u!114 &4894555911772163772
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 4894555911772163770}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: fe87c0e1cc204ed48ad3b37840f39efc, type: 3}
m_Name:
m_EditorClassIdentifier:
m_Material: {fileID: 0}
m_Color: {r: 1, g: 1, b: 1, a: 1}
m_RaycastTarget: 1
m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0}
m_Maskable: 1
m_OnCullStateChanged:
m_PersistentCalls:
m_Calls: []
m_Sprite: {fileID: 21300000, guid: 40bb58264dd543e40b2c0aae081a6b1d, 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
m_PixelsPerUnitMultiplier: 1

View File

@ -0,0 +1,7 @@
fileFormatVersion: 2
guid: dac544bca4358514d949413f04b4421c
PrefabImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

View File

@ -1,127 +1,5 @@
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!1 &499058874746547187
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 499058874746547186}
- component: {fileID: 499058874746547183}
- component: {fileID: 499058874746547184}
- component: {fileID: 499058874746547185}
m_Layer: 5
m_Name: retrun
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!224 &499058874746547186
RectTransform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 499058874746547187}
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_ConstrainProportionsScale: 0
m_Children:
- {fileID: 499058876018840388}
m_Father: {fileID: 499058875926005685}
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: 472, y: -1059}
m_SizeDelta: {x: 175, y: 155}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!222 &499058874746547183
CanvasRenderer:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 499058874746547187}
m_CullTransparentMesh: 1
--- !u!114 &499058874746547184
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 499058874746547187}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: fe87c0e1cc204ed48ad3b37840f39efc, type: 3}
m_Name:
m_EditorClassIdentifier:
m_Material: {fileID: 0}
m_Color: {r: 1, g: 1, b: 1, a: 1}
m_RaycastTarget: 1
m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0}
m_Maskable: 1
m_OnCullStateChanged:
m_PersistentCalls:
m_Calls: []
m_Sprite: {fileID: 21300000, guid: 7eb5e2d6dfb04964aa198be15459ff09, type: 3}
m_Type: 1
m_PreserveAspect: 0
m_FillCenter: 1
m_FillMethod: 4
m_FillAmount: 1
m_FillClockwise: 1
m_FillOrigin: 0
m_UseSpriteMesh: 0
m_PixelsPerUnitMultiplier: 1
--- !u!114 &499058874746547185
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 499058874746547187}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 4e29b1a8efbd4b44bb3f3716e73f07ff, type: 3}
m_Name:
m_EditorClassIdentifier:
m_Navigation:
m_Mode: 3
m_WrapAround: 0
m_SelectOnUp: {fileID: 0}
m_SelectOnDown: {fileID: 0}
m_SelectOnLeft: {fileID: 0}
m_SelectOnRight: {fileID: 0}
m_Transition: 1
m_Colors:
m_NormalColor: {r: 1, g: 1, b: 1, a: 1}
m_HighlightedColor: {r: 0.9607843, g: 0.9607843, b: 0.9607843, a: 1}
m_PressedColor: {r: 0.78431374, g: 0.78431374, b: 0.78431374, a: 1}
m_SelectedColor: {r: 0.9607843, g: 0.9607843, b: 0.9607843, a: 1}
m_DisabledColor: {r: 0.78431374, g: 0.78431374, b: 0.78431374, a: 0.5019608}
m_ColorMultiplier: 1
m_FadeDuration: 0.1
m_SpriteState:
m_HighlightedSprite: {fileID: 0}
m_PressedSprite: {fileID: 0}
m_SelectedSprite: {fileID: 0}
m_DisabledSprite: {fileID: 0}
m_AnimationTriggers:
m_NormalTrigger: Normal
m_HighlightedTrigger: Highlighted
m_PressedTrigger: Pressed
m_SelectedTrigger: Selected
m_DisabledTrigger: Disabled
m_Interactable: 1
m_TargetGraphic: {fileID: 499058874746547184}
m_OnClick:
m_PersistentCalls:
m_Calls: []
--- !u!1 &499058874787693889
GameObject:
m_ObjectHideFlags: 0
@ -855,7 +733,6 @@ GameObject:
m_Component:
- component: {fileID: 499058875926005685}
- component: {fileID: 499058875926005683}
- component: {fileID: 499058875926005684}
m_Layer: 5
m_Name: woniukaPanel
m_TagString: Untagged
@ -876,7 +753,7 @@ RectTransform:
m_ConstrainProportionsScale: 0
m_Children:
- {fileID: 499058876202855931}
- {fileID: 499058874746547186}
- {fileID: 4534604694238587276}
m_Father: {fileID: 0}
m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
@ -893,36 +770,6 @@ CanvasRenderer:
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 499058875926005686}
m_CullTransparentMesh: 1
--- !u!114 &499058875926005684
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 499058875926005686}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: fe87c0e1cc204ed48ad3b37840f39efc, type: 3}
m_Name:
m_EditorClassIdentifier:
m_Material: {fileID: 0}
m_Color: {r: 0, g: 0, b: 0, a: 0.39215687}
m_RaycastTarget: 1
m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0}
m_Maskable: 1
m_OnCullStateChanged:
m_PersistentCalls:
m_Calls: []
m_Sprite: {fileID: 0}
m_Type: 0
m_PreserveAspect: 0
m_FillCenter: 1
m_FillMethod: 4
m_FillAmount: 1
m_FillClockwise: 1
m_FillOrigin: 0
m_UseSpriteMesh: 0
m_PixelsPerUnitMultiplier: 1
--- !u!1 &499058875926305708
GameObject:
m_ObjectHideFlags: 0
@ -999,82 +846,6 @@ MonoBehaviour:
m_FillOrigin: 0
m_UseSpriteMesh: 0
m_PixelsPerUnitMultiplier: 1
--- !u!1 &499058876018840389
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 499058876018840388}
- component: {fileID: 499058876018840386}
- component: {fileID: 499058876018840387}
m_Layer: 5
m_Name: Image
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!224 &499058876018840388
RectTransform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 499058876018840389}
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: 0, y: 0, z: 0}
m_LocalScale: {x: 0.85, y: 0.85, z: 0.85}
m_ConstrainProportionsScale: 1
m_Children: []
m_Father: {fileID: 499058874746547186}
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: 7.1}
m_SizeDelta: {x: 124, y: 92}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!222 &499058876018840386
CanvasRenderer:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 499058876018840389}
m_CullTransparentMesh: 1
--- !u!114 &499058876018840387
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 499058876018840389}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: fe87c0e1cc204ed48ad3b37840f39efc, type: 3}
m_Name:
m_EditorClassIdentifier:
m_Material: {fileID: 0}
m_Color: {r: 1, g: 1, b: 1, a: 1}
m_RaycastTarget: 1
m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0}
m_Maskable: 1
m_OnCullStateChanged:
m_PersistentCalls:
m_Calls: []
m_Sprite: {fileID: 21300000, guid: 40bb58264dd543e40b2c0aae081a6b1d, 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
m_PixelsPerUnitMultiplier: 1
--- !u!1 &499058876029164945
GameObject:
m_ObjectHideFlags: 0
@ -2071,3 +1842,105 @@ MonoBehaviour:
m_VerticalOverflow: 0
m_LineSpacing: 2
m_Text: "\u8D2D\u4E70\u8717\u725B\u5361\u540E\u53EF\u83B7\u5F97\u4E00\u53EA\u65B0\u7684\u8717\u725B\uFF01\u8717\u725B\u5728\u8717\u820D\u67E5\u770B\u3002\n\u8717\u725B\u5361\u6309\u65F6\u6253\u7B97\u4ECA\u5E74\u7684\u7C73\u5170\u6B27"
--- !u!1001 &9007993491615309697
PrefabInstance:
m_ObjectHideFlags: 0
serializedVersion: 2
m_Modification:
m_TransformParent: {fileID: 499058875926005685}
m_Modifications:
- target: {fileID: 4894555910357792268, guid: dac544bca4358514d949413f04b4421c, type: 3}
propertyPath: m_Name
value: retrun_BTN
objectReference: {fileID: 0}
- target: {fileID: 4894555910357792269, guid: dac544bca4358514d949413f04b4421c, type: 3}
propertyPath: m_Pivot.x
value: 0.5
objectReference: {fileID: 0}
- target: {fileID: 4894555910357792269, guid: dac544bca4358514d949413f04b4421c, type: 3}
propertyPath: m_Pivot.y
value: 0.5
objectReference: {fileID: 0}
- target: {fileID: 4894555910357792269, guid: dac544bca4358514d949413f04b4421c, type: 3}
propertyPath: m_RootOrder
value: 1
objectReference: {fileID: 0}
- target: {fileID: 4894555910357792269, guid: dac544bca4358514d949413f04b4421c, type: 3}
propertyPath: m_AnchorMax.x
value: 0.5
objectReference: {fileID: 0}
- target: {fileID: 4894555910357792269, guid: dac544bca4358514d949413f04b4421c, type: 3}
propertyPath: m_AnchorMax.y
value: 0.5
objectReference: {fileID: 0}
- target: {fileID: 4894555910357792269, guid: dac544bca4358514d949413f04b4421c, type: 3}
propertyPath: m_AnchorMin.x
value: 0.5
objectReference: {fileID: 0}
- target: {fileID: 4894555910357792269, guid: dac544bca4358514d949413f04b4421c, type: 3}
propertyPath: m_AnchorMin.y
value: 0.5
objectReference: {fileID: 0}
- target: {fileID: 4894555910357792269, guid: dac544bca4358514d949413f04b4421c, type: 3}
propertyPath: m_SizeDelta.x
value: 175
objectReference: {fileID: 0}
- target: {fileID: 4894555910357792269, guid: dac544bca4358514d949413f04b4421c, type: 3}
propertyPath: m_SizeDelta.y
value: 155
objectReference: {fileID: 0}
- target: {fileID: 4894555910357792269, guid: dac544bca4358514d949413f04b4421c, type: 3}
propertyPath: m_LocalPosition.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 4894555910357792269, guid: dac544bca4358514d949413f04b4421c, type: 3}
propertyPath: m_LocalPosition.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 4894555910357792269, guid: dac544bca4358514d949413f04b4421c, type: 3}
propertyPath: m_LocalPosition.z
value: 0
objectReference: {fileID: 0}
- target: {fileID: 4894555910357792269, guid: dac544bca4358514d949413f04b4421c, type: 3}
propertyPath: m_LocalRotation.w
value: 1
objectReference: {fileID: 0}
- target: {fileID: 4894555910357792269, guid: dac544bca4358514d949413f04b4421c, type: 3}
propertyPath: m_LocalRotation.x
value: -0
objectReference: {fileID: 0}
- target: {fileID: 4894555910357792269, guid: dac544bca4358514d949413f04b4421c, type: 3}
propertyPath: m_LocalRotation.y
value: -0
objectReference: {fileID: 0}
- target: {fileID: 4894555910357792269, guid: dac544bca4358514d949413f04b4421c, type: 3}
propertyPath: m_LocalRotation.z
value: -0
objectReference: {fileID: 0}
- target: {fileID: 4894555910357792269, guid: dac544bca4358514d949413f04b4421c, type: 3}
propertyPath: m_AnchoredPosition.x
value: 472
objectReference: {fileID: 0}
- target: {fileID: 4894555910357792269, guid: dac544bca4358514d949413f04b4421c, type: 3}
propertyPath: m_AnchoredPosition.y
value: -1059
objectReference: {fileID: 0}
- target: {fileID: 4894555910357792269, guid: dac544bca4358514d949413f04b4421c, type: 3}
propertyPath: m_LocalEulerAnglesHint.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 4894555910357792269, guid: dac544bca4358514d949413f04b4421c, type: 3}
propertyPath: m_LocalEulerAnglesHint.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 4894555910357792269, guid: dac544bca4358514d949413f04b4421c, type: 3}
propertyPath: m_LocalEulerAnglesHint.z
value: 0
objectReference: {fileID: 0}
m_RemovedComponents: []
m_SourcePrefab: {fileID: 100100000, guid: dac544bca4358514d949413f04b4421c, type: 3}
--- !u!224 &4534604694238587276 stripped
RectTransform:
m_CorrespondingSourceObject: {fileID: 4894555910357792269, guid: dac544bca4358514d949413f04b4421c, type: 3}
m_PrefabInstance: {fileID: 9007993491615309697}
m_PrefabAsset: {fileID: 0}