靓号item预制体的修改

This commit is contained in:
liuliang 2024-11-26 17:35:52 +08:00
parent cac5ae4ff1
commit 83deb63a95
4 changed files with 1432 additions and 1887 deletions

View File

@ -113,7 +113,7 @@ RectTransform:
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0.5, y: 0.5} m_AnchorMin: {x: 0.5, y: 0.5}
m_AnchorMax: {x: 0.5, y: 0.5} m_AnchorMax: {x: 0.5, y: 0.5}
m_AnchoredPosition: {x: -6.3, y: 31.3} m_AnchoredPosition: {x: -6.3, y: 36}
m_SizeDelta: {x: 156.2278, y: 139.111} m_SizeDelta: {x: 156.2278, y: 139.111}
m_Pivot: {x: 0.5, y: 0.5} m_Pivot: {x: 0.5, y: 0.5}
--- !u!222 &583451672367951919 --- !u!222 &583451672367951919
@ -257,17 +257,17 @@ RectTransform:
m_GameObject: {fileID: 2355181769245936638} m_GameObject: {fileID: 2355181769245936638}
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_LocalPosition: {x: 0, y: 0, z: 0}
m_LocalScale: {x: 0.9, y: 0.9, z: 0.9} m_LocalScale: {x: 1.1, y: 1.1, z: 1.1}
m_ConstrainProportionsScale: 1 m_ConstrainProportionsScale: 1
m_Children: m_Children:
- {fileID: 7065062956815702486} - {fileID: 8208278312305135305}
m_Father: {fileID: 4195905154657269784} m_Father: {fileID: 4195905154657269784}
m_RootOrder: 1 m_RootOrder: 1
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0.5, y: 0.5} m_AnchorMin: {x: 0.5, y: 0.5}
m_AnchorMax: {x: 0.5, y: 0.5} m_AnchorMax: {x: 0.5, y: 0.5}
m_AnchoredPosition: {x: -48, y: -75.1} m_AnchoredPosition: {x: -55, y: -75.2}
m_SizeDelta: {x: 38.7426, y: 38.7426} m_SizeDelta: {x: 35.7587, y: 35.2612}
m_Pivot: {x: 0.5, y: 0.5} m_Pivot: {x: 0.5, y: 0.5}
--- !u!222 &1454311776674499049 --- !u!222 &1454311776674499049
CanvasRenderer: CanvasRenderer:
@ -307,7 +307,7 @@ MonoBehaviour:
m_FillOrigin: 0 m_FillOrigin: 0
m_UseSpriteMesh: 0 m_UseSpriteMesh: 0
m_PixelsPerUnitMultiplier: 1 m_PixelsPerUnitMultiplier: 1
--- !u!1 &4402952757916883992 --- !u!1 &3386674783038900999
GameObject: GameObject:
m_ObjectHideFlags: 0 m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0} m_CorrespondingSourceObject: {fileID: 0}
@ -315,9 +315,9 @@ GameObject:
m_PrefabAsset: {fileID: 0} m_PrefabAsset: {fileID: 0}
serializedVersion: 6 serializedVersion: 6
m_Component: m_Component:
- component: {fileID: 7065062956815702486} - component: {fileID: 8208278312305135305}
- component: {fileID: 3964550614137465681} - component: {fileID: 2657516538919173198}
- component: {fileID: 2583371271476253389} - component: {fileID: 3475783351291495890}
m_Layer: 5 m_Layer: 5
m_Name: Text (TMP) m_Name: Text (TMP)
m_TagString: Untagged m_TagString: Untagged
@ -325,13 +325,13 @@ GameObject:
m_NavMeshLayer: 0 m_NavMeshLayer: 0
m_StaticEditorFlags: 0 m_StaticEditorFlags: 0
m_IsActive: 1 m_IsActive: 1
--- !u!224 &7065062956815702486 --- !u!224 &8208278312305135305
RectTransform: RectTransform:
m_ObjectHideFlags: 0 m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0} m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0} m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0} m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 4402952757916883992} m_GameObject: {fileID: 3386674783038900999}
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_LocalPosition: {x: 0, y: 0, z: 0}
m_LocalScale: {x: 0.8, y: 0.8, z: 0.8} m_LocalScale: {x: 0.8, y: 0.8, z: 0.8}
@ -342,24 +342,24 @@ RectTransform:
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0.5, y: 0.5} m_AnchorMin: {x: 0.5, y: 0.5}
m_AnchorMax: {x: 0.5, y: 0.5} m_AnchorMax: {x: 0.5, y: 0.5}
m_AnchoredPosition: {x: 75.5, y: 0} m_AnchoredPosition: {x: 68.7, y: 0}
m_SizeDelta: {x: 114.1451, y: 62.5742} m_SizeDelta: {x: 115.1742, y: 72.7346}
m_Pivot: {x: 0.5, y: 0.5} m_Pivot: {x: 0.5, y: 0.5}
--- !u!222 &3964550614137465681 --- !u!222 &2657516538919173198
CanvasRenderer: CanvasRenderer:
m_ObjectHideFlags: 0 m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0} m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0} m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0} m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 4402952757916883992} m_GameObject: {fileID: 3386674783038900999}
m_CullTransparentMesh: 1 m_CullTransparentMesh: 1
--- !u!114 &2583371271476253389 --- !u!114 &3475783351291495890
MonoBehaviour: MonoBehaviour:
m_ObjectHideFlags: 0 m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0} m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0} m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0} m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 4402952757916883992} m_GameObject: {fileID: 3386674783038900999}
m_Enabled: 1 m_Enabled: 1
m_EditorHideFlags: 0 m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: f4688fdb7df04437aeb418b961361dc5, type: 3} m_Script: {fileID: 11500000, guid: f4688fdb7df04437aeb418b961361dc5, type: 3}
@ -535,8 +535,8 @@ MonoBehaviour:
m_faceColor: m_faceColor:
serializedVersion: 2 serializedVersion: 2
rgba: 4294967295 rgba: 4294967295
m_fontSize: 60 m_fontSize: 55
m_fontSizeBase: 60 m_fontSizeBase: 55
m_fontWeight: 400 m_fontWeight: 400
m_enableAutoSizing: 0 m_enableAutoSizing: 0
m_fontSizeMin: 18 m_fontSizeMin: 18
@ -588,6 +588,8 @@ GameObject:
- component: {fileID: 4195905154657269784} - component: {fileID: 4195905154657269784}
- component: {fileID: 895815646166174672} - component: {fileID: 895815646166174672}
- component: {fileID: 8657854502276450906} - component: {fileID: 8657854502276450906}
- component: {fileID: 8055188313302110238}
- component: {fileID: 8055188313302110237}
m_Layer: 5 m_Layer: 5
m_Name: Beautiful_numberttem m_Name: Beautiful_numberttem
m_TagString: Untagged m_TagString: Untagged
@ -602,7 +604,7 @@ RectTransform:
m_PrefabInstance: {fileID: 0} m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0} m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 7586974503533905102} m_GameObject: {fileID: 7586974503533905102}
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_LocalPosition: {x: 0, y: 0, z: 0}
m_LocalScale: {x: 1, y: 1, z: 1} m_LocalScale: {x: 1, y: 1, z: 1}
m_ConstrainProportionsScale: 0 m_ConstrainProportionsScale: 0
@ -614,9 +616,9 @@ RectTransform:
m_Father: {fileID: 0} m_Father: {fileID: 0}
m_RootOrder: 0 m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0.5, y: 0.5} m_AnchorMin: {x: 0, y: 1}
m_AnchorMax: {x: 0.5, y: 0.5} m_AnchorMax: {x: 0, y: 1}
m_AnchoredPosition: {x: -263.98, y: 228} m_AnchoredPosition: {x: 194, y: -172}
m_SizeDelta: {x: 198, y: 276} m_SizeDelta: {x: 198, y: 276}
m_Pivot: {x: 0.5, y: 0.5} m_Pivot: {x: 0.5, y: 0.5}
--- !u!222 &895815646166174672 --- !u!222 &895815646166174672
@ -657,6 +659,67 @@ MonoBehaviour:
m_FillOrigin: 0 m_FillOrigin: 0
m_UseSpriteMesh: 0 m_UseSpriteMesh: 0
m_PixelsPerUnitMultiplier: 1 m_PixelsPerUnitMultiplier: 1
--- !u!114 &8055188313302110238
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 7586974503533905102}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: f5f87daea5866ae4b971b0c41a835196, type: 3}
m_Name:
m_EditorClassIdentifier:
BeautifulNumber: {fileID: 6633297120809007811}
price: {fileID: 3475783351291495890}
Show_buy: {fileID: 8055188313302110237}
jiemianCanvas: {fileID: 0}
musk: {fileID: 632325080085845549}
--- !u!114 &8055188313302110237
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 7586974503533905102}
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: 8657854502276450906}
m_OnClick:
m_PersistentCalls:
m_Calls: []
--- !u!1 &8252775074786361296 --- !u!1 &8252775074786361296
GameObject: GameObject:
m_ObjectHideFlags: 0 m_ObjectHideFlags: 0

File diff suppressed because it is too large Load Diff

View File

@ -13,6 +13,7 @@ public class NumberTc : MonoBehaviour
// Start is called before the first frame update // Start is called before the first frame update
void Start() void Start()
{ {
jiemianCanvas = GameObject.Find("Canvas").GetComponent<Canvas>();
Show_buy.onClick.AddListener(ShowBuy_TanChuang); Show_buy.onClick.AddListener(ShowBuy_TanChuang);
} }

View File

@ -1242,38 +1242,6 @@ PrefabInstance:
m_Modification: m_Modification:
m_TransformParent: {fileID: 7469395784636171834} m_TransformParent: {fileID: 7469395784636171834}
m_Modifications: m_Modifications:
- target: {fileID: 2851468808987988852, guid: a9811bf64599da248a3d27c2d2ebe72d, type: 3}
propertyPath: m_SizeDelta.x
value: 33.2489
objectReference: {fileID: 0}
- target: {fileID: 2851468808987988852, guid: a9811bf64599da248a3d27c2d2ebe72d, type: 3}
propertyPath: m_SizeDelta.y
value: 33.249
objectReference: {fileID: 0}
- target: {fileID: 2851468808987988852, guid: a9811bf64599da248a3d27c2d2ebe72d, type: 3}
propertyPath: m_LocalScale.x
value: 1.2
objectReference: {fileID: 0}
- target: {fileID: 2851468808987988852, guid: a9811bf64599da248a3d27c2d2ebe72d, type: 3}
propertyPath: m_LocalScale.y
value: 1.2
objectReference: {fileID: 0}
- target: {fileID: 2851468808987988852, guid: a9811bf64599da248a3d27c2d2ebe72d, type: 3}
propertyPath: m_LocalScale.z
value: 1.2
objectReference: {fileID: 0}
- target: {fileID: 2851468808987988852, guid: a9811bf64599da248a3d27c2d2ebe72d, type: 3}
propertyPath: m_AnchoredPosition.x
value: -55.7
objectReference: {fileID: 0}
- target: {fileID: 2851468808987988852, guid: a9811bf64599da248a3d27c2d2ebe72d, type: 3}
propertyPath: m_AnchoredPosition.y
value: -78
objectReference: {fileID: 0}
- target: {fileID: 2851468808987988852, guid: a9811bf64599da248a3d27c2d2ebe72d, type: 3}
propertyPath: m_ConstrainProportionsScale
value: 1
objectReference: {fileID: 0}
- target: {fileID: 4195905154657269784, guid: a9811bf64599da248a3d27c2d2ebe72d, type: 3} - target: {fileID: 4195905154657269784, guid: a9811bf64599da248a3d27c2d2ebe72d, type: 3}
propertyPath: m_Pivot.x propertyPath: m_Pivot.x
value: 0.5 value: 0.5
@ -1358,34 +1326,10 @@ PrefabInstance:
propertyPath: m_LocalEulerAnglesHint.z propertyPath: m_LocalEulerAnglesHint.z
value: 0 value: 0
objectReference: {fileID: 0} objectReference: {fileID: 0}
- target: {fileID: 6633297120809007811, guid: a9811bf64599da248a3d27c2d2ebe72d, type: 3}
propertyPath: m_text
value: 111
objectReference: {fileID: 0}
- target: {fileID: 6633297120809007811, guid: a9811bf64599da248a3d27c2d2ebe72d, type: 3}
propertyPath: m_fontSize
value: 55
objectReference: {fileID: 0}
- target: {fileID: 6633297120809007811, guid: a9811bf64599da248a3d27c2d2ebe72d, type: 3}
propertyPath: m_fontSizeBase
value: 55
objectReference: {fileID: 0}
- target: {fileID: 7065062956815702486, guid: a9811bf64599da248a3d27c2d2ebe72d, type: 3}
propertyPath: m_SizeDelta.x
value: 105.0138
objectReference: {fileID: 0}
- target: {fileID: 7065062956815702486, guid: a9811bf64599da248a3d27c2d2ebe72d, type: 3}
propertyPath: m_AnchoredPosition.x
value: 67.1
objectReference: {fileID: 0}
- target: {fileID: 7586974503533905102, guid: a9811bf64599da248a3d27c2d2ebe72d, type: 3} - target: {fileID: 7586974503533905102, guid: a9811bf64599da248a3d27c2d2ebe72d, type: 3}
propertyPath: m_Name propertyPath: m_Name
value: Beautiful_numberttem value: Beautiful_numberttem
objectReference: {fileID: 0} objectReference: {fileID: 0}
- target: {fileID: 7586974503533905102, guid: a9811bf64599da248a3d27c2d2ebe72d, type: 3}
propertyPath: m_IsActive
value: 1
objectReference: {fileID: 0}
m_RemovedComponents: [] m_RemovedComponents: []
m_SourcePrefab: {fileID: 100100000, guid: a9811bf64599da248a3d27c2d2ebe72d, type: 3} m_SourcePrefab: {fileID: 100100000, guid: a9811bf64599da248a3d27c2d2ebe72d, type: 3}
--- !u!224 &5050385004649441760 stripped --- !u!224 &5050385004649441760 stripped