Commit 587ea0fa authored by Unicorn369's avatar Unicorn369

Merge branch 'Test' of https://github.com/Unicorn369/YGOPro2_Droid into Android

parents 1febaa84 7b18346f
...@@ -792,7 +792,7 @@ public static class UIHelper ...@@ -792,7 +792,7 @@ public static class UIHelper
{ {
if (fileInfos[i].Name.Length > 4) if (fileInfos[i].Name.Length > 4)
{ {
if (fileInfos[i].Name.Substring(fileInfos[i].Name.Length - 4, 4) == ".png") if (fileInfos[i].Name.Substring(fileInfos[i].Name.Length - 4, 4) == ".png" || fileInfos[i].Name.Substring(fileInfos[i].Name.Length - 4, 4) == ".jpg")
{ {
string name = fileInfos[i].Name.Substring(0, fileInfos[i].Name.Length - 4); string name = fileInfos[i].Name.Substring(0, fileInfos[i].Name.Length - 4);
if (!faces.ContainsKey(name)) if (!faces.ContainsKey(name))
......
...@@ -320,8 +320,8 @@ public class Program : MonoBehaviour ...@@ -320,8 +320,8 @@ public class Program : MonoBehaviour
byte[] bytes = www.bytes; byte[] bytes = www.bytes;
ExtractZipFile(bytes, ANDROID_GAME_PATH); ExtractZipFile(bytes, ANDROID_GAME_PATH);
} }
/* //选择性更新 /* //选择性更新(用于额外打补丁)
if (!File.Exists(ANDROID_GAME_PATH + "updates/image_version1.3.txt")) if (!File.Exists(ANDROID_GAME_PATH + "updates/version2.3.1.txt"))
{ {
string filePath = Application.streamingAssetsPath + "/update.zip"; string filePath = Application.streamingAssetsPath + "/update.zip";
var www = new WWW(filePath); var www = new WWW(filePath);
...@@ -1019,7 +1019,7 @@ public class Program : MonoBehaviour ...@@ -1019,7 +1019,7 @@ public class Program : MonoBehaviour
_padScroll = 0; _padScroll = 0;
} }
GUI.Label(new Rect(10, 5, 200, 200), "[Ver 2.3.0] " + "FPS: " + m_FPS); GUI.Label(new Rect(10, 5, 200, 200), "[Ver 2.3.1] " + "FPS: " + m_FPS);
} }
void Update() void Update()
......
...@@ -54,6 +54,10 @@ public class HttpDldFile ...@@ -54,6 +54,10 @@ public class HttpDldFile
} }
catch (Exception) catch (Exception)
{ {
if (File.Exists(filename + ".tmp"))
{
File.Delete(filename + ".tmp");
}
flag = false; flag = false;
} }
return flag; return flag;
......
using UnityEngine; using UnityEngine;
using System; using System;
using System.Collections.Generic; using System.Collections.Generic;
using System.IO;
using YGOSharp.OCGWrapper.Enums; using YGOSharp.OCGWrapper.Enums;
public class Servant public class Servant
...@@ -391,8 +392,12 @@ public class Servant ...@@ -391,8 +392,12 @@ public class Servant
public string currentMShash; public string currentMShash;
public string nameFace;
private GameObject currentMSwindow = null; private GameObject currentMSwindow = null;
private GameObject currentMSwindow_Face = null;
public class messageSystemValue public class messageSystemValue
{ {
public string value = ""; public string value = "";
...@@ -779,10 +784,32 @@ public class Servant ...@@ -779,10 +784,32 @@ public class Servant
true, true,
new Vector3(((float)Screen.height) / 700f, ((float)Screen.height) / 700f, ((float)Screen.height) / 700f) new Vector3(((float)Screen.height) / 700f, ((float)Screen.height) / 700f, ((float)Screen.height) / 700f)
); );
nameFace = name;
currentMSwindow_Face = currentMSwindow;
UIHelper.InterGameObject(currentMSwindow); UIHelper.InterGameObject(currentMSwindow);
UIHelper.getByName<UITexture>(currentMSwindow, "face_").mainTexture = UIHelper.getFace(name); UIHelper.getByName<UITexture>(currentMSwindow, "face_").mainTexture = UIHelper.getFace(name);
UIHelper.registEvent(currentMSwindow, "yes_", ES_RMSpremono, new messageSystemValue()); UIHelper.registEvent(currentMSwindow, "exit_", ES_RMSpremono, new messageSystemValue());
UIHelper.registEvent(currentMSwindow, "yes_", DownloadFace);
}
public void DownloadFace()
{
//获取QQ号
UIInput inputHttp = UIHelper.getByName<UIInput>(currentMSwindow_Face, "input_");
//如果使用自定义url,而不是QQ头像,请修改url,改为:string url = inputHttp.value;
string url = "http://q1.qlogo.cn/headimg_dl?dst_uin=" + inputHttp.value + "&spec=100";
string face = "texture/face/" + nameFace + ".jpg";
//开始下载
HttpDldFile df = new HttpDldFile();
df.Download(url, face);
//刷新头像
if (File.Exists(face))
{
Texture2D Face = UIHelper.getTexture2D(face);
UIHelper.faces.Remove(nameFace);//防止bug,先删除再添加
UIHelper.faces.Add(nameFace, Face);
UIHelper.getByName<UITexture>(currentMSwindow_Face, "face_").mainTexture = Face;
}
} }
#endregion #endregion
} }
...@@ -23,6 +23,7 @@ public class SelectServer : WindowServantSP ...@@ -23,6 +23,7 @@ public class SelectServer : WindowServantSP
UIHelper.registEvent(gameObject, "exit_", onClickExit); UIHelper.registEvent(gameObject, "exit_", onClickExit);
UIHelper.registEvent(gameObject, "face_", onClickFace); UIHelper.registEvent(gameObject, "face_", onClickFace);
UIHelper.registEvent(gameObject, "join_", onClickJoin); UIHelper.registEvent(gameObject, "join_", onClickJoin);
UIHelper.registEvent(gameObject, "clearPsw_", onClearPsw);
serversList = UIHelper.getByName<UIPopupList>(gameObject, "server"); serversList = UIHelper.getByName<UIPopupList>(gameObject, "server");
//serversList.fontSize = 30; //serversList.fontSize = 30;
if (Application.systemLanguage == SystemLanguage.Chinese || Application.systemLanguage == SystemLanguage.ChineseSimplified || Application.systemLanguage == SystemLanguage.ChineseTraditional) if (Application.systemLanguage == SystemLanguage.Chinese || Application.systemLanguage == SystemLanguage.ChineseSimplified || Application.systemLanguage == SystemLanguage.ChineseTraditional)
...@@ -199,6 +200,20 @@ public class SelectServer : WindowServantSP ...@@ -199,6 +200,20 @@ public class SelectServer : WindowServantSP
//inputVersion.value = version; //inputVersion.value = version;
} }
void onClearPsw()
{
string PswString = File.ReadAllText("config/passwords.conf");
string[] lines = PswString.Replace("\r", "").Split("\n");
for (int i = 0; i < lines.Length; i++)
{
list.RemoveItem(lines[i]);//清空list
}
FileStream stream = new FileStream("config/passwords.conf", FileMode.Truncate, FileAccess.ReadWrite);//清空文件内容
stream.Close();
inputPsw.value = "";
Program.PrintToChat(InterString.Get("房间密码已清空"));
}
public override void show() public override void show()
{ {
base.show(); base.show();
......
...@@ -501,9 +501,8 @@ GameObject: ...@@ -501,9 +501,8 @@ GameObject:
- component: {fileID: 11406202} - component: {fileID: 11406202}
- component: {fileID: 11106082} - component: {fileID: 11106082}
- component: {fileID: 11458586} - component: {fileID: 11458586}
- component: {fileID: 11479808}
m_Layer: 18 m_Layer: 18
m_Name: history_ m_Name: clearPsw_
m_TagString: Untagged m_TagString: Untagged
m_Icon: {fileID: 0} m_Icon: {fileID: 0}
m_NavMeshLayer: 0 m_NavMeshLayer: 0
...@@ -780,9 +779,10 @@ Transform: ...@@ -780,9 +779,10 @@ Transform:
m_LocalScale: {x: 1, y: 1, z: 1} m_LocalScale: {x: 1, y: 1, z: 1}
m_Children: m_Children:
- {fileID: 408120} - {fileID: 408120}
- {fileID: 423970} - {fileID: 4000037649950894}
- {fileID: 403090} - {fileID: 403090}
- {fileID: 431974} - {fileID: 431974}
- {fileID: 423970}
m_Father: {fileID: 436586} m_Father: {fileID: 436586}
m_RootOrder: 2 m_RootOrder: 2
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
...@@ -831,13 +831,13 @@ Transform: ...@@ -831,13 +831,13 @@ Transform:
m_PrefabParentObject: {fileID: 0} m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 100100000} m_PrefabInternal: {fileID: 100100000}
m_GameObject: {fileID: 176992} m_GameObject: {fileID: 176992}
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} m_LocalRotation: {x: -0, y: -0, z: -0, w: 1}
m_LocalPosition: {x: 345, y: 0, z: 0} m_LocalPosition: {x: 310, y: 0, z: 0}
m_LocalScale: {x: 1, y: 1, z: 1} m_LocalScale: {x: 0.9988928, y: 0.99889237, z: 0.99889237}
m_Children: m_Children:
- {fileID: 402964} - {fileID: 402964}
m_Father: {fileID: 416418} m_Father: {fileID: 416418}
m_RootOrder: 1 m_RootOrder: 4
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!4 &431316 --- !u!4 &431316
Transform: Transform:
...@@ -1356,13 +1356,13 @@ MonoBehaviour: ...@@ -1356,13 +1356,13 @@ MonoBehaviour:
updateAnchors: 1 updateAnchors: 1
mColor: {r: 1, g: 1, b: 1, a: 0.40392157} mColor: {r: 1, g: 1, b: 1, a: 0.40392157}
mPivot: 0 mPivot: 0
mWidth: 300 mWidth: 266
mHeight: 24 mHeight: 24
mDepth: 21 mDepth: 21
autoResizeBoxCollider: 0 autoResizeBoxCollider: 0
hideIfOffScreen: 0 hideIfOffScreen: 0
keepAspectRatio: 0 keepAspectRatio: 0
aspectRatio: 12.5 aspectRatio: 11.083333
keepCrispWhenShrunk: 1 keepCrispWhenShrunk: 1
mTrueTypeFont: {fileID: 12800000, guid: f775853fdfd14bb47934543e95c3bae3, type: 3} mTrueTypeFont: {fileID: 12800000, guid: f775853fdfd14bb47934543e95c3bae3, type: 3}
mFont: {fileID: 0} mFont: {fileID: 0}
...@@ -2009,13 +2009,13 @@ MonoBehaviour: ...@@ -2009,13 +2009,13 @@ MonoBehaviour:
updateAnchors: 1 updateAnchors: 1
mColor: {r: 1, g: 1, b: 1, a: 1} mColor: {r: 1, g: 1, b: 1, a: 1}
mPivot: 4 mPivot: 4
mWidth: 150 mWidth: 28
mHeight: 28 mHeight: 28
mDepth: 100 mDepth: 100
autoResizeBoxCollider: 0 autoResizeBoxCollider: 0
hideIfOffScreen: 0 hideIfOffScreen: 0
keepAspectRatio: 0 keepAspectRatio: 0
aspectRatio: 5.357143 aspectRatio: 1
--- !u!114 &11435380 --- !u!114 &11435380
MonoBehaviour: MonoBehaviour:
m_ObjectHideFlags: 1 m_ObjectHideFlags: 1
...@@ -2962,49 +2962,6 @@ MonoBehaviour: ...@@ -2962,49 +2962,6 @@ MonoBehaviour:
mMaxLineHeight: 0 mMaxLineHeight: 0
mLineWidth: 0 mLineWidth: 0
mMultiline: 1 mMultiline: 1
--- !u!114 &11479808
MonoBehaviour:
m_ObjectHideFlags: 1
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 100100000}
m_GameObject: {fileID: 176992}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 57e428c9b6087304da439ec665b56a2d, type: 3}
m_Name:
m_EditorClassIdentifier:
atlas: {fileID: 11400000, guid: 62adb30369acbf943a67cee0f69267a3, type: 2}
bitmapFont: {fileID: 0}
trueTypeFont: {fileID: 12800000, guid: f775853fdfd14bb47934543e95c3bae3, type: 3}
fontSize: 28
fontStyle: 0
backgroundSprite: Button
highlightSprite: Button
position: 2
alignment: 1
items: []
padding: {x: 4, y: 4}
textColor: {r: 1, g: 1, b: 1, a: 1}
backgroundColor: {r: 0, g: 0, b: 0, a: 1}
highlightColor: {r: 1, g: 1, b: 1, a: 0.39215687}
isAnimated: 1
isLocalized: 0
separatePanel: 1
openOn: 0
onChange: []
mSelectedItem:
mPanel: {fileID: 0}
mBackground: {fileID: 0}
mHighlight: {fileID: 0}
mHighlightedLabel: {fileID: 0}
mLabelList: []
mBgBorder: 0
eventReceiver: {fileID: 0}
functionName:
textScale: 0
font: {fileID: 0}
textLabel: {fileID: 0}
source: {fileID: 0}
--- !u!114 &11479832 --- !u!114 &11479832
MonoBehaviour: MonoBehaviour:
m_ObjectHideFlags: 1 m_ObjectHideFlags: 1
...@@ -3280,7 +3237,7 @@ MonoBehaviour: ...@@ -3280,7 +3237,7 @@ MonoBehaviour:
bottomType: 1 bottomType: 1
topType: 1 topType: 1
mAtlas: {fileID: 11422656, guid: 1b5c469d95cc74b4e9f655da6f9dd392, type: 2} mAtlas: {fileID: 11422656, guid: 1b5c469d95cc74b4e9f655da6f9dd392, type: 2}
mSpriteName: arrodown mSpriteName: clear
mFillCenter: 1 mFillCenter: 1
--- !u!114 &11493036 --- !u!114 &11493036
MonoBehaviour: MonoBehaviour:
...@@ -3505,6 +3462,70 @@ GameObject: ...@@ -3505,6 +3462,70 @@ GameObject:
m_NavMeshLayer: 0 m_NavMeshLayer: 0
m_StaticEditorFlags: 0 m_StaticEditorFlags: 0
m_IsActive: 1 m_IsActive: 1
--- !u!1 &1804889566659454
GameObject:
m_ObjectHideFlags: 1
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 100100000}
serializedVersion: 5
m_Component:
- component: {fileID: 4000037649950894}
- component: {fileID: 114494096284590390}
- component: {fileID: 65845571265604664}
- component: {fileID: 114790874147471832}
- component: {fileID: 111314709224458456}
- component: {fileID: 114822931825343758}
- component: {fileID: 114819221122784520}
m_Layer: 18
m_Name: history_
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!1 &1868728055115260
GameObject:
m_ObjectHideFlags: 1
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 100100000}
serializedVersion: 5
m_Component:
- component: {fileID: 4310198895203696}
- component: {fileID: 114734094251161488}
m_Layer: 18
m_Name: Texture
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!4 &4000037649950894
Transform:
m_ObjectHideFlags: 1
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 100100000}
m_GameObject: {fileID: 1804889566659454}
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: 345, y: 0, z: 0}
m_LocalScale: {x: 1, y: 1, z: 1}
m_Children:
- {fileID: 4310198895203696}
m_Father: {fileID: 416418}
m_RootOrder: 1
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!4 &4310198895203696
Transform:
m_ObjectHideFlags: 1
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 100100000}
m_GameObject: {fileID: 1868728055115260}
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_Children: []
m_Father: {fileID: 4000037649950894}
m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!4 &4620669052562040 --- !u!4 &4620669052562040
Transform: Transform:
m_ObjectHideFlags: 1 m_ObjectHideFlags: 1
...@@ -3518,6 +3539,33 @@ Transform: ...@@ -3518,6 +3539,33 @@ Transform:
m_Father: {fileID: 472854} m_Father: {fileID: 472854}
m_RootOrder: 0 m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!65 &65845571265604664
BoxCollider:
m_ObjectHideFlags: 1
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 100100000}
m_GameObject: {fileID: 1804889566659454}
m_Material: {fileID: 0}
m_IsTrigger: 0
m_Enabled: 1
serializedVersion: 2
m_Size: {x: 28, y: 28, z: 0}
m_Center: {x: 0, y: 0, z: 0}
--- !u!111 &111314709224458456
Animation:
m_ObjectHideFlags: 1
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 100100000}
m_GameObject: {fileID: 1804889566659454}
m_Enabled: 0
serializedVersion: 3
m_Animation: {fileID: 7400000, guid: e8c465e83c3e18040884ef096f01647b, type: 2}
m_Animations:
- {fileID: 7400000, guid: e8c465e83c3e18040884ef096f01647b, type: 2}
m_WrapMode: 0
m_PlayAutomatically: 1
m_AnimatePhysics: 0
m_CullingType: 0
--- !u!114 &114157960367862120 --- !u!114 &114157960367862120
MonoBehaviour: MonoBehaviour:
m_ObjectHideFlags: 1 m_ObjectHideFlags: 1
...@@ -3584,3 +3632,183 @@ MonoBehaviour: ...@@ -3584,3 +3632,183 @@ MonoBehaviour:
mMaxLineHeight: 0 mMaxLineHeight: 0
mLineWidth: 0 mLineWidth: 0
mMultiline: 1 mMultiline: 1
--- !u!114 &114494096284590390
MonoBehaviour:
m_ObjectHideFlags: 1
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 100100000}
m_GameObject: {fileID: 1804889566659454}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 858a20c1b21a3f94bb5b2d3b901c9aaf, type: 3}
m_Name:
m_EditorClassIdentifier:
leftAnchor:
target: {fileID: 0}
relative: 0
absolute: 0
rightAnchor:
target: {fileID: 0}
relative: 1
absolute: 0
bottomAnchor:
target: {fileID: 0}
relative: 0
absolute: 0
topAnchor:
target: {fileID: 0}
relative: 1
absolute: 0
updateAnchors: 1
mColor: {r: 1, g: 1, b: 1, a: 1}
mPivot: 4
mWidth: 150
mHeight: 28
mDepth: 100
autoResizeBoxCollider: 0
hideIfOffScreen: 0
keepAspectRatio: 0
aspectRatio: 5.357143
--- !u!114 &114734094251161488
MonoBehaviour:
m_ObjectHideFlags: 1
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 100100000}
m_GameObject: {fileID: 1868728055115260}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 1b3dc54f924693f41b5cbecb267e647a, type: 3}
m_Name:
m_EditorClassIdentifier:
leftAnchor:
target: {fileID: 0}
relative: 0
absolute: 0
rightAnchor:
target: {fileID: 0}
relative: 1
absolute: 0
bottomAnchor:
target: {fileID: 0}
relative: 0
absolute: 0
topAnchor:
target: {fileID: 0}
relative: 1
absolute: 0
updateAnchors: 1
mColor: {r: 1, g: 1, b: 1, a: 1}
mPivot: 4
mWidth: 28
mHeight: 28
mDepth: 9
autoResizeBoxCollider: 0
hideIfOffScreen: 0
keepAspectRatio: 0
aspectRatio: 1
mType: 0
mFillDirection: 4
mFillAmount: 1
mInvert: 0
mFlip: 0
centerType: 1
leftType: 1
rightType: 1
bottomType: 1
topType: 1
mAtlas: {fileID: 11422656, guid: 1b5c469d95cc74b4e9f655da6f9dd392, type: 2}
mSpriteName: arrodown
mFillCenter: 1
--- !u!114 &114790874147471832
MonoBehaviour:
m_ObjectHideFlags: 1
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 100100000}
m_GameObject: {fileID: 1804889566659454}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 1fdca5042b1d12a4890ec1bd4f04290d, type: 3}
m_Name:
m_EditorClassIdentifier:
tweenTarget: {fileID: 1804889566659454}
hover: {r: 1, g: 1, b: 1, a: 1}
pressed: {r: 1, g: 1, b: 1, a: 1}
disabledColor: {r: 1, g: 1, b: 1, a: 1}
duration: 0.2
dragHighlight: 0
hoverSprite:
pressedSprite:
disabledSprite:
hoverSprite2D: {fileID: 0}
pressedSprite2D: {fileID: 0}
disabledSprite2D: {fileID: 0}
pixelSnap: 0
onClick: []
mTextureOutNormal:
mTextureOutPressed:
--- !u!114 &114819221122784520
MonoBehaviour:
m_ObjectHideFlags: 1
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 100100000}
m_GameObject: {fileID: 1804889566659454}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 57e428c9b6087304da439ec665b56a2d, type: 3}
m_Name:
m_EditorClassIdentifier:
atlas: {fileID: 11400000, guid: 62adb30369acbf943a67cee0f69267a3, type: 2}
bitmapFont: {fileID: 0}
trueTypeFont: {fileID: 12800000, guid: f775853fdfd14bb47934543e95c3bae3, type: 3}
fontSize: 28
fontStyle: 0
backgroundSprite: Button
highlightSprite: Button
position: 2
alignment: 1
items: []
padding: {x: 4, y: 4}
textColor: {r: 1, g: 1, b: 1, a: 1}
backgroundColor: {r: 0, g: 0, b: 0, a: 1}
highlightColor: {r: 1, g: 1, b: 1, a: 0.39215687}
isAnimated: 1
isLocalized: 0
separatePanel: 1
openOn: 0
onChange: []
mSelectedItem:
mPanel: {fileID: 0}
mBackground: {fileID: 0}
mHighlight: {fileID: 0}
mHighlightedLabel: {fileID: 0}
mLabelList: []
mBgBorder: 0
eventReceiver: {fileID: 0}
functionName:
textScale: 0
font: {fileID: 0}
textLabel: {fileID: 0}
source: {fileID: 0}
--- !u!114 &114822931825343758
MonoBehaviour:
m_ObjectHideFlags: 1
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 100100000}
m_GameObject: {fileID: 1804889566659454}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 3f093ad5830afe44aba6efa8b8a5d5b9, type: 3}
m_Name:
m_EditorClassIdentifier:
target: {fileID: 111314709224458456}
animator: {fileID: 0}
clipName:
trigger: 1
playDirection: 1
resetOnPlay: 0
clearSelection: 0
ifDisabledOnPlay: 0
disableWhenFinished: 0
onFinished: []
eventReceiver: {fileID: 0}
callWhenFinished:
...@@ -141,12 +141,12 @@ Transform: ...@@ -141,12 +141,12 @@ Transform:
m_PrefabInternal: {fileID: 100100000} m_PrefabInternal: {fileID: 100100000}
m_GameObject: {fileID: 169062} m_GameObject: {fileID: 169062}
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: -3, y: 45, z: 0} m_LocalPosition: {x: 0, y: 75, z: 0}
m_LocalScale: {x: 1, y: 1, z: 1} m_LocalScale: {x: 1, y: 1, z: 1}
m_Children: m_Children:
- {fileID: 433660} - {fileID: 433660}
m_Father: {fileID: 455166} m_Father: {fileID: 455166}
m_RootOrder: 3 m_RootOrder: 4
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!4 &414702 --- !u!4 &414702
Transform: Transform:
...@@ -155,7 +155,7 @@ Transform: ...@@ -155,7 +155,7 @@ Transform:
m_PrefabInternal: {fileID: 100100000} m_PrefabInternal: {fileID: 100100000}
m_GameObject: {fileID: 182122} m_GameObject: {fileID: 182122}
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: 3, y: -25, z: 0} m_LocalPosition: {x: 0, y: -60, z: 0}
m_LocalScale: {x: 1, y: 1, z: 1} m_LocalScale: {x: 1, y: 1, z: 1}
m_Children: [] m_Children: []
m_Father: {fileID: 455166} m_Father: {fileID: 455166}
...@@ -207,7 +207,7 @@ Transform: ...@@ -207,7 +207,7 @@ Transform:
m_PrefabInternal: {fileID: 100100000} m_PrefabInternal: {fileID: 100100000}
m_GameObject: {fileID: 195852} m_GameObject: {fileID: 195852}
m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} m_LocalRotation: {x: -0, y: -0, z: -0, w: 1}
m_LocalPosition: {x: -277, y: -23, 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_Children: m_Children:
- {fileID: 424418} - {fileID: 424418}
...@@ -222,7 +222,7 @@ Transform: ...@@ -222,7 +222,7 @@ Transform:
m_PrefabInternal: {fileID: 100100000} m_PrefabInternal: {fileID: 100100000}
m_GameObject: {fileID: 186888} m_GameObject: {fileID: 186888}
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: -3, y: -87, z: 0} m_LocalPosition: {x: 0, y: -105, z: 0}
m_LocalScale: {x: 1, y: 1, z: 1} m_LocalScale: {x: 1, y: 1, z: 1}
m_Children: [] m_Children: []
m_Father: {fileID: 455166} m_Father: {fileID: 455166}
...@@ -241,7 +241,9 @@ Transform: ...@@ -241,7 +241,9 @@ Transform:
- {fileID: 414702} - {fileID: 414702}
- {fileID: 425056} - {fileID: 425056}
- {fileID: 449418} - {fileID: 449418}
- {fileID: 4915580299265642}
- {fileID: 401280} - {fileID: 401280}
- {fileID: 4473934484648920}
m_Father: {fileID: 436514} m_Father: {fileID: 436514}
m_RootOrder: 1 m_RootOrder: 1
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
...@@ -255,7 +257,7 @@ BoxCollider: ...@@ -255,7 +257,7 @@ BoxCollider:
m_IsTrigger: 0 m_IsTrigger: 0
m_Enabled: 1 m_Enabled: 1
serializedVersion: 2 serializedVersion: 2
m_Size: {x: 525, y: 330, z: 0} m_Size: {x: 525, y: 360, z: 0}
m_Center: {x: 0, y: 0, z: 0} m_Center: {x: 0, y: 0, z: 0}
--- !u!65 &6577206 --- !u!65 &6577206
BoxCollider: BoxCollider:
...@@ -335,12 +337,12 @@ MonoBehaviour: ...@@ -335,12 +337,12 @@ MonoBehaviour:
mColor: {r: 1, g: 1, b: 1, a: 1} mColor: {r: 1, g: 1, b: 1, a: 1}
mPivot: 4 mPivot: 4
mWidth: 477 mWidth: 477
mHeight: 282 mHeight: 312
mDepth: -100 mDepth: -100
autoResizeBoxCollider: 0 autoResizeBoxCollider: 0
hideIfOffScreen: 0 hideIfOffScreen: 0
keepAspectRatio: 0 keepAspectRatio: 0
aspectRatio: 1.6914893 aspectRatio: 1.5288461
mType: 0 mType: 0
mFillDirection: 4 mFillDirection: 4
mFillAmount: 1 mFillAmount: 1
...@@ -403,7 +405,7 @@ MonoBehaviour: ...@@ -403,7 +405,7 @@ MonoBehaviour:
keepCrispWhenShrunk: 1 keepCrispWhenShrunk: 1
mTrueTypeFont: {fileID: 12800000, guid: f775853fdfd14bb47934543e95c3bae3, type: 3} mTrueTypeFont: {fileID: 12800000, guid: f775853fdfd14bb47934543e95c3bae3, type: 3}
mFont: {fileID: 0} mFont: {fileID: 0}
mText: "\u786E\u8BA4" mText: "\u5237\u65B0\u5934\u50CF"
mFontSize: 27 mFontSize: 27
mFontStyle: 0 mFontStyle: 0
mAlignment: 2 mAlignment: 2
...@@ -510,12 +512,12 @@ MonoBehaviour: ...@@ -510,12 +512,12 @@ MonoBehaviour:
mColor: {r: 0, g: 0, b: 0, a: 0.8627451} mColor: {r: 0, g: 0, b: 0, a: 0.8627451}
mPivot: 4 mPivot: 4
mWidth: 525 mWidth: 525
mHeight: 330 mHeight: 360
mDepth: 0 mDepth: 0
autoResizeBoxCollider: 1 autoResizeBoxCollider: 1
hideIfOffScreen: 0 hideIfOffScreen: 0
keepAspectRatio: 0 keepAspectRatio: 0
aspectRatio: 1.5909091 aspectRatio: 1.4583334
mType: 1 mType: 1
mFillDirection: 4 mFillDirection: 4
mFillAmount: 1 mFillAmount: 1
...@@ -733,7 +735,7 @@ MonoBehaviour: ...@@ -733,7 +735,7 @@ MonoBehaviour:
anchorOffset: 0 anchorOffset: 0
softBorderPadding: 1 softBorderPadding: 1
renderQueue: 0 renderQueue: 0
startingRenderQueue: 3003 startingRenderQueue: 3004
mClipTexture: {fileID: 2800000, guid: b1f30c8a0354cd94dade78759be28008, type: 3} mClipTexture: {fileID: 2800000, guid: b1f30c8a0354cd94dade78759be28008, type: 3}
mAlpha: 1 mAlpha: 1
mClipping: 1 mClipping: 1
...@@ -753,3 +755,382 @@ Prefab: ...@@ -753,3 +755,382 @@ Prefab:
m_ParentPrefab: {fileID: 0} m_ParentPrefab: {fileID: 0}
m_RootGameObject: {fileID: 195852} m_RootGameObject: {fileID: 195852}
m_IsPrefabParent: 1 m_IsPrefabParent: 1
--- !u!1 &1642922839665042
GameObject:
m_ObjectHideFlags: 1
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 100100000}
serializedVersion: 5
m_Component:
- component: {fileID: 4915580299265642}
- component: {fileID: 65634783695434124}
- component: {fileID: 114358291720897726}
- component: {fileID: 111051051454467058}
- component: {fileID: 114922062941107210}
- component: {fileID: 114504665694144644}
m_Layer: 5
m_Name: exit_
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!1 &1659176517360734
GameObject:
m_ObjectHideFlags: 1
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 100100000}
serializedVersion: 5
m_Component:
- component: {fileID: 4473934484648920}
- component: {fileID: 114190629566592836}
- component: {fileID: 65021167359904882}
- component: {fileID: 114071124676308600}
m_Layer: 5
m_Name: input_
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!1 &1720769508036278
GameObject:
m_ObjectHideFlags: 1
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 100100000}
serializedVersion: 5
m_Component:
- component: {fileID: 4895653614194050}
- component: {fileID: 114632771777790222}
m_Layer: 5
m_Name: Label
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!4 &4473934484648920
Transform:
m_ObjectHideFlags: 1
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 100100000}
m_GameObject: {fileID: 1659176517360734}
m_LocalRotation: {x: -0, y: -0, z: -0, w: 1}
m_LocalPosition: {x: 0, y: -15, z: 0}
m_LocalScale: {x: 1, y: 1, z: 1}
m_Children:
- {fileID: 4895653614194050}
m_Father: {fileID: 455166}
m_RootOrder: 5
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!4 &4895653614194050
Transform:
m_ObjectHideFlags: 1
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 100100000}
m_GameObject: {fileID: 1720769508036278}
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: -140, y: 12, z: 0}
m_LocalScale: {x: 1, y: 1, z: 1}
m_Children: []
m_Father: {fileID: 4473934484648920}
m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!4 &4915580299265642
Transform:
m_ObjectHideFlags: 1
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 100100000}
m_GameObject: {fileID: 1642922839665042}
m_LocalRotation: {x: -0, y: -0, z: -0, w: 1}
m_LocalPosition: {x: 220, y: 143, z: 0}
m_LocalScale: {x: 1, y: 1, z: 1}
m_Children: []
m_Father: {fileID: 455166}
m_RootOrder: 3
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!65 &65021167359904882
BoxCollider:
m_ObjectHideFlags: 1
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 100100000}
m_GameObject: {fileID: 1659176517360734}
m_Material: {fileID: 0}
m_IsTrigger: 1
m_Enabled: 1
serializedVersion: 2
m_Size: {x: 280, y: 40, z: 0}
m_Center: {x: 0, y: 0, z: 0}
--- !u!65 &65634783695434124
BoxCollider:
m_ObjectHideFlags: 1
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 100100000}
m_GameObject: {fileID: 1642922839665042}
m_Material: {fileID: 0}
m_IsTrigger: 0
m_Enabled: 1
serializedVersion: 2
m_Size: {x: 30, y: 30, z: 0}
m_Center: {x: 0, y: 0, z: 0}
--- !u!111 &111051051454467058
Animation:
m_ObjectHideFlags: 1
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 100100000}
m_GameObject: {fileID: 1642922839665042}
m_Enabled: 0
serializedVersion: 3
m_Animation: {fileID: 7400000, guid: e8c465e83c3e18040884ef096f01647b, type: 2}
m_Animations:
- {fileID: 7400000, guid: e8c465e83c3e18040884ef096f01647b, type: 2}
m_WrapMode: 0
m_PlayAutomatically: 1
m_AnimatePhysics: 0
m_CullingType: 0
--- !u!114 &114071124676308600
MonoBehaviour:
m_ObjectHideFlags: 1
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 100100000}
m_GameObject: {fileID: 1659176517360734}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 1b3dc54f924693f41b5cbecb267e647a, type: 3}
m_Name:
m_EditorClassIdentifier:
leftAnchor:
target: {fileID: 0}
relative: 0
absolute: 60
rightAnchor:
target: {fileID: 0}
relative: 1
absolute: -60
bottomAnchor:
target: {fileID: 0}
relative: 0
absolute: -178
topAnchor:
target: {fileID: 0}
relative: 1
absolute: -126
updateAnchors: 1
mColor: {r: 1, g: 1, b: 1, a: 1}
mPivot: 4
mWidth: 280
mHeight: 40
mDepth: 30
autoResizeBoxCollider: 1
hideIfOffScreen: 0
keepAspectRatio: 0
aspectRatio: 7
mType: 1
mFillDirection: 4
mFillAmount: 1
mInvert: 0
mFlip: 0
centerType: 1
leftType: 1
rightType: 1
bottomType: 1
topType: 1
mAtlas: {fileID: 11422656, guid: 1b5c469d95cc74b4e9f655da6f9dd392, type: 2}
mSpriteName: line
mFillCenter: 1
--- !u!114 &114190629566592836
MonoBehaviour:
m_ObjectHideFlags: 1
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 100100000}
m_GameObject: {fileID: 1659176517360734}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: ac5060295fbd39b4a88d20d0c83d925e, type: 3}
m_Name:
m_EditorClassIdentifier:
label: {fileID: 114632771777790222}
inputType: 0
onReturnKey: 0
keyboardType: 0
hideInput: 0
validation: 1
characterLimit: 0
savedAs:
selectOnTab: {fileID: 0}
activeTextColor: {r: 1, g: 1, b: 1, a: 1}
caretColor: {r: 1, g: 1, b: 1, a: 0.8}
selectionColor: {r: 0.20588237, g: 0.40851915, b: 1, a: 0.5}
onSubmit:
- mTarget: {fileID: 114190629566592836}
mMethodName: RemoveFocus
mParameters: []
oneShot: 0
onChange: []
mValue:
--- !u!114 &114358291720897726
MonoBehaviour:
m_ObjectHideFlags: 1
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 100100000}
m_GameObject: {fileID: 1642922839665042}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 1fdca5042b1d12a4890ec1bd4f04290d, type: 3}
m_Name:
m_EditorClassIdentifier:
tweenTarget: {fileID: 1642922839665042}
hover: {r: 1, g: 1, b: 1, a: 1}
pressed: {r: 1, g: 1, b: 1, a: 1}
disabledColor: {r: 1, g: 1, b: 1, a: 1}
duration: 0.2
dragHighlight: 0
hoverSprite:
pressedSprite:
disabledSprite:
hoverSprite2D: {fileID: 0}
pressedSprite2D: {fileID: 0}
disabledSprite2D: {fileID: 0}
pixelSnap: 0
onClick: []
mTextureOutNormal:
mTextureOutPressed:
--- !u!114 &114504665694144644
MonoBehaviour:
m_ObjectHideFlags: 1
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 100100000}
m_GameObject: {fileID: 1642922839665042}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 1b3dc54f924693f41b5cbecb267e647a, type: 3}
m_Name:
m_EditorClassIdentifier:
leftAnchor:
target: {fileID: 0}
relative: 1
absolute: -44
rightAnchor:
target: {fileID: 0}
relative: 1
absolute: -14
bottomAnchor:
target: {fileID: 0}
relative: 1
absolute: -52
topAnchor:
target: {fileID: 0}
relative: 1
absolute: -22
updateAnchors: 1
mColor: {r: 1, g: 1, b: 1, a: 1}
mPivot: 4
mWidth: 30
mHeight: 30
mDepth: 1
autoResizeBoxCollider: 1
hideIfOffScreen: 0
keepAspectRatio: 0
aspectRatio: 1
mType: 0
mFillDirection: 4
mFillAmount: 1
mInvert: 0
mFlip: 0
centerType: 1
leftType: 1
rightType: 1
bottomType: 1
topType: 1
mAtlas: {fileID: 11422656, guid: 1b5c469d95cc74b4e9f655da6f9dd392, type: 2}
mSpriteName: close
mFillCenter: 1
--- !u!114 &114632771777790222
MonoBehaviour:
m_ObjectHideFlags: 1
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 100100000}
m_GameObject: {fileID: 1720769508036278}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: e9d0b5f3bbe925a408bd595c79d0bf63, type: 3}
m_Name:
m_EditorClassIdentifier:
leftAnchor:
target: {fileID: 4473934484648920}
relative: 0
absolute: 0
rightAnchor:
target: {fileID: 4473934484648920}
relative: 1
absolute: 0
bottomAnchor:
target: {fileID: 4473934484648920}
relative: 0
absolute: 0
topAnchor:
target: {fileID: 4473934484648920}
relative: 1
absolute: -8
updateAnchors: 1
mColor: {r: 1, g: 1, b: 1, a: 0.40392157}
mPivot: 0
mWidth: 280
mHeight: 32
mDepth: 21
autoResizeBoxCollider: 0
hideIfOffScreen: 0
keepAspectRatio: 0
aspectRatio: 8.75
keepCrispWhenShrunk: 1
mTrueTypeFont: {fileID: 12800000, guid: f775853fdfd14bb47934543e95c3bae3, type: 3}
mFont: {fileID: 0}
mText: "\u5728\u6B64\u8F93\u5165QQ\u53F7"
mFontSize: 27
mFontStyle: 0
mAlignment: 2
mEncoding: 0
mMaxLineCount: 1
mEffectStyle: 0
mEffectColor: {r: 0, g: 0, b: 0, a: 1}
mSymbols: 1
mEffectDistance: {x: 1, y: 1}
mOverflow: 1
mMaterial: {fileID: 0}
mApplyGradient: 1
mGradientTop: {r: 1, g: 1, b: 1, a: 1}
mGradientBottom: {r: 0.7, g: 0.7, b: 0.7, a: 1}
mSpacingX: 0
mSpacingY: 0
mUseFloatSpacing: 0
mFloatSpacingX: 0
mFloatSpacingY: 0
mOverflowEllipsis: 0
mShrinkToFit: 0
mMaxLineWidth: 0
mMaxLineHeight: 0
mLineWidth: 0
mMultiline: 1
--- !u!114 &114922062941107210
MonoBehaviour:
m_ObjectHideFlags: 1
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 100100000}
m_GameObject: {fileID: 1642922839665042}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 3f093ad5830afe44aba6efa8b8a5d5b9, type: 3}
m_Name:
m_EditorClassIdentifier:
target: {fileID: 111051051454467058}
animator: {fileID: 0}
clipName:
trigger: 1
playDirection: 1
resetOnPlay: 0
clearSelection: 0
ifDisabledOnPlay: 0
disableWhenFinished: 0
onFinished: []
eventReceiver: {fileID: 0}
callWhenFinished:
...@@ -123,7 +123,7 @@ PlayerSettings: ...@@ -123,7 +123,7 @@ PlayerSettings:
16:10: 1 16:10: 1
16:9: 1 16:9: 1
Others: 1 Others: 1
bundleVersion: 2.3.0 (1.034.9) bundleVersion: 2.3.1 (1.034.9)
preloadedAssets: [] preloadedAssets: []
metroInputSource: 0 metroInputSource: 0
m_HolographicPauseOnTrackingLoss: 1 m_HolographicPauseOnTrackingLoss: 1
...@@ -148,7 +148,7 @@ PlayerSettings: ...@@ -148,7 +148,7 @@ PlayerSettings:
tvOS: cn.ygopro2.ygopro2android tvOS: cn.ygopro2.ygopro2android
buildNumber: buildNumber:
iOS: iOS:
AndroidBundleVersionCode: 15 AndroidBundleVersionCode: 16
AndroidMinSdkVersion: 16 AndroidMinSdkVersion: 16
AndroidTargetSdkVersion: 0 AndroidTargetSdkVersion: 0
AndroidPreferredInstallLocation: 0 AndroidPreferredInstallLocation: 0
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment