Merge branch 'main' of http://shu.sheziwanglo.cn:3000/hyskai/_TheStrongestSnail
This commit is contained in:
commit
d133f5ee4e
2022
TheStrongestSnail/Assets/Resources/LLPrefabs/Donate3Panel.prefab
Normal file
2022
TheStrongestSnail/Assets/Resources/LLPrefabs/Donate3Panel.prefab
Normal file
File diff suppressed because it is too large
Load Diff
@ -0,0 +1,7 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 05a39ff91f9f6e540a25c456675c0f5f
|
||||
PrefabImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@ -10,8 +10,8 @@ public class DonatePanel : BaseUIPanel
|
||||
public GameObject game;
|
||||
void Start()
|
||||
{
|
||||
Button1.onClick.AddListener(() => ButtononClick(DonatePanelItem.mode.voluteCoin, Button1));
|
||||
Button2.onClick.AddListener(() => ButtononClick(DonatePanelItem.mode.slot, Button2));
|
||||
Button1.onClick.AddListener(() => ButtononClick(DonatePanelItem.mode.slot, Button1));
|
||||
Button2.onClick.AddListener(() => ButtononClick(DonatePanelItem.mode.voluteCoin, Button2));
|
||||
}
|
||||
|
||||
void ButtononClick(DonatePanelItem.mode mymode, Button button)
|
||||
|
@ -44,24 +44,17 @@ public class DonatePanelItem : BaseUIPanel
|
||||
}
|
||||
async void buttonOnClick()
|
||||
{
|
||||
|
||||
string response = "";//²âÊÔ
|
||||
Canvas canvas = GetComponentInParent<Canvas>();
|
||||
GameObject donateTc = (GameObject)Instantiate(Resources.Load("LLPrefabs/Donate3Panel"),canvas.transform);
|
||||
donateTc.GetComponent<DonateTc>().donatePanelItem = this;
|
||||
if (mymode == mode.voluteCoin)
|
||||
{
|
||||
string body = "{\"toCuteNo\":" + (int.Parse(Recipient.text)).ToString() + ",\"voluteCoin\":" + GiftQuantity.text + "}";
|
||||
response = await web.SendRequest(web.URL + "/snail/transfer/voluteCoin", "POST", body, Global.global.CreateHeaders());
|
||||
donateTc.GetComponent<DonateTc>().ConfirmText.text = "材料【蜗壳】数量【" + GiftQuantity.text + "】至ID【" + Recipient.text + "】";
|
||||
}
|
||||
else
|
||||
{
|
||||
string body = "{\"toCuteNo\":" + (int.Parse(Recipient.text)).ToString() + ",\"slotId\":" + GiftQuantity.text + "}";
|
||||
response = await web.SendRequest(web.URL + "/snail/transfer/slot", "POST", body, Global.global.CreateHeaders());
|
||||
donateTc.GetComponent<DonateTc>().ConfirmText.text = "材料【卡槽】数量【" + GiftQuantity.text + "】至ID【" + Recipient.text + "】";
|
||||
}
|
||||
ServerResponse18 serverResponse = JsonConvert.DeserializeObject<ServerResponse18>(response);
|
||||
if (serverResponse.code != 200)
|
||||
{
|
||||
addEventPopUp(serverResponse.message);
|
||||
}
|
||||
Destroy(gameObject);
|
||||
}
|
||||
async void GiftQuantityData(string userInput)
|
||||
{
|
||||
@ -78,7 +71,8 @@ public class DonatePanelItem : BaseUIPanel
|
||||
Total.text = (int.Parse(userInput) + (int.Parse(userInput) * 0.08)).ToString();
|
||||
await ButtonClickAnimationAsync(Total.gameObject, 1.05f);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
|
@ -9,7 +9,7 @@ public class Global : MonoBehaviour
|
||||
public logoPanel.ServerResponse serverResponse;
|
||||
public ServerResponse response;
|
||||
public static Global global ;
|
||||
|
||||
public RealPlayerInfo realPlayerInfo;
|
||||
// Start is called before the first frame update
|
||||
void Start()
|
||||
{
|
||||
|
@ -87,18 +87,18 @@ public class logoPanel : Base
|
||||
{
|
||||
|
||||
|
||||
loginbody body = new loginbody
|
||||
/* loginbody body = new loginbody
|
||||
{
|
||||
userName = userNameField.text,
|
||||
password = passwordField.text,
|
||||
verifyCode = int.Parse(verifyCodeField.text)
|
||||
};*/
|
||||
loginbody body = new loginbody
|
||||
{
|
||||
userName = "15151658596",
|
||||
password = "123456",
|
||||
verifyCode = 111111
|
||||
};
|
||||
//loginbody body = new loginbody
|
||||
//{
|
||||
// userName = "15151658596",
|
||||
// password = "123456",
|
||||
// verifyCode = 111111
|
||||
//};
|
||||
string loginResponse = await web.SendRequest(web.URL+"/snail/user/login", "POST", JsonUtility.ToJson(body));
|
||||
ServerResponse response = JsonUtility.FromJson<ServerResponse>(loginResponse);
|
||||
if (response != null && response.code == 200 && response.data != null)
|
||||
@ -107,7 +107,7 @@ public class logoPanel : Base
|
||||
SceneManager.LoadScene(1);
|
||||
return;
|
||||
}
|
||||
Debug.Log(response.code);
|
||||
//Debug.Log(response.code);
|
||||
}
|
||||
|
||||
private void OnClickRigistBtn()
|
||||
|
@ -0,0 +1,40 @@
|
||||
using System.Collections;
|
||||
using System.Collections.Generic;
|
||||
using System.Threading.Tasks;
|
||||
using UnityEngine;
|
||||
|
||||
public class Scene_main_jiekou :Base
|
||||
{
|
||||
public static Scene_main_jiekou instance;
|
||||
public mainBTN _mainBTN;
|
||||
private RealPlayerInfo _realPlayerInfo;
|
||||
private queryPlayerInfo _queryPlayerInfo;
|
||||
|
||||
// Start is called before the first frame update
|
||||
|
||||
private void Awake()
|
||||
{
|
||||
instance = this;
|
||||
getInfo();
|
||||
}
|
||||
|
||||
|
||||
async void getInfo()
|
||||
{
|
||||
//base.testLogo();
|
||||
await StartAsync();
|
||||
Debug.Log(_realPlayerInfo.data.nickName);
|
||||
Debug.Log(_realPlayerInfo.data.voluteCoin);
|
||||
Debug.Log(_realPlayerInfo.data.beansCoin);
|
||||
_mainBTN.UpDatePlayer(_realPlayerInfo.data.nickName, _realPlayerInfo.data.voluteCoin.ToString("f1")+"M", _realPlayerInfo.data.beansCoin.ToString("f1")+"M");
|
||||
}
|
||||
async Task StartAsync()
|
||||
{
|
||||
_realPlayerInfo = new RealPlayerInfo();
|
||||
_queryPlayerInfo = new queryPlayerInfo();
|
||||
|
||||
_realPlayerInfo = await _queryPlayerInfo.QueryPlayerInfoPro();
|
||||
}
|
||||
|
||||
|
||||
}
|
@ -0,0 +1,11 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 9f93d017de20a114a8a10b54863dda9b
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
@ -0,0 +1,3 @@
|
||||
internal class TextMeshUGUI
|
||||
{
|
||||
}
|
@ -0,0 +1,11 @@
|
||||
fileFormatVersion: 2
|
||||
guid: b210f710cb46b72419cc8009cd879ad6
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
@ -3,6 +3,7 @@ using System.Collections.Generic;
|
||||
using UnityEngine;
|
||||
using UnityEngine.UI;
|
||||
using DG.Tweening;
|
||||
using TMPro;
|
||||
|
||||
//MD FUCK Everthing
|
||||
//史山,别学
|
||||
@ -27,13 +28,17 @@ public class mainBTN :main_game
|
||||
public GameObject BTN_1;
|
||||
public GameObject BTN_2;
|
||||
public GameObject BTN_3;
|
||||
[Header("BTN的父节点")]
|
||||
public GameObject BTNBox;
|
||||
|
||||
public GameObject BTN_0_0;
|
||||
public GameObject BTN_1_1;
|
||||
public GameObject BTN_2_2;
|
||||
public GameObject BTN_3_3;
|
||||
|
||||
[Header("下面是显示部分")]
|
||||
public Image playerIcon;
|
||||
public Text playerName;
|
||||
public Text playerWoKeNumber;
|
||||
public Text playerWoDanNumber;
|
||||
|
||||
private float startPosY;
|
||||
private float clickPosY;
|
||||
|
||||
|
||||
// Start is called before the first frame update
|
||||
@ -51,10 +56,18 @@ public class mainBTN :main_game
|
||||
mainPanelRect = mainPanel.GetComponent<RectTransform>();
|
||||
|
||||
// 添加按钮点击事件
|
||||
BTN_0.GetComponent<Button>().onClick.AddListener(() => MovePanel(0));
|
||||
BTN_1.GetComponent<Button>().onClick.AddListener(() => MovePanel(-2100));
|
||||
BTN_2.GetComponent<Button>().onClick.AddListener(() => MovePanel(-3760));
|
||||
BTN_3.GetComponent<Button>().onClick.AddListener(() => MovePanel(-5350));
|
||||
BTN_0.GetComponent<Button>().onClick.AddListener(() => {
|
||||
MovePanel(0);
|
||||
});
|
||||
BTN_1.GetComponent<Button>().onClick.AddListener(() => {
|
||||
MovePanel(-2100);
|
||||
});
|
||||
BTN_2.GetComponent<Button>().onClick.AddListener(() => {
|
||||
MovePanel(-3760);
|
||||
});
|
||||
BTN_3.GetComponent<Button>().onClick.AddListener(() => {
|
||||
MovePanel(-5350);
|
||||
});
|
||||
|
||||
|
||||
BTN5.onClick.AddListener(() => {
|
||||
@ -70,27 +83,91 @@ public class mainBTN :main_game
|
||||
asyncOnShopBTN(BTN8, panel8);
|
||||
});
|
||||
|
||||
startPosY = BTN_0.transform.position.y;
|
||||
clickPosY = startPosY + Screen.height * 0.02f;
|
||||
|
||||
MovePanel(-3760);
|
||||
}
|
||||
|
||||
void BTNMove(float targetX)
|
||||
{
|
||||
if (targetX==0)
|
||||
{
|
||||
BTN_0.transform.SetParent(this.transform);
|
||||
BTN_1.transform.SetParent(BTNBox.transform);
|
||||
BTN_2.transform.SetParent(BTNBox.transform);
|
||||
BTN_3.transform.SetParent(BTNBox.transform);
|
||||
|
||||
BTN_0.transform.DOMoveY(clickPosY, 0.1f);
|
||||
BTN_1.transform.DOMoveY(startPosY, 0.1f);
|
||||
BTN_2.transform.DOMoveY(startPosY, 0.1f);
|
||||
BTN_3.transform.DOMoveY(startPosY, 0.1f);
|
||||
|
||||
return;
|
||||
}
|
||||
else if (targetX == -2100)
|
||||
{
|
||||
BTN_0.transform.SetParent(BTNBox.transform);
|
||||
BTN_1.transform.SetParent(this.transform);
|
||||
BTN_2.transform.SetParent(BTNBox.transform);
|
||||
BTN_3.transform.SetParent(BTNBox.transform);
|
||||
|
||||
BTN_0.transform.DOMoveY(startPosY, 0.1f);
|
||||
BTN_1.transform.DOMoveY(clickPosY, 0.1f);
|
||||
BTN_2.transform.DOMoveY(startPosY, 0.1f);
|
||||
BTN_3.transform.DOMoveY(startPosY, 0.1f);
|
||||
return;
|
||||
}
|
||||
else if (targetX == -3760)
|
||||
{
|
||||
BTN_0.transform.SetParent(BTNBox.transform);
|
||||
BTN_1.transform.SetParent(BTNBox.transform);
|
||||
BTN_2.transform.SetParent(this.transform);
|
||||
BTN_3.transform.SetParent(BTNBox.transform);
|
||||
|
||||
BTN_0.transform.DOMoveY(startPosY, 0.1f);
|
||||
BTN_1.transform.DOMoveY(startPosY, 0.1f);
|
||||
BTN_2.transform.DOMoveY(clickPosY, 0.1f);
|
||||
BTN_3.transform.DOMoveY(startPosY, 0.1f);
|
||||
return;
|
||||
}
|
||||
else if (targetX == -5350)
|
||||
{
|
||||
BTN_0.transform.SetParent(BTNBox.transform);
|
||||
BTN_1.transform.SetParent(BTNBox.transform);
|
||||
BTN_2.transform.SetParent(BTNBox.transform);
|
||||
BTN_3.transform.SetParent(this.transform);
|
||||
|
||||
BTN_0.transform.DOMoveY(startPosY, 0.1f);
|
||||
BTN_1.transform.DOMoveY(startPosY, 0.1f);
|
||||
BTN_2.transform.DOMoveY(startPosY, 0.1f);
|
||||
BTN_3.transform.DOMoveY(clickPosY, 0.1f);
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
// 统一的面板移动方法
|
||||
public void MovePanel(float targetX)
|
||||
{
|
||||
// ¸üа´Å¥µÄÏÔʾºÍÒþ²Ø
|
||||
BTN_0.SetActive(targetX != 0);
|
||||
BTN_1.SetActive(targetX != -2100);
|
||||
BTN_2.SetActive(targetX != -3760);
|
||||
BTN_3.SetActive(targetX != -5350);
|
||||
|
||||
BTN_0_0.SetActive(targetX == 0);
|
||||
BTN_1_1.SetActive(targetX == -2100);
|
||||
BTN_2_2.SetActive(targetX == -3760);
|
||||
BTN_3_3.SetActive(targetX == -5350);
|
||||
|
||||
BTNMove(targetX);
|
||||
// 使用 DOTween 实现平滑移动
|
||||
mainPanelRect.DOKill(); // 杀死之前的动画,防止重复动画干扰
|
||||
mainPanelRect.DOAnchorPosX(targetX, 0.3f).SetEase(Ease.Linear);
|
||||
}
|
||||
|
||||
|
||||
|
||||
public void UpDatePlayer(string playerName, string playerWoKeNumber, string playerWoDanNumber)
|
||||
{
|
||||
this.playerName.text = playerName;
|
||||
this.playerWoKeNumber.text = playerWoKeNumber;
|
||||
this.playerWoDanNumber.text = playerWoDanNumber;
|
||||
}
|
||||
|
||||
public void UpDatePlayer(Sprite playerIcon, string playerName,string playerWoKeNumber,string playerWoDanNumber)
|
||||
{
|
||||
this.playerIcon.sprite = playerIcon;
|
||||
this.playerName.text = playerName;
|
||||
this.playerWoKeNumber.text = playerWoKeNumber;
|
||||
this.playerWoDanNumber.text = playerWoDanNumber;
|
||||
}
|
||||
}
|
||||
|
19
TheStrongestSnail/Assets/Scripts/Scene_main/main_RedDot.cs
Normal file
19
TheStrongestSnail/Assets/Scripts/Scene_main/main_RedDot.cs
Normal file
@ -0,0 +1,19 @@
|
||||
using System.Collections;
|
||||
using System.Collections.Generic;
|
||||
using UnityEngine;
|
||||
|
||||
public class main_RedDot : MonoBehaviour
|
||||
{
|
||||
public GameObject redDot;
|
||||
|
||||
|
||||
public void ShowRedDot()
|
||||
{
|
||||
redDot.SetActive(true);
|
||||
}
|
||||
|
||||
public void HideRedDot()
|
||||
{
|
||||
redDot.SetActive(false);
|
||||
}
|
||||
}
|
@ -0,0 +1,11 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 9cdd24b678761ff4a945ba07d88461bc
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
55
TheStrongestSnail/Assets/Scripts/lianghaoLL/DonateTc.cs
Normal file
55
TheStrongestSnail/Assets/Scripts/lianghaoLL/DonateTc.cs
Normal file
@ -0,0 +1,55 @@
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections;
|
||||
using System.Collections.Generic;
|
||||
using UnityEngine;
|
||||
using UnityEngine.UI;
|
||||
public class DonateTc : BaseUIPanel
|
||||
{
|
||||
|
||||
public Text ConfirmText;
|
||||
public Button ConfirmBtn;
|
||||
public Button CancelBtn;
|
||||
public DonatePanelItem donatePanelItem;
|
||||
// Start is called before the first frame update
|
||||
void Start()
|
||||
{
|
||||
ConfirmBtn.onClick.AddListener(ConfrimPanel);
|
||||
CancelBtn.onClick.AddListener(CancelPanel);
|
||||
}
|
||||
|
||||
void CancelPanel()
|
||||
{
|
||||
Destroy(this.gameObject);
|
||||
}
|
||||
|
||||
async void ConfrimPanel()
|
||||
{
|
||||
string response = "";//²âÊÔ
|
||||
if (donatePanelItem.mymode == DonatePanelItem.mode.voluteCoin)
|
||||
{
|
||||
string body = "{\"toCuteNo\":\"" + (int.Parse(donatePanelItem.Recipient.text)).ToString() + "\",\"voluteCoin\":" + int.Parse(donatePanelItem.GiftQuantity.text) + "}";
|
||||
Debug.Log(body);
|
||||
response = await web.SendRequest(web.URL + "/snail/transfer/voluteCoin", "POST", body, Global.global.CreateHeaders());
|
||||
}
|
||||
else
|
||||
{
|
||||
string body = "{\"toCuteNo\":\"" + (int.Parse(donatePanelItem.Recipient.text)).ToString() + "\",\"slotId\":" + int.Parse(donatePanelItem.GiftQuantity.text) + "}";
|
||||
Debug.Log(body);
|
||||
response = await web.SendRequest(web.URL + "/snail/transfer/slot", "POST", body, Global.global.CreateHeaders());
|
||||
}
|
||||
ServerResponse18 serverResponse = JsonConvert.DeserializeObject<ServerResponse18>(response);
|
||||
if (serverResponse.code != 200)
|
||||
{
|
||||
addEventPopUp(serverResponse.message);
|
||||
}
|
||||
|
||||
// Destroy(gameObject);
|
||||
|
||||
|
||||
}
|
||||
// Update is called once per frame
|
||||
void Update()
|
||||
{
|
||||
|
||||
}
|
||||
}
|
11
TheStrongestSnail/Assets/Scripts/lianghaoLL/DonateTc.cs.meta
Normal file
11
TheStrongestSnail/Assets/Scripts/lianghaoLL/DonateTc.cs.meta
Normal file
@ -0,0 +1,11 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 871a2436f2fcbc8428ff0c89f6f64cad
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
36
TheStrongestSnail/Assets/Scripts/lianghaoLL/ExchangePanel.cs
Normal file
36
TheStrongestSnail/Assets/Scripts/lianghaoLL/ExchangePanel.cs
Normal file
@ -0,0 +1,36 @@
|
||||
using System.Collections;
|
||||
using System.Collections.Generic;
|
||||
using UnityEngine;
|
||||
using TMPro;
|
||||
using UnityEngine.UI;
|
||||
public class ExchangePanel : MonoBehaviour
|
||||
{
|
||||
public TMP_InputField exchangeInput;
|
||||
public Button CancelBtn;
|
||||
public Button ConfirmBtn;
|
||||
// Start is called before the first frame update
|
||||
void Start()
|
||||
{
|
||||
ConfirmBtn.onClick.AddListener(ConfrimPanel);
|
||||
CancelBtn.onClick.AddListener(CancelPanel);
|
||||
}
|
||||
|
||||
|
||||
void CancelPanel()
|
||||
{
|
||||
Destroy(this.gameObject);
|
||||
}
|
||||
|
||||
|
||||
async void ConfrimPanel()
|
||||
{
|
||||
|
||||
|
||||
}
|
||||
|
||||
// Update is called once per frame
|
||||
void Update()
|
||||
{
|
||||
|
||||
}
|
||||
}
|
@ -0,0 +1,11 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 219dc8e3c58f153489f189f611caa529
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
@ -27,7 +27,6 @@ public class queryPlayerInfo : MonoBehaviour
|
||||
//解析服务器传入的数据
|
||||
RealPlayerInfo realPlayerInfo = new RealPlayerInfo();
|
||||
realPlayerInfo = JsonConvert.DeserializeObject<RealPlayerInfo>(response14);
|
||||
|
||||
return realPlayerInfo;
|
||||
}
|
||||
}
|
||||
|
2010
TheStrongestSnail/Assets/prefabs/HYLPrefabs/SMFinishPanel.prefab
Normal file
2010
TheStrongestSnail/Assets/prefabs/HYLPrefabs/SMFinishPanel.prefab
Normal file
File diff suppressed because it is too large
Load Diff
@ -0,0 +1,7 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 78183fe970ab5ef41a9ef3204049b95b
|
||||
PrefabImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
@ -3850,6 +3850,7 @@ RectTransform:
|
||||
- {fileID: 3485144750598401731}
|
||||
- {fileID: 3485144751281113911}
|
||||
- {fileID: 3485144751565381415}
|
||||
- {fileID: 7763160578183012954}
|
||||
m_Father: {fileID: 0}
|
||||
m_RootOrder: 0
|
||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||
@ -3896,3 +3897,144 @@ MonoBehaviour:
|
||||
m_FillOrigin: 0
|
||||
m_UseSpriteMesh: 0
|
||||
m_PixelsPerUnitMultiplier: 1
|
||||
--- !u!1001 &2905030397198865495
|
||||
PrefabInstance:
|
||||
m_ObjectHideFlags: 0
|
||||
serializedVersion: 2
|
||||
m_Modification:
|
||||
m_TransformParent: {fileID: 3485144752579768852}
|
||||
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: 5
|
||||
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}
|
||||
- target: {fileID: 4894555910357792270, guid: dac544bca4358514d949413f04b4421c, type: 3}
|
||||
propertyPath: m_OnClick.m_PersistentCalls.m_Calls.Array.data[0].m_Mode
|
||||
value: 6
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 4894555910357792270, guid: dac544bca4358514d949413f04b4421c, type: 3}
|
||||
propertyPath: m_OnClick.m_PersistentCalls.m_Calls.Array.data[0].m_Target
|
||||
value:
|
||||
objectReference: {fileID: 3485144752579768855}
|
||||
- target: {fileID: 4894555910357792270, guid: dac544bca4358514d949413f04b4421c, type: 3}
|
||||
propertyPath: m_OnClick.m_PersistentCalls.m_Calls.Array.data[0].m_MethodName
|
||||
value: SetActive
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 4894555910357792270, guid: dac544bca4358514d949413f04b4421c, type: 3}
|
||||
propertyPath: m_OnClick.m_PersistentCalls.m_Calls.Array.data[0].m_TargetAssemblyTypeName
|
||||
value: UnityEngine.GameObject, UnityEngine
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 4894555910357792270, guid: dac544bca4358514d949413f04b4421c, type: 3}
|
||||
propertyPath: m_OnClick.m_PersistentCalls.m_Calls.Array.data[0].m_Arguments.m_ObjectArgumentAssemblyTypeName
|
||||
value: UnityEngine.Object, UnityEngine
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 5044707777241721125, guid: dac544bca4358514d949413f04b4421c, type: 3}
|
||||
propertyPath: retbutton
|
||||
value:
|
||||
objectReference: {fileID: 7763160578183012953}
|
||||
- target: {fileID: 5044707777241721125, guid: dac544bca4358514d949413f04b4421c, type: 3}
|
||||
propertyPath: ClosureObj
|
||||
value:
|
||||
objectReference: {fileID: 3485144752579768855}
|
||||
m_RemovedComponents: []
|
||||
m_SourcePrefab: {fileID: 100100000, guid: dac544bca4358514d949413f04b4421c, type: 3}
|
||||
--- !u!114 &7763160578183012953 stripped
|
||||
MonoBehaviour:
|
||||
m_CorrespondingSourceObject: {fileID: 4894555910357792270, guid: dac544bca4358514d949413f04b4421c, type: 3}
|
||||
m_PrefabInstance: {fileID: 2905030397198865495}
|
||||
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!224 &7763160578183012954 stripped
|
||||
RectTransform:
|
||||
m_CorrespondingSourceObject: {fileID: 4894555910357792269, guid: dac544bca4358514d949413f04b4421c, type: 3}
|
||||
m_PrefabInstance: {fileID: 2905030397198865495}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
|
@ -379,6 +379,7 @@ RectTransform:
|
||||
m_Children:
|
||||
- {fileID: 1956391926}
|
||||
- {fileID: 1911502082}
|
||||
- {fileID: 1809415960}
|
||||
m_Father: {fileID: 0}
|
||||
m_RootOrder: 2
|
||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||
@ -471,6 +472,11 @@ Transform:
|
||||
m_Father: {fileID: 0}
|
||||
m_RootOrder: 0
|
||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||
--- !u!224 &1809415960 stripped
|
||||
RectTransform:
|
||||
m_CorrespondingSourceObject: {fileID: 9180338299762767603, guid: 78183fe970ab5ef41a9ef3204049b95b, type: 3}
|
||||
m_PrefabInstance: {fileID: 9180338299047021035}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
--- !u!224 &1911502082 stripped
|
||||
RectTransform:
|
||||
m_CorrespondingSourceObject: {fileID: 3485144752579768852, guid: 15649166b70c43240967a238cd4d632b, type: 3}
|
||||
@ -534,7 +540,7 @@ MonoBehaviour:
|
||||
m_OnCullStateChanged:
|
||||
m_PersistentCalls:
|
||||
m_Calls: []
|
||||
m_Sprite: {fileID: 21300000, guid: 99a81ddc402615d4ab668f2e69d8b6ef, type: 3}
|
||||
m_Sprite: {fileID: 21300000, guid: f236f8dab896eab4a8ae005de7865706, type: 3}
|
||||
m_Type: 0
|
||||
m_PreserveAspect: 0
|
||||
m_FillCenter: 1
|
||||
@ -653,3 +659,104 @@ PrefabInstance:
|
||||
objectReference: {fileID: 0}
|
||||
m_RemovedComponents: []
|
||||
m_SourcePrefab: {fileID: 100100000, guid: 15649166b70c43240967a238cd4d632b, type: 3}
|
||||
--- !u!1001 &9180338299047021035
|
||||
PrefabInstance:
|
||||
m_ObjectHideFlags: 0
|
||||
serializedVersion: 2
|
||||
m_Modification:
|
||||
m_TransformParent: {fileID: 1665540835}
|
||||
m_Modifications:
|
||||
- target: {fileID: 9180338299762767603, guid: 78183fe970ab5ef41a9ef3204049b95b, type: 3}
|
||||
propertyPath: m_Pivot.x
|
||||
value: 0.5
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 9180338299762767603, guid: 78183fe970ab5ef41a9ef3204049b95b, type: 3}
|
||||
propertyPath: m_Pivot.y
|
||||
value: 0.5
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 9180338299762767603, guid: 78183fe970ab5ef41a9ef3204049b95b, type: 3}
|
||||
propertyPath: m_RootOrder
|
||||
value: 2
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 9180338299762767603, guid: 78183fe970ab5ef41a9ef3204049b95b, type: 3}
|
||||
propertyPath: m_AnchorMax.x
|
||||
value: 0.5
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 9180338299762767603, guid: 78183fe970ab5ef41a9ef3204049b95b, type: 3}
|
||||
propertyPath: m_AnchorMax.y
|
||||
value: 0.5
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 9180338299762767603, guid: 78183fe970ab5ef41a9ef3204049b95b, type: 3}
|
||||
propertyPath: m_AnchorMin.x
|
||||
value: 0.5
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 9180338299762767603, guid: 78183fe970ab5ef41a9ef3204049b95b, type: 3}
|
||||
propertyPath: m_AnchorMin.y
|
||||
value: 0.5
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 9180338299762767603, guid: 78183fe970ab5ef41a9ef3204049b95b, type: 3}
|
||||
propertyPath: m_SizeDelta.x
|
||||
value: 1185.9861
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 9180338299762767603, guid: 78183fe970ab5ef41a9ef3204049b95b, type: 3}
|
||||
propertyPath: m_SizeDelta.y
|
||||
value: 1269.5222
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 9180338299762767603, guid: 78183fe970ab5ef41a9ef3204049b95b, type: 3}
|
||||
propertyPath: m_LocalPosition.x
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 9180338299762767603, guid: 78183fe970ab5ef41a9ef3204049b95b, type: 3}
|
||||
propertyPath: m_LocalPosition.y
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 9180338299762767603, guid: 78183fe970ab5ef41a9ef3204049b95b, type: 3}
|
||||
propertyPath: m_LocalPosition.z
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 9180338299762767603, guid: 78183fe970ab5ef41a9ef3204049b95b, type: 3}
|
||||
propertyPath: m_LocalRotation.w
|
||||
value: 1
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 9180338299762767603, guid: 78183fe970ab5ef41a9ef3204049b95b, type: 3}
|
||||
propertyPath: m_LocalRotation.x
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 9180338299762767603, guid: 78183fe970ab5ef41a9ef3204049b95b, type: 3}
|
||||
propertyPath: m_LocalRotation.y
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 9180338299762767603, guid: 78183fe970ab5ef41a9ef3204049b95b, type: 3}
|
||||
propertyPath: m_LocalRotation.z
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 9180338299762767603, guid: 78183fe970ab5ef41a9ef3204049b95b, type: 3}
|
||||
propertyPath: m_AnchoredPosition.x
|
||||
value: 7.0596
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 9180338299762767603, guid: 78183fe970ab5ef41a9ef3204049b95b, type: 3}
|
||||
propertyPath: m_AnchoredPosition.y
|
||||
value: -48.1713
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 9180338299762767603, guid: 78183fe970ab5ef41a9ef3204049b95b, type: 3}
|
||||
propertyPath: m_LocalEulerAnglesHint.x
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 9180338299762767603, guid: 78183fe970ab5ef41a9ef3204049b95b, type: 3}
|
||||
propertyPath: m_LocalEulerAnglesHint.y
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 9180338299762767603, guid: 78183fe970ab5ef41a9ef3204049b95b, type: 3}
|
||||
propertyPath: m_LocalEulerAnglesHint.z
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 9180338299762767612, guid: 78183fe970ab5ef41a9ef3204049b95b, type: 3}
|
||||
propertyPath: m_Name
|
||||
value: SMFinishPanel
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 9180338299762767612, guid: 78183fe970ab5ef41a9ef3204049b95b, type: 3}
|
||||
propertyPath: m_IsActive
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
m_RemovedComponents: []
|
||||
m_SourcePrefab: {fileID: 100100000, guid: 78183fe970ab5ef41a9ef3204049b95b, type: 3}
|
||||
|
BIN
TheStrongestSnail/Assets/prefabs/HYLPrefabs/shimingFinish.png
Normal file
BIN
TheStrongestSnail/Assets/prefabs/HYLPrefabs/shimingFinish.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 1.2 MiB |
@ -0,0 +1,123 @@
|
||||
fileFormatVersion: 2
|
||||
guid: f236f8dab896eab4a8ae005de7865706
|
||||
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:
|
@ -1655,8 +1655,8 @@ MonoBehaviour:
|
||||
m_Calls: []
|
||||
m_text: "\u65B0\u589E\u5730\u5740"
|
||||
m_isRightToLeft: 0
|
||||
m_fontAsset: {fileID: 11400000, guid: ce6703600b5ae7446aa7b2e450658b26, type: 2}
|
||||
m_sharedMaterial: {fileID: -4172574303371915638, guid: ce6703600b5ae7446aa7b2e450658b26, type: 2}
|
||||
m_fontAsset: {fileID: 11400000, guid: 8f586378b4e144a9851e7b34d9b748ee, type: 2}
|
||||
m_sharedMaterial: {fileID: 2180264, guid: 8f586378b4e144a9851e7b34d9b748ee, type: 2}
|
||||
m_fontSharedMaterials: []
|
||||
m_fontMaterial: {fileID: 0}
|
||||
m_fontMaterials: []
|
||||
@ -1790,8 +1790,8 @@ MonoBehaviour:
|
||||
m_Calls: []
|
||||
m_text: "\u6536\u8D27\u5730\u5740"
|
||||
m_isRightToLeft: 0
|
||||
m_fontAsset: {fileID: 11400000, guid: ce6703600b5ae7446aa7b2e450658b26, type: 2}
|
||||
m_sharedMaterial: {fileID: -4172574303371915638, guid: ce6703600b5ae7446aa7b2e450658b26, type: 2}
|
||||
m_fontAsset: {fileID: 11400000, guid: 8f586378b4e144a9851e7b34d9b748ee, type: 2}
|
||||
m_sharedMaterial: {fileID: 2180264, guid: 8f586378b4e144a9851e7b34d9b748ee, type: 2}
|
||||
m_fontSharedMaterials: []
|
||||
m_fontMaterial: {fileID: 0}
|
||||
m_fontMaterials: []
|
||||
|
Loading…
Reference in New Issue
Block a user