增加UI场景
This commit is contained in:
parent
2540173e0e
commit
281853f538
@ -1057,6 +1057,10 @@ PrefabInstance:
|
||||
propertyPath: m_AnchoredPosition.y
|
||||
value: -20.5
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 8527512285780996326, guid: 54a9ec38d2fa7ad4aba7938e3016e96c, type: 3}
|
||||
propertyPath: m_IsActive
|
||||
value: 1
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 8527512285780996327, guid: 54a9ec38d2fa7ad4aba7938e3016e96c, type: 3}
|
||||
propertyPath: m_AnchorMax.y
|
||||
value: 1
|
||||
|
@ -27,6 +27,17 @@ public class PerSonalCenterPanel : MonoBehaviour
|
||||
public Button accountsecurityBtn;//账号安全
|
||||
public Button customerserviceBtn;//客户
|
||||
|
||||
//预制体
|
||||
public GameObject editPrefabs;//编辑界面预制体
|
||||
public GameObject myorderPrefabs;//我的订单界面预制体
|
||||
public GameObject realnamePrefabs;//实名认证界面预制体
|
||||
public GameObject receivingaddressPrefabs;//收获地址界面预制体
|
||||
public GameObject conversionPrefabs;//转赠界面预制体
|
||||
public GameObject transformationPrefabs;//转换界面预制体
|
||||
public GameObject exchangePrefabs;//兑换界面预制体
|
||||
public GameObject accountsecurityPrefabs;//账号安全界面预制体
|
||||
public GameObject customerservicePrefabs;//客户界面预制体
|
||||
|
||||
|
||||
// Start is called before the first frame update
|
||||
void Start()
|
||||
@ -34,9 +45,58 @@ public class PerSonalCenterPanel : MonoBehaviour
|
||||
GetPlayerInfo();
|
||||
|
||||
editBtn.onClick.AddListener(EditBtn);
|
||||
myorderBtn.onClick.AddListener(MyorderBtn);
|
||||
realnameBtn.onClick.AddListener(RealnameBtn);
|
||||
receivingaddressBtn.onClick.AddListener(ReceivingaddressBtn);
|
||||
conversionBtn.onClick.AddListener(ConversionBtn);
|
||||
transformationBtn.onClick.AddListener(TransformationBtn);
|
||||
exchangeBtn.onClick.AddListener(ExchangeBtn);
|
||||
accountsecurityBtn.onClick.AddListener(AccountsecurityBtn);
|
||||
customerserviceBtn.onClick.AddListener(CustomerserviceBtn);
|
||||
|
||||
}
|
||||
|
||||
public void EditBtn()
|
||||
{
|
||||
GameObject.Instantiate(editPrefabs, trans);
|
||||
}
|
||||
|
||||
public void MyorderBtn()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
private void RealnameBtn()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
private void ReceivingaddressBtn()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
private void ConversionBtn()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
private void TransformationBtn()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
private void ExchangeBtn()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
private void AccountsecurityBtn()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
private void CustomerserviceBtn()
|
||||
{
|
||||
|
||||
}
|
||||
@ -46,23 +106,31 @@ public class PerSonalCenterPanel : MonoBehaviour
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
void SetPlayerName()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
public void SetInviteFriendsPanel()
|
||||
{
|
||||
invitefriendsPanel.gameObject.SetActive(true);
|
||||
transform.gameObject.SetActive(false);
|
||||
}
|
||||
|
||||
public void SetEditPanel()
|
||||
{
|
||||
editPanel.gameObject.SetActive(true);
|
||||
}
|
||||
|
||||
public void SetPerSonalCenterPanel()
|
||||
{
|
||||
transform.gameObject.SetActive(false);
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
public async void GetPlayerInfo() // 1.4
|
||||
{
|
||||
// 准备请求的头部信息,包含授权令牌
|
||||
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@ -1,2 +1,2 @@
|
||||
!@#¥%……&*()——+|}{”:?》《,。、;’【】、=-0987654321奇迹蜗牛逃亡霸主来袭手机号验证码记录排行灵液密码登入录获取没有立刻脱失败没关系拿到了榜单爷傲奈我何今日排行骑士投入秒后比赛开始灭霸雷神超人蝙蝠钢铁毒液蜘蛛美队卡槽豌豆黄毒蘑菇计时器激素去数加速器商店立刻即工会信息申请申请我的背包碎片兑换公告福利通知活动详情参与规则靓号商店取消确认补充打工时长剩余个人中心邀请好友一二三四五六七八九十鹅的主身份证保存认证真实完成收货新增加编辑安全退出修改注销订转赠送壳兑换购买赤橙黄绿青蓝紫鬼王怪物粉色嘻嬉笑舍洞窟趣巢穴破烂豆逗商城昨天鱼塘联系方式本公会立志做最强蜗牛最牛逼公会!请各位加入我吧!
|
||||
加入我们有鸡蛋领的哦!集齐100片iPhone16pm碎片可兑换一台iPhone16pm碎片可通过哔哩吧啦哔哩吧啦等方式获取。获取时间仅剩巴啦啦小魔仙小时!
|
||||
加入我们有鸡蛋领的哦!集齐100片iPhone16pm碎片可兑换一台iPhone16pm碎片可通过哔哩吧啦哔哩吧啦等方式获取。获取时间仅剩巴啦啦小魔仙小时!实名认证
|
@ -1 +1 @@
|
||||
!@#¥%……&*()——+|}{”:?》《,。、;’【】、=-0987654321奇迹蜗牛逃亡霸主来袭手机号验证码记录排行灵液密码登入录获取没有立刻脱失败没关系拿到了榜单爷傲奈我何今日排行骑士投入秒后比赛开始灭霸雷神超人蝙蝠钢铁毒液蜘蛛美队卡槽豌豆黄毒蘑菇计时器激素去数加速器商店立刻即工会信息申请申请我的背包碎片兑换公告福利通知活动详情参与规则靓号商店取消确认补充打工时长剩余个人中心邀请好友一二三四五六七八九十鹅的主身份证保存认证真实完成收货新增加编辑安全退出修改注销订转赠送壳兑换购买赤橙黄绿青蓝紫鬼王怪物粉色嘻嬉笑舍洞窟趣巢穴破烂豆逗商城昨天明名字地址账号安全客户天个人中心最强
|
||||
!@#¥%……&*()——+|}{”:?》《,。、;’【】、=-0987654321奇迹蜗牛逃亡霸主来袭手机号验证码记录排行灵液密码登入录获取没有立刻脱失败没关系拿到了榜单爷傲奈我何今日排行骑士投入秒后比赛开始灭霸雷神超人蝙蝠钢铁毒液蜘蛛美队卡槽豌豆黄毒蘑菇计时器激素去数加速器商店立刻即工会信息申请申请我的背包碎片兑换公告福利通知活动详情参与规则靓号商店取消确认补充打工时长剩余个人中心邀请好友一二三四五六七八九十鹅的主身份证保存认证真实完成收货新增加编辑安全退出修改注销订转赠送壳兑换购买赤橙黄绿青蓝紫鬼王怪物粉色嘻嬉笑舍洞窟趣巢穴破烂豆逗商城昨天明名字地址账号安全客户天个人中心最强客服
|
@ -1691,7 +1691,7 @@ MonoBehaviour:
|
||||
m_OnCullStateChanged:
|
||||
m_PersistentCalls:
|
||||
m_Calls: []
|
||||
m_text: "\u5BA2\u6237"
|
||||
m_text: "\u5BA2\u670D"
|
||||
m_isRightToLeft: 0
|
||||
m_fontAsset: {fileID: 11400000, guid: ba2f1b18921a5b24bb4aeb3ee4a8e979, type: 2}
|
||||
m_sharedMaterial: {fileID: -5950493476346735654, guid: ba2f1b18921a5b24bb4aeb3ee4a8e979, type: 2}
|
||||
@ -2379,6 +2379,15 @@ MonoBehaviour:
|
||||
exchangeBtn: {fileID: 7365734031970685140}
|
||||
accountsecurityBtn: {fileID: 7365734033068930756}
|
||||
customerserviceBtn: {fileID: 7365734032285175082}
|
||||
editPrefabs: {fileID: 6960989441060764512, guid: 3490098842d7403459677ad0a9d21c3b, type: 3}
|
||||
myorderPrefabs: {fileID: 0}
|
||||
realnamePrefabs: {fileID: 0}
|
||||
receivingaddressPrefabs: {fileID: 0}
|
||||
conversionPrefabs: {fileID: 0}
|
||||
transformationPrefabs: {fileID: 0}
|
||||
exchangePrefabs: {fileID: 0}
|
||||
accountsecurityPrefabs: {fileID: 0}
|
||||
customerservicePrefabs: {fileID: 0}
|
||||
--- !u!1 &7365734032111111873
|
||||
GameObject:
|
||||
m_ObjectHideFlags: 0
|
||||
|
1066
TheStrongestSnail/Assets/prefabs/HYLPrefabs/UI.unity
Normal file
1066
TheStrongestSnail/Assets/prefabs/HYLPrefabs/UI.unity
Normal file
File diff suppressed because it is too large
Load Diff
@ -0,0 +1,7 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 0d558573fde78ae4bbf83416924382f3
|
||||
DefaultImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
BIN
TheStrongestSnail/Assets/prefabs/HYLPrefabs/shiming.png
Normal file
BIN
TheStrongestSnail/Assets/prefabs/HYLPrefabs/shiming.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 1000 KiB |
123
TheStrongestSnail/Assets/prefabs/HYLPrefabs/shiming.png.meta
Normal file
123
TheStrongestSnail/Assets/prefabs/HYLPrefabs/shiming.png.meta
Normal file
@ -0,0 +1,123 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 99a81ddc402615d4ab668f2e69d8b6ef
|
||||
TextureImporter:
|
||||
internalIDToNameTable: []
|
||||
externalObjects: {}
|
||||
serializedVersion: 12
|
||||
mipmaps:
|
||||
mipMapMode: 0
|
||||
enableMipMap: 0
|
||||
sRGBTexture: 1
|
||||
linearTexture: 0
|
||||
fadeOut: 0
|
||||
borderMipMap: 0
|
||||
mipMapsPreserveCoverage: 0
|
||||
alphaTestReferenceValue: 0.5
|
||||
mipMapFadeDistanceStart: 1
|
||||
mipMapFadeDistanceEnd: 3
|
||||
bumpmap:
|
||||
convertToNormalMap: 0
|
||||
externalNormalMap: 0
|
||||
heightScale: 0.25
|
||||
normalMapFilter: 0
|
||||
isReadable: 0
|
||||
streamingMipmaps: 0
|
||||
streamingMipmapsPriority: 0
|
||||
vTOnly: 0
|
||||
ignoreMasterTextureLimit: 0
|
||||
grayScaleToAlpha: 0
|
||||
generateCubemap: 6
|
||||
cubemapConvolution: 0
|
||||
seamlessCubemap: 0
|
||||
textureFormat: 1
|
||||
maxTextureSize: 2048
|
||||
textureSettings:
|
||||
serializedVersion: 2
|
||||
filterMode: 1
|
||||
aniso: 1
|
||||
mipBias: 0
|
||||
wrapU: 1
|
||||
wrapV: 1
|
||||
wrapW: 0
|
||||
nPOTScale: 0
|
||||
lightmap: 0
|
||||
compressionQuality: 50
|
||||
spriteMode: 1
|
||||
spriteExtrude: 1
|
||||
spriteMeshType: 1
|
||||
alignment: 0
|
||||
spritePivot: {x: 0.5, y: 0.5}
|
||||
spritePixelsToUnits: 100
|
||||
spriteBorder: {x: 0, y: 0, z: 0, w: 0}
|
||||
spriteGenerateFallbackPhysicsShape: 1
|
||||
alphaUsage: 1
|
||||
alphaIsTransparency: 1
|
||||
spriteTessellationDetail: -1
|
||||
textureType: 8
|
||||
textureShape: 1
|
||||
singleChannelComponent: 0
|
||||
flipbookRows: 1
|
||||
flipbookColumns: 1
|
||||
maxTextureSizeSet: 0
|
||||
compressionQualitySet: 0
|
||||
textureFormatSet: 0
|
||||
ignorePngGamma: 0
|
||||
applyGammaDecoding: 0
|
||||
cookieLightType: 0
|
||||
platformSettings:
|
||||
- serializedVersion: 3
|
||||
buildTarget: DefaultTexturePlatform
|
||||
maxTextureSize: 2048
|
||||
resizeAlgorithm: 0
|
||||
textureFormat: -1
|
||||
textureCompression: 1
|
||||
compressionQuality: 50
|
||||
crunchedCompression: 0
|
||||
allowsAlphaSplitting: 0
|
||||
overridden: 0
|
||||
androidETC2FallbackOverride: 0
|
||||
forceMaximumCompressionQuality_BC6H_BC7: 0
|
||||
- serializedVersion: 3
|
||||
buildTarget: Standalone
|
||||
maxTextureSize: 2048
|
||||
resizeAlgorithm: 0
|
||||
textureFormat: -1
|
||||
textureCompression: 1
|
||||
compressionQuality: 50
|
||||
crunchedCompression: 0
|
||||
allowsAlphaSplitting: 0
|
||||
overridden: 0
|
||||
androidETC2FallbackOverride: 0
|
||||
forceMaximumCompressionQuality_BC6H_BC7: 0
|
||||
- serializedVersion: 3
|
||||
buildTarget: Android
|
||||
maxTextureSize: 2048
|
||||
resizeAlgorithm: 0
|
||||
textureFormat: -1
|
||||
textureCompression: 1
|
||||
compressionQuality: 50
|
||||
crunchedCompression: 0
|
||||
allowsAlphaSplitting: 0
|
||||
overridden: 0
|
||||
androidETC2FallbackOverride: 0
|
||||
forceMaximumCompressionQuality_BC6H_BC7: 0
|
||||
spriteSheet:
|
||||
serializedVersion: 2
|
||||
sprites: []
|
||||
outline: []
|
||||
physicsShape: []
|
||||
bones: []
|
||||
spriteID: 5e97eb03825dee720800000000000000
|
||||
internalID: 0
|
||||
vertices: []
|
||||
indices:
|
||||
edges: []
|
||||
weights: []
|
||||
secondaryTextures: []
|
||||
nameFileIdTable: {}
|
||||
spritePackingTag:
|
||||
pSDRemoveMatte: 0
|
||||
pSDShowRemoveMatteOption: 0
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
Loading…
Reference in New Issue
Block a user