商店逻辑搞完

This commit is contained in:
wulongxiao 2024-11-28 00:39:35 +08:00
parent 7360d00793
commit 5d3c5c3789
10 changed files with 5513 additions and 5686 deletions

View File

@ -3616,7 +3616,7 @@ RectTransform:
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 1}
m_AnchorMax: {x: 0, y: 1}
m_AnchoredPosition: {x: 712.31714, y: -1387.5}
m_AnchoredPosition: {x: 686, y: -1387.5}
m_SizeDelta: {x: 1018, y: 0}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!114 &1071890038

View File

@ -26,7 +26,7 @@ public class Scene_main_jiekou :Base
instance = this;
//testLogo();
//getPlayerInfo();
getPlayerInfo();
// getShopInfo();
}

View File

@ -13,43 +13,27 @@ public class itemInfo : MonoBehaviour
[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(()=> {
GameObject.Instantiate(prefab,GameObject.Find("Canvas").transform);
});
}
public void init(int id)
{
this.id = id;
}
public void initShow(int id, Sprite icon, string name, string price)
{
this.id = id;
iconImage.sprite = icon;
nameText.text = name;
priceText.text = price;
priceText.text = "£¤" + price;
}
public void initShow(int id, string name, string price)
{
this.id = id;
nameText.text = name;
priceText.text = price;
priceText.text = "£¤"+price;
}
}

View File

@ -2,18 +2,51 @@ using System.Collections;
using System.Collections.Generic;
using System.Threading.Tasks;
using UnityEngine;
using UnityEngine.UI;
using DG.Tweening;
public class shopPanel: ui_huodong
{
public List<itemInfo> itemInfos = new List<itemInfo>();
[Header("商店的详细面板")]
public GameObject Panel;
public override void Start()
{
base.Start();
initShop();
}
void initShop()
{
int index = 0;
// 遍历 shopItemDic 中的每个商品,并更新 itemInfos 中的显示项
foreach (KeyValuePair<int, ProductPro> go in Scene_main_jiekou.instance.shopItemDic)
{
itemInfos[index].initShow(go.Value.ProductId,go.Value.ProductName,go.Value.ProductPic.ToString());
// 如果 index 超过 itemInfos 的大小,表示字典的元素比 itemInfos 更多
if (index >= itemInfos.Count)
{
Debug.LogWarning("shopItemDic contains more items than itemInfos. Some items will not be shown.");
break; // 如果字典中的元素多于 itemInfos 中的项,停止遍历
}
// 更新当前 itemInfo 显示项
itemInfos[index].gameObject.SetActive(true); // 显示当前项
itemInfos[index].initShow(go.Value.ProductId, go.Value.ProductName,go.Value.Price.ToString());
itemInfos[index].GetComponent<Button>().onClick.AddListener(()=> {
GameObject.Instantiate(Panel, GameObject.Find("Canvas").transform).GetComponent<wokePanel>().initShow(go.Value.ProductName, go.Value.ProductName, go.Value.Price.ToString(),"测试") ;
});
index++;
}
// 隐藏剩余未更新的 itemInfos 项
while (index < itemInfos.Count)
{
itemInfos[index].gameObject.SetActive(false); // 隐藏多余项
index++;
}
}

View File

@ -1,8 +1,33 @@
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
using TMPro;
public class wokePanel : ui_huodong
{
public Sprite icon;
[Header("大的物品名的TextPro")]
public TextMeshProUGUI BigNameText;
[Header("物品名的TextPro")]
public TextMeshProUGUI NameText;
[Header("物品价格的TextPro")]
public TextMeshProUGUI priceText;
[Header("物品价格的详细介绍")]
public Text info;
public void initShow(Sprite icon,string BigNameText,string NameText,string priceText,string info)
{
}
public void initShow(string BigNameText, string NameText, string priceText, string info)
{
this.BigNameText.text = BigNameText;
this.NameText.text = NameText;
this.priceText.text = "¥"+priceText;
this.info.text = info;
}
}

File diff suppressed because one or more lines are too long

View File

@ -1 +1 @@
@#¥%……&*()——+|}{”:?》《,。、;’【】、=-0987654321奇迹蜗牛逃亡霸主来袭手机号验证码记录排行灵液密码登入录获取没有立刻脱失败没关系拿到了榜单爷傲奈我何今日排行骑士投入秒后比赛开始灭霸雷神超人蝙蝠钢铁毒液蜘蛛美队卡槽豌豆黄毒蘑菇计时器激素去数加速器商店立刻即工会信息申请申请我的背包碎片兑换公告福利通知活动详情参与规则靓号商店取消确认补充打工时长剩余个人中心邀请好友一二三四五六七八九十鹅的主身份证保存认证真实完成收货新增加编辑安全退出修改注销订转赠送壳兑换购买赤橙黄绿青蓝紫鬼王怪物粉色嘻嬉笑舍洞窟趣巢穴破烂豆逗商城昨天明名字地址账号安全客户天个人中心最强商店游戏蜗居矿场据版
@#¥%……&*()——+|}{”:?》《,。、;’【】、=-0987654321奇迹蜗牛逃亡霸主来袭手机号验证码记录排行灵液密码登入录获取没有立刻脱失败没关系拿到了榜单爷傲奈我何今日排行骑士投入秒后比赛开始灭霸雷神超人蝙蝠钢铁毒液蜘蛛美队卡槽豌豆黄毒蘑菇计时器激素去数加速器商店立刻即工会信息申请申请我的背包碎片兑换公告福利通知活动详情参与规则靓号商店取消确认补充打工时长剩余个人中心邀请好友一二三四五六七八九十鹅的主身份证保存认证真实完成收货新增加编辑安全退出修改注销订转赠送壳兑换购买赤橙黄绿青蓝紫鬼王怪物粉色嘻嬉笑舍洞窟趣巢穴破烂豆逗商城昨天明名字地址账号安全客户天个人中心最强商店游戏蜗居矿场据版测试文本虚拟

File diff suppressed because it is too large Load Diff

View File

@ -54,6 +54,17 @@ MonoBehaviour:
_panel: {fileID: 957974660627982085}
btns: []
panels: []
itemInfos:
- {fileID: 957974659824258430}
- {fileID: 8381487365757776869}
- {fileID: 1164702984037008156}
- {fileID: 6361282622932205824}
- {fileID: 366651779119896869}
- {fileID: 582670245474934370}
- {fileID: 3406380427992865134}
- {fileID: 8650436485758790122}
- {fileID: 710518288332609667}
Panel: {fileID: 499058875926005686, guid: 850728972d7b6c64e88a9a269542755e, type: 3}
--- !u!1001 &5363579443773024874
PrefabInstance:
m_ObjectHideFlags: 0
@ -65,6 +76,402 @@ PrefabInstance:
propertyPath: prefab
value:
objectReference: {fileID: 499058875926005686, guid: 850728972d7b6c64e88a9a269542755e, type: 3}
- target: {fileID: 5126270614104201159, guid: 4e48ee49e456fad4887407d7ee921b35, type: 3}
propertyPath: m_fontSize
value: 55
objectReference: {fileID: 0}
- target: {fileID: 5126270614104201159, guid: 4e48ee49e456fad4887407d7ee921b35, type: 3}
propertyPath: m_enableAutoSizing
value: 0
objectReference: {fileID: 0}
- target: {fileID: 5126270614104201160, guid: 4e48ee49e456fad4887407d7ee921b35, type: 3}
propertyPath: m_AnchorMax.x
value: 0.5
objectReference: {fileID: 0}
- target: {fileID: 5126270614104201160, guid: 4e48ee49e456fad4887407d7ee921b35, type: 3}
propertyPath: m_AnchorMax.y
value: 0.5
objectReference: {fileID: 0}
- target: {fileID: 5126270614104201160, guid: 4e48ee49e456fad4887407d7ee921b35, type: 3}
propertyPath: m_AnchorMin.x
value: 0.5
objectReference: {fileID: 0}
- target: {fileID: 5126270614104201160, guid: 4e48ee49e456fad4887407d7ee921b35, type: 3}
propertyPath: m_AnchorMin.y
value: 0.5
objectReference: {fileID: 0}
- target: {fileID: 5126270614104201160, guid: 4e48ee49e456fad4887407d7ee921b35, type: 3}
propertyPath: m_SizeDelta.x
value: 300
objectReference: {fileID: 0}
- target: {fileID: 5126270614104201160, guid: 4e48ee49e456fad4887407d7ee921b35, type: 3}
propertyPath: m_SizeDelta.y
value: 49
objectReference: {fileID: 0}
- target: {fileID: 5126270614104201160, guid: 4e48ee49e456fad4887407d7ee921b35, type: 3}
propertyPath: m_AnchoredPosition.y
value: -15.3
objectReference: {fileID: 0}
- target: {fileID: 5126270614133020193, guid: 4e48ee49e456fad4887407d7ee921b35, type: 3}
propertyPath: m_fontSize
value: 55
objectReference: {fileID: 0}
- target: {fileID: 5126270614133020193, guid: 4e48ee49e456fad4887407d7ee921b35, type: 3}
propertyPath: m_enableAutoSizing
value: 0
objectReference: {fileID: 0}
- target: {fileID: 5126270614133020194, guid: 4e48ee49e456fad4887407d7ee921b35, type: 3}
propertyPath: m_AnchorMax.x
value: 0.5
objectReference: {fileID: 0}
- target: {fileID: 5126270614133020194, guid: 4e48ee49e456fad4887407d7ee921b35, type: 3}
propertyPath: m_AnchorMax.y
value: 0.5
objectReference: {fileID: 0}
- target: {fileID: 5126270614133020194, guid: 4e48ee49e456fad4887407d7ee921b35, type: 3}
propertyPath: m_AnchorMin.x
value: 0.5
objectReference: {fileID: 0}
- target: {fileID: 5126270614133020194, guid: 4e48ee49e456fad4887407d7ee921b35, type: 3}
propertyPath: m_AnchorMin.y
value: 0.5
objectReference: {fileID: 0}
- target: {fileID: 5126270614133020194, guid: 4e48ee49e456fad4887407d7ee921b35, type: 3}
propertyPath: m_SizeDelta.x
value: 300
objectReference: {fileID: 0}
- target: {fileID: 5126270614133020194, guid: 4e48ee49e456fad4887407d7ee921b35, type: 3}
propertyPath: m_SizeDelta.y
value: 49
objectReference: {fileID: 0}
- target: {fileID: 5126270614133020194, guid: 4e48ee49e456fad4887407d7ee921b35, type: 3}
propertyPath: m_AnchoredPosition.y
value: -15.9
objectReference: {fileID: 0}
- target: {fileID: 5126270614256810504, guid: 4e48ee49e456fad4887407d7ee921b35, type: 3}
propertyPath: m_fontSize
value: 55
objectReference: {fileID: 0}
- target: {fileID: 5126270614256810504, guid: 4e48ee49e456fad4887407d7ee921b35, type: 3}
propertyPath: m_enableAutoSizing
value: 0
objectReference: {fileID: 0}
- target: {fileID: 5126270614280093729, guid: 4e48ee49e456fad4887407d7ee921b35, type: 3}
propertyPath: m_fontSize
value: 55
objectReference: {fileID: 0}
- target: {fileID: 5126270614280093729, guid: 4e48ee49e456fad4887407d7ee921b35, type: 3}
propertyPath: m_enableAutoSizing
value: 0
objectReference: {fileID: 0}
- target: {fileID: 5126270614350848535, guid: 4e48ee49e456fad4887407d7ee921b35, type: 3}
propertyPath: m_fontSize
value: 55
objectReference: {fileID: 0}
- target: {fileID: 5126270614350848535, guid: 4e48ee49e456fad4887407d7ee921b35, type: 3}
propertyPath: m_enableAutoSizing
value: 0
objectReference: {fileID: 0}
- target: {fileID: 5126270614369589026, guid: 4e48ee49e456fad4887407d7ee921b35, type: 3}
propertyPath: m_fontSize
value: 55
objectReference: {fileID: 0}
- target: {fileID: 5126270614369589026, guid: 4e48ee49e456fad4887407d7ee921b35, type: 3}
propertyPath: m_enableAutoSizing
value: 0
objectReference: {fileID: 0}
- target: {fileID: 5126270614452665849, guid: 4e48ee49e456fad4887407d7ee921b35, type: 3}
propertyPath: m_fontSize
value: 55
objectReference: {fileID: 0}
- target: {fileID: 5126270614452665849, guid: 4e48ee49e456fad4887407d7ee921b35, type: 3}
propertyPath: m_enableAutoSizing
value: 0
objectReference: {fileID: 0}
- target: {fileID: 5126270614452665850, guid: 4e48ee49e456fad4887407d7ee921b35, type: 3}
propertyPath: m_AnchorMax.x
value: 0.5
objectReference: {fileID: 0}
- target: {fileID: 5126270614452665850, guid: 4e48ee49e456fad4887407d7ee921b35, type: 3}
propertyPath: m_AnchorMax.y
value: 0.5
objectReference: {fileID: 0}
- target: {fileID: 5126270614452665850, guid: 4e48ee49e456fad4887407d7ee921b35, type: 3}
propertyPath: m_AnchorMin.x
value: 0.5
objectReference: {fileID: 0}
- target: {fileID: 5126270614452665850, guid: 4e48ee49e456fad4887407d7ee921b35, type: 3}
propertyPath: m_AnchorMin.y
value: 0.5
objectReference: {fileID: 0}
- target: {fileID: 5126270614452665850, guid: 4e48ee49e456fad4887407d7ee921b35, type: 3}
propertyPath: m_SizeDelta.x
value: 300
objectReference: {fileID: 0}
- target: {fileID: 5126270614452665850, guid: 4e48ee49e456fad4887407d7ee921b35, type: 3}
propertyPath: m_SizeDelta.y
value: 49
objectReference: {fileID: 0}
- target: {fileID: 5126270614452665850, guid: 4e48ee49e456fad4887407d7ee921b35, type: 3}
propertyPath: m_AnchoredPosition.y
value: -16.5
objectReference: {fileID: 0}
- target: {fileID: 5126270614489120292, guid: 4e48ee49e456fad4887407d7ee921b35, type: 3}
propertyPath: m_fontSize
value: 55
objectReference: {fileID: 0}
- target: {fileID: 5126270614489120292, guid: 4e48ee49e456fad4887407d7ee921b35, type: 3}
propertyPath: m_enableAutoSizing
value: 0
objectReference: {fileID: 0}
- target: {fileID: 5126270614489120293, guid: 4e48ee49e456fad4887407d7ee921b35, type: 3}
propertyPath: m_AnchorMax.x
value: 0.5
objectReference: {fileID: 0}
- target: {fileID: 5126270614489120293, guid: 4e48ee49e456fad4887407d7ee921b35, type: 3}
propertyPath: m_AnchorMax.y
value: 0.5
objectReference: {fileID: 0}
- target: {fileID: 5126270614489120293, guid: 4e48ee49e456fad4887407d7ee921b35, type: 3}
propertyPath: m_AnchorMin.x
value: 0.5
objectReference: {fileID: 0}
- target: {fileID: 5126270614489120293, guid: 4e48ee49e456fad4887407d7ee921b35, type: 3}
propertyPath: m_AnchorMin.y
value: 0.5
objectReference: {fileID: 0}
- target: {fileID: 5126270614489120293, guid: 4e48ee49e456fad4887407d7ee921b35, type: 3}
propertyPath: m_SizeDelta.x
value: 300
objectReference: {fileID: 0}
- target: {fileID: 5126270614489120293, guid: 4e48ee49e456fad4887407d7ee921b35, type: 3}
propertyPath: m_SizeDelta.y
value: 49
objectReference: {fileID: 0}
- target: {fileID: 5126270614489120293, guid: 4e48ee49e456fad4887407d7ee921b35, type: 3}
propertyPath: m_AnchoredPosition.y
value: -14
objectReference: {fileID: 0}
- target: {fileID: 5126270614529123578, guid: 4e48ee49e456fad4887407d7ee921b35, type: 3}
propertyPath: m_fontSize
value: 55
objectReference: {fileID: 0}
- target: {fileID: 5126270614529123578, guid: 4e48ee49e456fad4887407d7ee921b35, type: 3}
propertyPath: m_enableAutoSizing
value: 0
objectReference: {fileID: 0}
- target: {fileID: 5126270614544554675, guid: 4e48ee49e456fad4887407d7ee921b35, type: 3}
propertyPath: m_fontSize
value: 55
objectReference: {fileID: 0}
- target: {fileID: 5126270614544554675, guid: 4e48ee49e456fad4887407d7ee921b35, type: 3}
propertyPath: m_enableAutoSizing
value: 0
objectReference: {fileID: 0}
- target: {fileID: 5126270614544554676, guid: 4e48ee49e456fad4887407d7ee921b35, type: 3}
propertyPath: m_AnchorMax.x
value: 0.5
objectReference: {fileID: 0}
- target: {fileID: 5126270614544554676, guid: 4e48ee49e456fad4887407d7ee921b35, type: 3}
propertyPath: m_AnchorMax.y
value: 0.5
objectReference: {fileID: 0}
- target: {fileID: 5126270614544554676, guid: 4e48ee49e456fad4887407d7ee921b35, type: 3}
propertyPath: m_AnchorMin.x
value: 0.5
objectReference: {fileID: 0}
- target: {fileID: 5126270614544554676, guid: 4e48ee49e456fad4887407d7ee921b35, type: 3}
propertyPath: m_AnchorMin.y
value: 0.5
objectReference: {fileID: 0}
- target: {fileID: 5126270614544554676, guid: 4e48ee49e456fad4887407d7ee921b35, type: 3}
propertyPath: m_SizeDelta.x
value: 300
objectReference: {fileID: 0}
- target: {fileID: 5126270614544554676, guid: 4e48ee49e456fad4887407d7ee921b35, type: 3}
propertyPath: m_SizeDelta.y
value: 49
objectReference: {fileID: 0}
- target: {fileID: 5126270614544554676, guid: 4e48ee49e456fad4887407d7ee921b35, type: 3}
propertyPath: m_AnchoredPosition.y
value: -15.9
objectReference: {fileID: 0}
- target: {fileID: 5126270614557680093, guid: 4e48ee49e456fad4887407d7ee921b35, type: 3}
propertyPath: m_fontSize
value: 55
objectReference: {fileID: 0}
- target: {fileID: 5126270614557680093, guid: 4e48ee49e456fad4887407d7ee921b35, type: 3}
propertyPath: m_enableAutoSizing
value: 0
objectReference: {fileID: 0}
- target: {fileID: 5126270614709633499, guid: 4e48ee49e456fad4887407d7ee921b35, type: 3}
propertyPath: m_fontSize
value: 55
objectReference: {fileID: 0}
- target: {fileID: 5126270614709633499, guid: 4e48ee49e456fad4887407d7ee921b35, type: 3}
propertyPath: m_enableAutoSizing
value: 0
objectReference: {fileID: 0}
- target: {fileID: 5126270614710798134, guid: 4e48ee49e456fad4887407d7ee921b35, type: 3}
propertyPath: m_fontSize
value: 55
objectReference: {fileID: 0}
- target: {fileID: 5126270614710798134, guid: 4e48ee49e456fad4887407d7ee921b35, type: 3}
propertyPath: m_enableAutoSizing
value: 0
objectReference: {fileID: 0}
- target: {fileID: 5126270614822772074, guid: 4e48ee49e456fad4887407d7ee921b35, type: 3}
propertyPath: m_fontSize
value: 55
objectReference: {fileID: 0}
- target: {fileID: 5126270614822772074, guid: 4e48ee49e456fad4887407d7ee921b35, type: 3}
propertyPath: m_enableAutoSizing
value: 0
objectReference: {fileID: 0}
- target: {fileID: 5126270614822772075, guid: 4e48ee49e456fad4887407d7ee921b35, type: 3}
propertyPath: m_AnchorMax.x
value: 0.5
objectReference: {fileID: 0}
- target: {fileID: 5126270614822772075, guid: 4e48ee49e456fad4887407d7ee921b35, type: 3}
propertyPath: m_AnchorMax.y
value: 0.5
objectReference: {fileID: 0}
- target: {fileID: 5126270614822772075, guid: 4e48ee49e456fad4887407d7ee921b35, type: 3}
propertyPath: m_AnchorMin.x
value: 0.5
objectReference: {fileID: 0}
- target: {fileID: 5126270614822772075, guid: 4e48ee49e456fad4887407d7ee921b35, type: 3}
propertyPath: m_AnchorMin.y
value: 0.5
objectReference: {fileID: 0}
- target: {fileID: 5126270614822772075, guid: 4e48ee49e456fad4887407d7ee921b35, type: 3}
propertyPath: m_SizeDelta.x
value: 300
objectReference: {fileID: 0}
- target: {fileID: 5126270614822772075, guid: 4e48ee49e456fad4887407d7ee921b35, type: 3}
propertyPath: m_SizeDelta.y
value: 49
objectReference: {fileID: 0}
- target: {fileID: 5126270614822772075, guid: 4e48ee49e456fad4887407d7ee921b35, type: 3}
propertyPath: m_AnchoredPosition.y
value: -14.7
objectReference: {fileID: 0}
- target: {fileID: 5126270614849863306, guid: 4e48ee49e456fad4887407d7ee921b35, type: 3}
propertyPath: m_fontSize
value: 55
objectReference: {fileID: 0}
- target: {fileID: 5126270614849863306, guid: 4e48ee49e456fad4887407d7ee921b35, type: 3}
propertyPath: m_enableAutoSizing
value: 0
objectReference: {fileID: 0}
- target: {fileID: 5126270614884605446, guid: 4e48ee49e456fad4887407d7ee921b35, type: 3}
propertyPath: m_fontSize
value: 55
objectReference: {fileID: 0}
- target: {fileID: 5126270614884605446, guid: 4e48ee49e456fad4887407d7ee921b35, type: 3}
propertyPath: m_enableAutoSizing
value: 0
objectReference: {fileID: 0}
- target: {fileID: 5126270614884605447, guid: 4e48ee49e456fad4887407d7ee921b35, type: 3}
propertyPath: m_AnchorMax.x
value: 0.5
objectReference: {fileID: 0}
- target: {fileID: 5126270614884605447, guid: 4e48ee49e456fad4887407d7ee921b35, type: 3}
propertyPath: m_AnchorMax.y
value: 0.5
objectReference: {fileID: 0}
- target: {fileID: 5126270614884605447, guid: 4e48ee49e456fad4887407d7ee921b35, type: 3}
propertyPath: m_AnchorMin.x
value: 0.5
objectReference: {fileID: 0}
- target: {fileID: 5126270614884605447, guid: 4e48ee49e456fad4887407d7ee921b35, type: 3}
propertyPath: m_AnchorMin.y
value: 0.5
objectReference: {fileID: 0}
- target: {fileID: 5126270614884605447, guid: 4e48ee49e456fad4887407d7ee921b35, type: 3}
propertyPath: m_SizeDelta.x
value: 300
objectReference: {fileID: 0}
- target: {fileID: 5126270614884605447, guid: 4e48ee49e456fad4887407d7ee921b35, type: 3}
propertyPath: m_SizeDelta.y
value: 49
objectReference: {fileID: 0}
- target: {fileID: 5126270614884605447, guid: 4e48ee49e456fad4887407d7ee921b35, type: 3}
propertyPath: m_AnchoredPosition.y
value: -14.4
objectReference: {fileID: 0}
- target: {fileID: 5126270615106968434, guid: 4e48ee49e456fad4887407d7ee921b35, type: 3}
propertyPath: m_fontSize
value: 55
objectReference: {fileID: 0}
- target: {fileID: 5126270615106968434, guid: 4e48ee49e456fad4887407d7ee921b35, type: 3}
propertyPath: m_enableAutoSizing
value: 0
objectReference: {fileID: 0}
- target: {fileID: 5126270615106968435, guid: 4e48ee49e456fad4887407d7ee921b35, type: 3}
propertyPath: m_AnchorMax.x
value: 0.5
objectReference: {fileID: 0}
- target: {fileID: 5126270615106968435, guid: 4e48ee49e456fad4887407d7ee921b35, type: 3}
propertyPath: m_AnchorMax.y
value: 0.5
objectReference: {fileID: 0}
- target: {fileID: 5126270615106968435, guid: 4e48ee49e456fad4887407d7ee921b35, type: 3}
propertyPath: m_AnchorMin.x
value: 0.5
objectReference: {fileID: 0}
- target: {fileID: 5126270615106968435, guid: 4e48ee49e456fad4887407d7ee921b35, type: 3}
propertyPath: m_AnchorMin.y
value: 0.5
objectReference: {fileID: 0}
- target: {fileID: 5126270615106968435, guid: 4e48ee49e456fad4887407d7ee921b35, type: 3}
propertyPath: m_SizeDelta.x
value: 300
objectReference: {fileID: 0}
- target: {fileID: 5126270615106968435, guid: 4e48ee49e456fad4887407d7ee921b35, type: 3}
propertyPath: m_SizeDelta.y
value: 49
objectReference: {fileID: 0}
- target: {fileID: 5126270615106968435, guid: 4e48ee49e456fad4887407d7ee921b35, type: 3}
propertyPath: m_AnchoredPosition.y
value: -15.9
objectReference: {fileID: 0}
- target: {fileID: 5126270615233140417, guid: 4e48ee49e456fad4887407d7ee921b35, type: 3}
propertyPath: m_fontSize
value: 55
objectReference: {fileID: 0}
- target: {fileID: 5126270615233140417, guid: 4e48ee49e456fad4887407d7ee921b35, type: 3}
propertyPath: m_enableAutoSizing
value: 0
objectReference: {fileID: 0}
- target: {fileID: 5126270615233140418, guid: 4e48ee49e456fad4887407d7ee921b35, type: 3}
propertyPath: m_AnchorMax.x
value: 0.5
objectReference: {fileID: 0}
- target: {fileID: 5126270615233140418, guid: 4e48ee49e456fad4887407d7ee921b35, type: 3}
propertyPath: m_AnchorMax.y
value: 0.5
objectReference: {fileID: 0}
- target: {fileID: 5126270615233140418, guid: 4e48ee49e456fad4887407d7ee921b35, type: 3}
propertyPath: m_AnchorMin.x
value: 0.5
objectReference: {fileID: 0}
- target: {fileID: 5126270615233140418, guid: 4e48ee49e456fad4887407d7ee921b35, type: 3}
propertyPath: m_AnchorMin.y
value: 0.5
objectReference: {fileID: 0}
- target: {fileID: 5126270615233140418, guid: 4e48ee49e456fad4887407d7ee921b35, type: 3}
propertyPath: m_SizeDelta.x
value: 300
objectReference: {fileID: 0}
- target: {fileID: 5126270615233140418, guid: 4e48ee49e456fad4887407d7ee921b35, type: 3}
propertyPath: m_SizeDelta.y
value: 49
objectReference: {fileID: 0}
- target: {fileID: 5126270615233140418, guid: 4e48ee49e456fad4887407d7ee921b35, type: 3}
propertyPath: m_AnchoredPosition.y
value: -15.6
objectReference: {fileID: 0}
- target: {fileID: 5126270615579512174, guid: 4e48ee49e456fad4887407d7ee921b35, type: 3}
propertyPath: m_Pivot.x
value: 0.5
@ -155,6 +562,50 @@ PrefabInstance:
objectReference: {fileID: 0}
m_RemovedComponents: []
m_SourcePrefab: {fileID: 100100000, guid: 4e48ee49e456fad4887407d7ee921b35, type: 3}
--- !u!114 &366651779119896869 stripped
MonoBehaviour:
m_CorrespondingSourceObject: {fileID: 5726846787232822095, guid: 4e48ee49e456fad4887407d7ee921b35, type: 3}
m_PrefabInstance: {fileID: 5363579443773024874}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 0}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: be430db9e6bfab94b947f2deb87dc70c, type: 3}
m_Name:
m_EditorClassIdentifier:
--- !u!114 &582670245474934370 stripped
MonoBehaviour:
m_CorrespondingSourceObject: {fileID: 4789943887493116936, guid: 4e48ee49e456fad4887407d7ee921b35, type: 3}
m_PrefabInstance: {fileID: 5363579443773024874}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 0}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: be430db9e6bfab94b947f2deb87dc70c, type: 3}
m_Name:
m_EditorClassIdentifier:
--- !u!114 &710518288332609667 stripped
MonoBehaviour:
m_CorrespondingSourceObject: {fileID: 4878251103291339497, guid: 4e48ee49e456fad4887407d7ee921b35, type: 3}
m_PrefabInstance: {fileID: 5363579443773024874}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 0}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: be430db9e6bfab94b947f2deb87dc70c, type: 3}
m_Name:
m_EditorClassIdentifier:
--- !u!114 &957974659824258430 stripped
MonoBehaviour:
m_CorrespondingSourceObject: {fileID: 5126270613698848532, guid: 4e48ee49e456fad4887407d7ee921b35, type: 3}
m_PrefabInstance: {fileID: 5363579443773024874}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 0}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: be430db9e6bfab94b947f2deb87dc70c, type: 3}
m_Name:
m_EditorClassIdentifier:
--- !u!224 &957974660627982084 stripped
RectTransform:
m_CorrespondingSourceObject: {fileID: 5126270615579512174, guid: 4e48ee49e456fad4887407d7ee921b35, type: 3}
@ -165,6 +616,61 @@ GameObject:
m_CorrespondingSourceObject: {fileID: 5126270615579512175, guid: 4e48ee49e456fad4887407d7ee921b35, type: 3}
m_PrefabInstance: {fileID: 5363579443773024874}
m_PrefabAsset: {fileID: 0}
--- !u!114 &1164702984037008156 stripped
MonoBehaviour:
m_CorrespondingSourceObject: {fileID: 6505054006647236982, guid: 4e48ee49e456fad4887407d7ee921b35, type: 3}
m_PrefabInstance: {fileID: 5363579443773024874}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 0}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: be430db9e6bfab94b947f2deb87dc70c, type: 3}
m_Name:
m_EditorClassIdentifier:
--- !u!114 &3406380427992865134 stripped
MonoBehaviour:
m_CorrespondingSourceObject: {fileID: 7289823551978615556, guid: 4e48ee49e456fad4887407d7ee921b35, type: 3}
m_PrefabInstance: {fileID: 5363579443773024874}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 0}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: be430db9e6bfab94b947f2deb87dc70c, type: 3}
m_Name:
m_EditorClassIdentifier:
--- !u!114 &6361282622932205824 stripped
MonoBehaviour:
m_CorrespondingSourceObject: {fileID: 1308458151591340906, guid: 4e48ee49e456fad4887407d7ee921b35, type: 3}
m_PrefabInstance: {fileID: 5363579443773024874}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 0}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: be430db9e6bfab94b947f2deb87dc70c, type: 3}
m_Name:
m_EditorClassIdentifier:
--- !u!114 &8381487365757776869 stripped
MonoBehaviour:
m_CorrespondingSourceObject: {fileID: 4485098471825021327, guid: 4e48ee49e456fad4887407d7ee921b35, type: 3}
m_PrefabInstance: {fileID: 5363579443773024874}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 0}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: be430db9e6bfab94b947f2deb87dc70c, type: 3}
m_Name:
m_EditorClassIdentifier:
--- !u!114 &8650436485758790122 stripped
MonoBehaviour:
m_CorrespondingSourceObject: {fileID: 3630962538618192768, guid: 4e48ee49e456fad4887407d7ee921b35, type: 3}
m_PrefabInstance: {fileID: 5363579443773024874}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 0}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: be430db9e6bfab94b947f2deb87dc70c, type: 3}
m_Name:
m_EditorClassIdentifier:
--- !u!1001 &5363579444857241352
PrefabInstance:
m_ObjectHideFlags: 0

View File

@ -676,7 +676,6 @@ RectTransform:
m_ConstrainProportionsScale: 0
m_Children:
- {fileID: 499058874787693888}
- {fileID: 499058876533243493}
m_Father: {fileID: 499058876091612563}
m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
@ -786,6 +785,11 @@ MonoBehaviour:
_panel: {fileID: 499058876202855932}
btns: []
panels: []
icon: {fileID: 0}
BigNameText: {fileID: 499058875440004111}
NameText: {fileID: 499058876205321731}
priceText: {fileID: 499058876083203626}
info: {fileID: 499058874787693951}
--- !u!1 &499058875926305708
GameObject:
m_ObjectHideFlags: 0
@ -1602,7 +1606,7 @@ RectTransform:
m_AnchorMin: {x: 0.5, y: 0.5}
m_AnchorMax: {x: 0.5, y: 0.5}
m_AnchoredPosition: {x: -90, y: 59}
m_SizeDelta: {x: 200, y: 50}
m_SizeDelta: {x: 280.83, y: 91.8132}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!222 &499058876205321730
CanvasRenderer:
@ -1778,86 +1782,6 @@ MonoBehaviour:
m_FillOrigin: 0
m_UseSpriteMesh: 0
m_PixelsPerUnitMultiplier: 1
--- !u!1 &499058876533243494
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 499058876533243493}
- component: {fileID: 499058876533243491}
- component: {fileID: 499058876533243492}
m_Layer: 5
m_Name: Text (Legacy) (1)
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!224 &499058876533243493
RectTransform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 499058876533243494}
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: 499058875891140848}
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: -51.4084}
m_SizeDelta: {x: 880, y: 521.1831}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!222 &499058876533243491
CanvasRenderer:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 499058876533243494}
m_CullTransparentMesh: 1
--- !u!114 &499058876533243492
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 499058876533243494}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 5f7201a12d95ffc409449d95f23cf332, type: 3}
m_Name:
m_EditorClassIdentifier:
m_Material: {fileID: 0}
m_Color: {r: 0, g: 0, b: 0, 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_FontData:
m_Font: {fileID: 10102, guid: 0000000000000000e000000000000000, type: 0}
m_FontSize: 36
m_FontStyle: 0
m_BestFit: 0
m_MinSize: 0
m_MaxSize: 40
m_Alignment: 0
m_AlignByGeometry: 0
m_RichText: 1
m_HorizontalOverflow: 0
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