Commit 9082662d authored by Unicorn369's avatar Unicorn369

Update

parent 8189014a
......@@ -14,7 +14,7 @@ public class LAZYsetting : MonoBehaviour {
public UIToggle showoff;
public UIToggle showoffWhenActived;
public UIToggle cloud;
public UIToggle DownloadImage;
public UIToggle autoPicDownload;
public UIToggle Vbattle;
public UIToggle Vmove;
public UIToggle Vchain;
......
......@@ -120,10 +120,10 @@ public class gameInfo : MonoBehaviour
opponent.transform.localPosition = new Vector3(Screen.width / 2-14, Screen.height / 2 - 14 - k * (float)(opponent.under.height));
}
float height = 132 + 50 * (HashedButtons.Count);
if (HashedButtons.Count==0)
float height = 198 + 50 * (HashedButtons.Count);
if (HashedButtons.Count == 0)
{
height = 116;
height = 174;
}
width = (150 * kb) + 15f;
float localPositionPanX = (((float)Screen.width - 150 * kb) / 2) - 15f;
......
......@@ -118,7 +118,7 @@ GameObject:
m_Component:
- component: {fileID: 407516}
- component: {fileID: 11495680}
m_Layer: 10
m_Layer: 18
m_Name: new_gameInfoRemaster
m_TagString: Untagged
m_Icon: {fileID: 0}
......@@ -293,7 +293,7 @@ Transform:
m_PrefabInternal: {fileID: 100100000}
m_GameObject: {fileID: 123412}
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: 18, y: -0, z: 0}
m_LocalPosition: {x: 27, y: -0, z: 0}
m_LocalScale: {x: 1, y: 1, z: 1}
m_Children: []
m_Father: {fileID: 426712}
......@@ -305,7 +305,7 @@ Transform:
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 100100000}
m_GameObject: {fileID: 139962}
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalRotation: {x: -0, y: -0, z: -0, w: 1}
m_LocalPosition: {x: 0, y: 0, z: 0}
m_LocalScale: {x: 1, y: 1, z: 1}
m_Children:
......@@ -321,7 +321,7 @@ Transform:
m_PrefabInternal: {fileID: 100100000}
m_GameObject: {fileID: 179438}
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: -65, y: 20, z: 0}
m_LocalPosition: {x: -97, y: 30, z: 0}
m_LocalScale: {x: 1, y: 1, z: 1}
m_Children:
- {fileID: 481814}
......@@ -337,7 +337,7 @@ Transform:
m_PrefabInternal: {fileID: 100100000}
m_GameObject: {fileID: 181288}
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: 39, y: 0, z: 0}
m_LocalPosition: {x: 59, y: 0, z: 0}
m_LocalScale: {x: 1, y: 1, z: 1}
m_Children: []
m_Father: {fileID: 460102}
......@@ -350,7 +350,7 @@ Transform:
m_PrefabInternal: {fileID: 100100000}
m_GameObject: {fileID: 156458}
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: 18, y: 0, z: 0}
m_LocalPosition: {x: 27, y: 0, z: 0}
m_LocalScale: {x: 0.01, y: 0.01, z: 1}
m_Children: []
m_Father: {fileID: 411346}
......@@ -363,14 +363,14 @@ Transform:
m_PrefabInternal: {fileID: 100100000}
m_GameObject: {fileID: 114238}
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: -65, y: -44, z: 0}
m_LocalPosition: {x: -97, y: -66, z: 0}
m_LocalScale: {x: 1, y: 1, z: 1}
m_Children:
- {fileID: 400434}
- {fileID: 484806}
- {fileID: 469608}
m_Father: {fileID: 498562}
m_RootOrder: 3
m_RootOrder: 2
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!4 &431100
Transform:
......@@ -379,11 +379,11 @@ Transform:
m_PrefabInternal: {fileID: 100100000}
m_GameObject: {fileID: 171338}
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: 0, y: -65, z: 0}
m_LocalPosition: {x: 0, y: -97, z: 0}
m_LocalScale: {x: 1, y: 1, z: 1}
m_Children: []
m_Father: {fileID: 498562}
m_RootOrder: 2
m_RootOrder: 3
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!4 &451638
Transform:
......@@ -392,7 +392,7 @@ Transform:
m_PrefabInternal: {fileID: 100100000}
m_GameObject: {fileID: 104552}
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: 18, y: -0, z: 0}
m_LocalPosition: {x: 27, y: -0, z: 0}
m_LocalScale: {x: 1, y: 1, z: 1}
m_Children: []
m_Father: {fileID: 460102}
......@@ -405,7 +405,7 @@ Transform:
m_PrefabInternal: {fileID: 100100000}
m_GameObject: {fileID: 190176}
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: 18, y: 0, z: 0}
m_LocalPosition: {x: 27, y: 0, z: 0}
m_LocalScale: {x: 0.01, y: 0.01, z: 1}
m_Children: []
m_Father: {fileID: 460102}
......@@ -418,7 +418,7 @@ Transform:
m_PrefabInternal: {fileID: 100100000}
m_GameObject: {fileID: 147310}
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: -65, y: -12, z: 0}
m_LocalPosition: {x: -97, y: -20, z: 0}
m_LocalScale: {x: 1, y: 1, z: 1}
m_Children:
- {fileID: 451638}
......@@ -447,7 +447,7 @@ Transform:
m_PrefabInternal: {fileID: 100100000}
m_GameObject: {fileID: 179074}
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: 39, y: 0, z: 0}
m_LocalPosition: {x: 59, y: 0, z: 0}
m_LocalScale: {x: 1, y: 1, z: 1}
m_Children: []
m_Father: {fileID: 426712}
......@@ -460,7 +460,7 @@ Transform:
m_PrefabInternal: {fileID: 100100000}
m_GameObject: {fileID: 190184}
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: 39, y: 0, z: 0}
m_LocalPosition: {x: 59, y: 0, z: 0}
m_LocalScale: {x: 1, y: 1, z: 1}
m_Children: []
m_Father: {fileID: 411346}
......@@ -473,7 +473,7 @@ Transform:
m_PrefabInternal: {fileID: 100100000}
m_GameObject: {fileID: 128410}
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: 18, y: -0, z: 0}
m_LocalPosition: {x: 27, y: -0, z: 0}
m_LocalScale: {x: 1, y: 1, z: 1}
m_Children: []
m_Father: {fileID: 411346}
......@@ -486,7 +486,7 @@ Transform:
m_PrefabInternal: {fileID: 100100000}
m_GameObject: {fileID: 178562}
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: 18, y: 0, z: 0}
m_LocalPosition: {x: 27, y: 0, z: 0}
m_LocalScale: {x: 0.01, y: 0.01, z: 1}
m_Children: []
m_Father: {fileID: 426712}
......@@ -499,13 +499,13 @@ Transform:
m_PrefabInternal: {fileID: 100100000}
m_GameObject: {fileID: 104964}
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: 0, y: 84, z: 0}
m_LocalPosition: {x: 0, y: 126, z: 0}
m_LocalScale: {x: 1, y: 1, z: 1}
m_Children:
- {fileID: 411346}
- {fileID: 460102}
- {fileID: 431100}
- {fileID: 426712}
- {fileID: 431100}
m_Father: {fileID: 407516}
m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
......@@ -519,8 +519,8 @@ BoxCollider:
m_IsTrigger: 1
m_Enabled: 1
serializedVersion: 2
m_Size: {x: 180, y: 32, z: 0}
m_Center: {x: 90, y: 0, z: 0}
m_Size: {x: 270, y: 48, z: 0}
m_Center: {x: 135, y: 0, z: 0}
--- !u!65 &6532536
BoxCollider:
m_ObjectHideFlags: 1
......@@ -531,7 +531,7 @@ BoxCollider:
m_IsTrigger: 1
m_Enabled: 1
serializedVersion: 2
m_Size: {x: 300, y: 300, z: 0}
m_Size: {x: 450, y: 450, z: 0}
m_Center: {x: 0, y: 0, z: 0}
--- !u!65 &6567354
BoxCollider:
......@@ -543,8 +543,8 @@ BoxCollider:
m_IsTrigger: 1
m_Enabled: 1
serializedVersion: 2
m_Size: {x: 180, y: 32, z: 0}
m_Center: {x: 90, y: 0, z: 0}
m_Size: {x: 270, y: 45, z: 0}
m_Center: {x: 135, y: 0, z: 0}
--- !u!65 &6583438
BoxCollider:
m_ObjectHideFlags: 1
......@@ -555,8 +555,8 @@ BoxCollider:
m_IsTrigger: 1
m_Enabled: 1
serializedVersion: 2
m_Size: {x: 180, y: 32, z: 0}
m_Center: {x: 90, y: 0, z: 0}
m_Size: {x: 270, y: 48, z: 0}
m_Center: {x: 135, y: 0, z: 0}
--- !u!111 &11101560
Animation:
m_ObjectHideFlags: 1
......@@ -629,7 +629,7 @@ MonoBehaviour:
checkSprite: {fileID: 0}
checkAnimation: {fileID: 0}
eventReceiver: {fileID: 0}
functionName: OnActivate
functionName:
startsChecked: 0
--- !u!114 &11401798
MonoBehaviour:
......@@ -672,29 +672,29 @@ MonoBehaviour:
leftAnchor:
target: {fileID: 498562}
relative: 0
absolute: 7
absolute: 11
rightAnchor:
target: {fileID: 498562}
relative: 1
absolute: 43
absolute: 65
bottomAnchor:
target: {fileID: 498562}
relative: 1
absolute: -73
absolute: -110
topAnchor:
target: {fileID: 498562}
relative: 1
absolute: -41
absolute: -65
updateAnchors: 1
mColor: {r: 1, g: 1, b: 1, a: 1}
mPivot: 3
mWidth: 180
mHeight: 32
mWidth: 270
mHeight: 45
mDepth: 6
autoResizeBoxCollider: 1
hideIfOffScreen: 0
keepAspectRatio: 0
aspectRatio: 5.625
aspectRatio: 6
--- !u!114 &11407804
MonoBehaviour:
m_ObjectHideFlags: 1
......@@ -709,7 +709,7 @@ MonoBehaviour:
leftAnchor:
target: {fileID: 460102}
relative: 0
absolute: 39
absolute: 59
rightAnchor:
target: {fileID: 460102}
relative: 1
......@@ -725,18 +725,18 @@ MonoBehaviour:
updateAnchors: 1
mColor: {r: 1, g: 1, b: 1, a: 1}
mPivot: 3
mWidth: 140
mHeight: 34
mWidth: 210
mHeight: 47
mDepth: 9
autoResizeBoxCollider: 0
hideIfOffScreen: 0
keepAspectRatio: 0
aspectRatio: 4.117647
aspectRatio: 4.4680853
keepCrispWhenShrunk: 1
mTrueTypeFont: {fileID: 12800000, guid: f775853fdfd14bb47934543e95c3bae3, type: 3}
mFont: {fileID: 0}
mText: "\u65E0\u89C6\u8FDE\u9501"
mFontSize: 20
mFontSize: 30
mFontStyle: 0
mAlignment: 1
mEncoding: 1
......@@ -802,7 +802,7 @@ MonoBehaviour:
checkSprite: {fileID: 0}
checkAnimation: {fileID: 0}
eventReceiver: {fileID: 0}
functionName: OnActivate
functionName:
startsChecked: 0
--- !u!114 &11418144
MonoBehaviour:
......@@ -863,8 +863,8 @@ MonoBehaviour:
updateAnchors: 1
mColor: {r: 1, g: 1, b: 1, a: 0.478}
mPivot: 4
mWidth: 32
mHeight: 32
mWidth: 48
mHeight: 48
mDepth: 7
autoResizeBoxCollider: 0
hideIfOffScreen: 0
......@@ -995,24 +995,24 @@ MonoBehaviour:
leftAnchor:
target: {fileID: 498562}
relative: 0
absolute: 7
absolute: 11
rightAnchor:
target: {fileID: 498562}
relative: 1
absolute: 43
absolute: 65
bottomAnchor:
target: {fileID: 498562}
relative: 1
absolute: -105
absolute: -158
topAnchor:
target: {fileID: 498562}
relative: 1
absolute: -73
absolute: -110
updateAnchors: 1
mColor: {r: 1, g: 1, b: 1, a: 1}
mPivot: 3
mWidth: 180
mHeight: 32
mWidth: 270
mHeight: 48
mDepth: 6
autoResizeBoxCollider: 1
hideIfOffScreen: 0
......@@ -1045,7 +1045,7 @@ MonoBehaviour:
checkSprite: {fileID: 0}
checkAnimation: {fileID: 0}
eventReceiver: {fileID: 0}
functionName: OnActivate
functionName:
startsChecked: 0
--- !u!114 &11431158
MonoBehaviour:
......@@ -1077,8 +1077,8 @@ MonoBehaviour:
updateAnchors: 1
mColor: {r: 1, g: 1, b: 1, a: 1}
mPivot: 4
mWidth: 300
mHeight: 300
mWidth: 450
mHeight: 450
mDepth: 0
autoResizeBoxCollider: 1
hideIfOffScreen: 0
......@@ -1088,9 +1088,9 @@ MonoBehaviour:
mTrueTypeFont: {fileID: 10102, guid: 0000000000000000e000000000000000, type: 0}
mFont: {fileID: 0}
mText:
mFontSize: 20
mFontSize: 30
mFontStyle: 0
mAlignment: 3
mAlignment: 1
mEncoding: 1
mMaxLineCount: 0
mEffectStyle: 2
......@@ -1143,8 +1143,8 @@ MonoBehaviour:
updateAnchors: 1
mColor: {r: 1, g: 1, b: 1, a: 0.4745098}
mPivot: 4
mWidth: 32
mHeight: 32
mWidth: 48
mHeight: 48
mDepth: 7
autoResizeBoxCollider: 0
hideIfOffScreen: 0
......@@ -1218,29 +1218,29 @@ MonoBehaviour:
leftAnchor:
target: {fileID: 498562}
relative: 0
absolute: 7
absolute: -37
rightAnchor:
target: {fileID: 498562}
relative: 1
absolute: -7
absolute: 37
bottomAnchor:
target: {fileID: 498562}
relative: 1
absolute: -115
absolute: -175
topAnchor:
target: {fileID: 498562}
relative: 1
absolute: -105
absolute: -155
updateAnchors: 1
mColor: {r: 1, g: 1, b: 1, a: 1}
mPivot: 4
mWidth: 130
mHeight: 10
mWidth: 290
mHeight: 20
mDepth: 0
autoResizeBoxCollider: 0
hideIfOffScreen: 0
keepAspectRatio: 0
aspectRatio: 13
aspectRatio: 14.5
mType: 0
mFillDirection: 4
mFillAmount: 1
......@@ -1361,13 +1361,13 @@ MonoBehaviour:
updateAnchors: 1
mColor: {r: 1, g: 1, b: 1, a: 0}
mPivot: 4
mWidth: 34
mHeight: 36
mWidth: 50
mHeight: 55
mDepth: 8
autoResizeBoxCollider: 0
hideIfOffScreen: 0
keepAspectRatio: 0
aspectRatio: 0.9444444
aspectRatio: 0.90909094
mType: 0
mFillDirection: 4
mFillAmount: 1
......@@ -1425,8 +1425,8 @@ MonoBehaviour:
updateAnchors: 1
mColor: {r: 1, g: 1, b: 1, a: 1}
mPivot: 4
mWidth: 144
mHeight: 90
mWidth: 216
mHeight: 135
mDepth: 0
autoResizeBoxCollider: 0
hideIfOffScreen: 0
......@@ -1484,8 +1484,8 @@ MonoBehaviour:
updateAnchors: 1
mColor: {r: 1, g: 1, b: 1, a: 0.4745098}
mPivot: 4
mWidth: 32
mHeight: 32
mWidth: 48
mHeight: 48
mDepth: 7
autoResizeBoxCollider: 0
hideIfOffScreen: 0
......@@ -1603,13 +1603,13 @@ MonoBehaviour:
updateAnchors: 1
mColor: {r: 1, g: 1, b: 1, a: 0}
mPivot: 4
mWidth: 34
mHeight: 36
mWidth: 50
mHeight: 55
mDepth: 8
autoResizeBoxCollider: 0
hideIfOffScreen: 0
keepAspectRatio: 0
aspectRatio: 0.9444444
aspectRatio: 0.90909094
mType: 0
mFillDirection: 4
mFillAmount: 1
......@@ -1637,7 +1637,7 @@ MonoBehaviour:
leftAnchor:
target: {fileID: 411346}
relative: 0
absolute: 39
absolute: 59
rightAnchor:
target: {fileID: 411346}
relative: 1
......@@ -1653,18 +1653,18 @@ MonoBehaviour:
updateAnchors: 1
mColor: {r: 1, g: 1, b: 1, a: 1}
mPivot: 3
mWidth: 140
mHeight: 34
mWidth: 210
mHeight: 50
mDepth: 9
autoResizeBoxCollider: 0
hideIfOffScreen: 0
keepAspectRatio: 0
aspectRatio: 4.117647
aspectRatio: 4.2
keepCrispWhenShrunk: 1
mTrueTypeFont: {fileID: 12800000, guid: f775853fdfd14bb47934543e95c3bae3, type: 3}
mFont: {fileID: 0}
mText: "\u5168\u90E8\u8FDE\u9501"
mFontSize: 20
mFontSize: 30
mFontStyle: 0
mAlignment: 1
mEncoding: 1
......@@ -1760,13 +1760,13 @@ MonoBehaviour:
updateAnchors: 1
mColor: {r: 1, g: 1, b: 1, a: 0}
mPivot: 4
mWidth: 34
mHeight: 36
mWidth: 50
mHeight: 55
mDepth: 8
autoResizeBoxCollider: 0
hideIfOffScreen: 0
keepAspectRatio: 0
aspectRatio: 0.9444444
aspectRatio: 0.90909094
mType: 0
mFillDirection: 4
mFillAmount: 1
......@@ -1876,7 +1876,7 @@ MonoBehaviour:
leftAnchor:
target: {fileID: 426712}
relative: 0
absolute: 39
absolute: 59
rightAnchor:
target: {fileID: 426712}
relative: 1
......@@ -1892,18 +1892,18 @@ MonoBehaviour:
updateAnchors: 1
mColor: {r: 1, g: 1, b: 1, a: 1}
mPivot: 3
mWidth: 140
mHeight: 34
mWidth: 210
mHeight: 50
mDepth: 9
autoResizeBoxCollider: 0
hideIfOffScreen: 0
keepAspectRatio: 0
aspectRatio: 4.117647
aspectRatio: 4.2
keepCrispWhenShrunk: 1
mTrueTypeFont: {fileID: 12800000, guid: f775853fdfd14bb47934543e95c3bae3, type: 3}
mFont: {fileID: 0}
mText: "\u667A\u80FD\u8FC7\u6EE4"
mFontSize: 20
mFontSize: 30
mFontStyle: 0
mAlignment: 1
mEncoding: 1
......@@ -1984,24 +1984,24 @@ MonoBehaviour:
leftAnchor:
target: {fileID: 498562}
relative: 0
absolute: 7
absolute: 11
rightAnchor:
target: {fileID: 498562}
relative: 1
absolute: 43
absolute: 65
bottomAnchor:
target: {fileID: 498562}
relative: 1
absolute: -41
absolute: -62
topAnchor:
target: {fileID: 498562}
relative: 1
absolute: -9
absolute: -14
updateAnchors: 1
mColor: {r: 1, g: 1, b: 1, a: 1}
mPivot: 3
mWidth: 180
mHeight: 32
mWidth: 270
mHeight: 48
mDepth: 6
autoResizeBoxCollider: 1
hideIfOffScreen: 0
......
......@@ -90,7 +90,7 @@ Transform:
m_PrefabInternal: {fileID: 100100000}
m_GameObject: {fileID: 153646}
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: 0, y: 0, z: 0}
m_LocalPosition: {x: 0, y: -75, z: 0}
m_LocalScale: {x: 1, y: 1, z: 1}
m_Children:
- {fileID: 464504}
......@@ -118,7 +118,7 @@ Transform:
m_PrefabInternal: {fileID: 100100000}
m_GameObject: {fileID: 175034}
m_LocalRotation: {x: -0, y: -0, z: -0, w: 1}
m_LocalPosition: {x: -4498.624, y: -3107.0017, z: 1654.8652}
m_LocalPosition: {x: 0, y: 0, z: 0}
m_LocalScale: {x: 1, y: 1, z: 1}
m_Children:
- {fileID: 432476}
......@@ -136,7 +136,7 @@ BoxCollider:
m_Enabled: 1
serializedVersion: 2
m_Size: {x: 195, y: 52, z: 0}
m_Center: {x: 0, y: 0, z: 0}
m_Center: {x: 0, y: -75, z: 0}
--- !u!111 &11143220
Animation:
m_ObjectHideFlags: 1
......
......@@ -50,7 +50,7 @@ public static class UIHelper
public static void Flash()
{
FlashWindow(GetProcessWnd(),true);
FlashWindow(GetProcessWnd(), true);
}
public enum RenderingMode
......@@ -104,7 +104,7 @@ public static class UIHelper
}
}
internal static void registEvent(UIButton btn, Action function)
internal static void registEvent(UIButton btn, Action function)
{
if (btn != null)
{
......@@ -120,9 +120,9 @@ public static class UIHelper
}
}
internal static Texture2D[] sliceField(Texture2D textureField_)
internal static Texture2D[] sliceField(Texture2D textureField_)
{
Texture2D textureField = ScaleTexture(textureField_,1024,819);
Texture2D textureField = ScaleTexture(textureField_, 1024, 819);
Texture2D[] returnValue = new Texture2D[3];
returnValue[0] = new Texture2D(textureField.width, textureField.height);
returnValue[1] = new Texture2D(textureField.width, textureField.height);
......@@ -193,7 +193,7 @@ public static class UIHelper
return ptrFileName;
}
public static T getByName<T>(GameObject father,string name) where T:Component
public static T getByName<T>(GameObject father, string name) where T : Component
{
T return_value = null;
var all = father.transform.GetComponentsInChildren<T>();
......@@ -209,7 +209,7 @@ public static class UIHelper
public static void InterGameObject(GameObject father)
{
var all = father.transform.GetComponentsInChildren<UILabel>();
var all = father.transform.GetComponentsInChildren<UILabel>();
for (int i = 0; i < all.Length; i++)
{
if ((all[i].name.Length > 1 && all[i].name[0] == '!') || all[i].name == "yes_" || all[i].name == "no_")
......@@ -217,7 +217,7 @@ public static class UIHelper
all[i].text = InterString.Get(all[i].text);
}
}
}
}
public static GameObject getByName(GameObject father, string name)
{
......@@ -245,7 +245,7 @@ public static class UIHelper
var all = father.transform.GetComponentsInChildren<UILabel>();
for (int i = 0; i < all.Length; i++)
{
if (all[i].name == name
if (all[i].name == name
||
(all[i].transform.parent != null && all[i].transform.parent.name == name)
||
......@@ -298,7 +298,7 @@ public static class UIHelper
}
else
{
Program.DEBUGLOG("NO Lable"+ name);
Program.DEBUGLOG("NO Lable" + name);
}
}
......@@ -313,12 +313,12 @@ public static class UIHelper
return "";
}
public static string[] Split(this string str,string s)
public static string[] Split(this string str, string s)
{
return str.Split(new string[] { s }, StringSplitOptions.RemoveEmptyEntries);
}
public static void registEvent(GameObject father, string name, Action<GameObject, Servant.messageSystemValue> function, Servant.messageSystemValue value,string name2="")
public static void registEvent(GameObject father, string name, Action<GameObject, Servant.messageSystemValue> function, Servant.messageSystemValue value, string name2 = "")
{
UIInput input = getByName<UIInput>(father, name);
if (input != null)
......@@ -377,7 +377,7 @@ public static class UIHelper
public static void registEvent(GameObject father, string name, Action function)
{
UISlider slider = getByName<UISlider>(father, name);
UISlider slider = getByName<UISlider>(father, name);
if (slider != null)
{
MonoDelegate d = slider.gameObject.GetComponent<MonoDelegate>();
......@@ -499,7 +499,7 @@ public static class UIHelper
internal static Vector2 get_hang_lieArry(int v, int[] hangshu)
{
Vector2 return_value = Vector2.zero;
for (int i = 0; i < 4; i++)
for (int i = 0; i < 4; i++)
{
if (v < hangshu[i])
{
......@@ -608,7 +608,7 @@ public static class UIHelper
{
gameObject.GetComponentInChildren<UILabel>().text = p;
}
catch (Exception)
catch (Exception)
{
}
}
......@@ -618,7 +618,7 @@ public static class UIHelper
registEvent(gameObject, gameObject.name, act);
}
internal static void trySetLableTextList(GameObject father,string text)
internal static void trySetLableTextList(GameObject father, string text)
{
try
{
......@@ -649,7 +649,7 @@ public static class UIHelper
internal static void clearITWeen(GameObject gameObject)
{
iTween[] iTweens = gameObject.GetComponents<iTween>();
for (int i=0;i< iTweens.Length;i++)
for (int i = 0; i < iTweens.Length; i++)
{
MonoBehaviour.DestroyImmediate(iTweens[i]);
}
......@@ -667,7 +667,7 @@ public static class UIHelper
{
return_value = left + (right - left) * (float)i / ((float)(count - 1));
}
return return_value;
return return_value;
}
internal static float get_left_right_indexZuo(float v1, float v2, int v3, int count, int v4)
......@@ -775,9 +775,9 @@ public static class UIHelper
return re;
}
}
byte[] buffer= System.Text.Encoding.UTF8.GetBytes(name);
byte[] buffer = System.Text.Encoding.UTF8.GetBytes(name);
int sum = 0;
for (int i=0;i< buffer.Length;i++)
for (int i = 0; i < buffer.Length; i++)
{
sum += buffer[i];
}
......@@ -785,7 +785,7 @@ public static class UIHelper
return Program.I().face.faces[sum];
}
public static Texture2D getTexture2D(string path)
public static Texture2D getTexture2D(string path)
{
Texture2D pic = null;
try
......@@ -812,7 +812,7 @@ public static class UIHelper
}
internal static void shiftButton(UIButton btn,bool enabled)
internal static void shiftButton(UIButton btn, bool enabled)
{
if (enabled)
{
......@@ -842,7 +842,7 @@ public static class UIHelper
//}
}
internal static void shiftUIToggle(UIToggle tog, bool canClick,bool canChange, string hint)
internal static void shiftUIToggle(UIToggle tog, bool canClick, bool canChange, string hint)
{
try
{
......@@ -853,7 +853,7 @@ public static class UIHelper
boxCollider.enabled = canClick;
if (canClick)
{
getByName<UISprite>(tog.gameObject, "Background").color= Color.white;
getByName<UISprite>(tog.gameObject, "Background").color = Color.white;
//getByName<UISprite>(tog.gameObject, "Checkmark").color = Color.white;
}
else
......@@ -870,7 +870,7 @@ public static class UIHelper
internal static string getBufferString(byte[] buffer)
{
string returnValue = "";
foreach (var item in buffer)
foreach (var item in buffer)
{
returnValue += ((int)item).ToString() + ".";
}
......@@ -886,7 +886,7 @@ public static class UIHelper
return s == "1";
}
internal static string fromBoolToString(bool s)
internal static string fromBoolToString(bool s)
{
if (s)
{
......@@ -905,7 +905,7 @@ public static class UIHelper
}
public static int CompareTime(object x, object y)
public static int CompareTime(object x, object y)
{
if (x == null && y == null)
{
......@@ -924,7 +924,7 @@ public static class UIHelper
return yInfo.LastWriteTime.CompareTo(xInfo.LastWriteTime);
}
public static int CompareName(object x, object y)
public static int CompareName(object x, object y)
{
if (x == null && y == null)
{
......@@ -943,9 +943,9 @@ public static class UIHelper
return xInfo.FullName.CompareTo(yInfo.FullName);
}
internal static void playSound(string p, float val)
internal static void playSound(string p, float val)
{
if (Ocgcore.inSkiping)
if (Ocgcore.inSkiping)
{
return;
}
......@@ -963,10 +963,10 @@ public static class UIHelper
return;
}
path = Environment.CurrentDirectory.Replace("\\", "/") + "/" + path;
path = "file:///" + path;
path = new Uri(new Uri("file:///"), path).ToString();
GameObject audio_helper = Program.I().ocgcore.create_s(Program.I().mod_audio_effect);
audio_helper.GetComponent<audio_helper>().play(path, Program.I().setting.soundValue());
Program.I().destroy(audio_helper,5f);
Program.I().destroy(audio_helper, 5f);
}
internal static string getGPSstringLocation(GPS p1)
......@@ -1068,24 +1068,24 @@ public static class UIHelper
return res;
}
internal static string getSuperName(string name,int code)
internal static string getSuperName(string name, int code)
{
string res = "";
res = "[url=" + code.ToString() + "][u]" + name + "[/u][/url]";
return res;
}
internal static string getDName(string name, int code)
internal static string getDName(string name, int code)
{
string res = "";
res = "「[url=" + code.ToString() + "][u]" + name + "[/u][/url]」";
return res;
}
internal static float getScreenDistance(GameObject a,GameObject b)
internal static float getScreenDistance(GameObject a, GameObject b)
{
Vector3 sa = Program.camera_game_main.WorldToScreenPoint(a.transform.position);sa.z = 0;
Vector3 sb = Program.camera_game_main.WorldToScreenPoint(b.transform.position);sb.z = 0;
Vector3 sa = Program.camera_game_main.WorldToScreenPoint(a.transform.position); sa.z = 0;
Vector3 sb = Program.camera_game_main.WorldToScreenPoint(b.transform.position); sb.z = 0;
return Vector3.Distance(sa, sb);
}
......
......@@ -15,7 +15,7 @@ public class GameField : OCGobject
Transform p_hole_opl = null;
Transform p_hole_mer = null;
Transform p_hole_opr = null;
public phaser Phase = null;
public phaser Phase = null;
public bool mePHole = false;
public bool opPHole = false;
......@@ -55,8 +55,8 @@ public class GameField : OCGobject
Program.I().ocgcore.sendReturn(m.get());
}
public int retOfMp = -1;
void onMP()
public int retOfMp = -1;
void onMP()
{
var m = new BinaryMaster();
m.writer.Write(retOfMp);
......@@ -244,8 +244,8 @@ public class GameField : OCGobject
public void Update()
{
delat = ((isLong ? (40f + 60f * ((1.21f - Program.fieldSize) / 0.21f)) :0f))/110f*5f;
fieldSprite_height += ((isLong ? (819f + 40f + 60f * ((1.21f-Program.fieldSize) / 0.21f)) : 819f) - fieldSprite_height) * (Program.deltaTime * 4);
delat = ((isLong ? (40f + 60f * ((1.21f - Program.fieldSize) / 0.21f)) : 0f)) / 110f * 5f;
fieldSprite_height += ((isLong ? (819f + 40f + 60f * ((1.21f - Program.fieldSize) / 0.21f)) : 819f) - fieldSprite_height) * (Program.deltaTime * 4);
midT.height = (int)fieldSprite_height;
Vector3 position = midT.gameObject.transform.localPosition;
......@@ -400,7 +400,7 @@ public class GameField : OCGobject
}
private static void relocateTextMesh(TMPro.TextMeshPro obj, uint con, game_location loc,Vector3 poi)
private static void relocateTextMesh(TMPro.TextMeshPro obj, uint con, game_location loc, Vector3 poi)
{
obj.transform.position = UIHelper.getCamGoodPosition(Program.I().ocgcore.get_point_worldposition(new GPS
{
......@@ -422,24 +422,24 @@ public class GameField : OCGobject
fieldCode[player] = code;
if (code > 0)
{
Texture2D tex;
if (File.Exists("picture/field/" + code.ToString() + ".png"))
Texture2D tex = null;
if (File.Exists("picture/field/" + code.ToString() + ".png"))
{
tex = UIHelper.getTexture2D("picture/field/" + code.ToString() + ".png");
}
else if (File.Exists("expansions/pics/field/" + code.ToString() + ".png"))
else if (File.Exists("expansions/pics/field/" + code.ToString() + ".png"))
{
tex = UIHelper.getTexture2D("expansions/pics/field/" + code.ToString() + ".png");
}
else if (File.Exists("pics/field/" + code.ToString() + ".png"))
else if (File.Exists("pics/field/" + code.ToString() + ".png"))
{
tex = UIHelper.getTexture2D("pics/field/" + code.ToString() + ".png");
}
else if (File.Exists("picture/field/" + code.ToString() + ".jpg"))
else if (File.Exists("picture/field/" + code.ToString() + ".jpg"))
{
tex = UIHelper.getTexture2D("picture/field/" + code.ToString() + ".jpg");
}
else if (File.Exists("expansions/pics/field/" + code.ToString() + ".jpg"))
else if (File.Exists("expansions/pics/field/" + code.ToString() + ".jpg"))
{
tex = UIHelper.getTexture2D("expansions/pics/field/" + code.ToString() + ".jpg");
}
......@@ -488,7 +488,7 @@ public class GameField : OCGobject
}
}
public void shiftBlackHole(bool on,Vector3 v=default(Vector3))
public void shiftBlackHole(bool on, Vector3 v = default(Vector3))
{
if (on)
{
......@@ -533,17 +533,17 @@ public class GameField : OCGobject
}
GameObject big_string;
public void animation_show_big_string(Texture2D tex,bool only=false)
public void animation_show_big_string(Texture2D tex, bool only = false)
{
if (Ocgcore.inSkiping)
if (Ocgcore.inSkiping)
{
return;
}
if (only)
if (only)
{
destroy(big_string);
}
big_string = create(Program.I().New_phase,Program.I().ocgcore.centre(),Vector3.zero,false,Program.ui_main_2d,true,new Vector3(Screen.height / 1000f* Program.fieldSize, Screen.height / 1000f * Program.fieldSize, Screen.height / 1000f * Program.fieldSize));
big_string = create(Program.I().New_phase, Program.I().ocgcore.centre(), Vector3.zero, false, Program.ui_main_2d, true, new Vector3(Screen.height / 1000f * Program.fieldSize, Screen.height / 1000f * Program.fieldSize, Screen.height / 1000f * Program.fieldSize));
big_string.GetComponentInChildren<UITexture>().mainTexture = tex;
Program.I().ocgcore.Sleep(40);
big_string.AddComponent<animation_screen_lock2>();
......@@ -642,7 +642,7 @@ public class GameField : OCGobject
{
p = gps,
position = Program.I().ocgcore.get_point_worldposition(gps)
};
field_disabled_containers.Add(container);
}
......@@ -658,7 +658,7 @@ public class GameField : OCGobject
public void realize()
{
if (Phase.colliderBp.enabled)
if (Phase.colliderBp.enabled)
{
Phase.labBp.gradientTop = Color.white;
}
......@@ -706,13 +706,13 @@ public class GameField : OCGobject
Phase.labEp.gradientTop = Color.green;
break;
}
for (int i = 0; i < field_disabled_containers.Count; i++)
for (int i = 0; i < field_disabled_containers.Count; i++)
{
if (field_disabled_containers[i].disabled)
{
if (field_disabled_containers[i].game_object == null)
{
field_disabled_containers[i].game_object = create(Program.I().mod_simple_quad, field_disabled_containers[i].position,new Vector3(90,0,0),false,null,true);
field_disabled_containers[i].game_object = create(Program.I().mod_simple_quad, field_disabled_containers[i].position, new Vector3(90, 0, 0), false, null, true);
field_disabled_containers[i].game_object.transform.localScale = Vector3.zero;
iTween.ScaleTo(field_disabled_containers[i].game_object, new Vector3(4, 4, 4), 1f);
field_disabled_containers[i].game_object.GetComponent<Renderer>().material.mainTexture = GameTextureManager.negated;
......@@ -720,7 +720,7 @@ public class GameField : OCGobject
}
else
{
destroy(field_disabled_containers[i].game_object,0.6f,true,true);
destroy(field_disabled_containers[i].game_object, 0.6f, true, true);
}
}
......
......@@ -288,15 +288,17 @@ public class Program : MonoBehaviour
#if !UNITY_EDITOR && UNITY_ANDROID
AndroidJavaObject jo = new AndroidJavaObject("cn.unicorn369.library.API");
#endif
#if UNITY_EDITOR || UNITY_STANDALONE_WIN //编译器、Windows
//Environment.CurrentDirectory = System.Windows.Forms.Application.StartupPath;
//System.IO.Directory.SetCurrentDirectory(System.Windows.Forms.Application.StartupPath);
#elif UNITY_ANDROID //Android
/*
* 部分机型Sdcard目录可能不是:/storage/emulated/0/
* 可能为:/sdcard/、/mnt/sdcard/、/storage/emulated/legacy/... 等等其他路径
* 推荐使用Java判断: Environment.getExternalStorageDirectory().toString() + path;
*/
/**
* public String GamePath(String path) {
* GAME_DIR = Environment.getExternalStorageDirectory().toString(); + path;
* return GAME_DIR;
* }
*/
ANDROID_GAME_PATH = jo.Call<string>("GamePath", "/ygopro2/");
Screen.sleepTimeout = SleepTimeout.NeverSleep;
......@@ -414,12 +416,20 @@ public class Program : MonoBehaviour
}
}
/*
* 使用Termux编译生成的:libgdiplus.so (https://github.com/Unicorn369/libgdiplus-Android)
* 经测试,只有Android 6.0以上才能正常使用。为了让Android 6.0以下的也能酬和使用立绘效果,需做判断
*/
//Java: Build.VERSION.SDK_INT >= Build.VERSION_CODES.M
/**
* 使用Termux编译生成的:libgdiplus.so (https://github.com/Unicorn369/libgdiplus-Android)
* 经测试,只有Android 6.0以上才能正常使用。为了让Android 6.0以下的也能酬和使用立绘效果,需做判断
*
* public boolean APIVersion() {
* if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.M) {
* return true;
* } else {
* return true;
* }
* }
*/
bool API_SUPPORT = jo.Call<bool>("APIVersion");
if (API_SUPPORT == true) {
ANDROID_API_M = true;
} else {
......@@ -1176,7 +1186,7 @@ public class Program : MonoBehaviour
public static bool Running = true;
public static bool MonsterCloud = false;
public static bool DownloadImage = false;
public static float fieldSize = 1;
void OnApplicationQuit()
......
......@@ -23,7 +23,7 @@ public class GameTextureManager
static Dictionary<ulong, bool> addedMap = new Dictionary<ulong, bool>();
static HttpDldFile df = new HttpDldFile();
static readonly HttpDldFile df = new HttpDldFile();
public class BitmapHelper
{
......@@ -121,7 +121,7 @@ public class GameTextureManager
public float k = 1;
//public bool autoMade = false;
public byte[] data = null;
public float[, ,] hashed_data = null;
public float[,,] hashed_data = null;
public Texture2D u_data = null;
public Texture2D nullReturen = null;
public PictureResource(GameTextureType t, long c, Texture2D n)
......@@ -190,7 +190,7 @@ public class GameTextureManager
public static Texture2D phase = null;
public static bool AutoPicDownload;
public static Texture2D rs = null;
......@@ -225,17 +225,23 @@ public class GameTextureManager
{
Debug.Log("e 0" + e.ToString());
}
if (pic.type == GameTextureType.card_feature)
{
ProcessingCardFeature(pic);
}
if (pic.type == GameTextureType.card_picture)
switch (pic.type)
{
ProcessingCardPicture(pic);
}
if (pic.type == GameTextureType.card_verticle_drawing)
{
ProcessingVerticleDrawing(pic);
case GameTextureType.card_feature:
{
ProcessingCardFeature(pic);
break;
}
case GameTextureType.card_picture:
{
ProcessingCardPicture(pic);
break;
}
case GameTextureType.card_verticle_drawing:
{
ProcessingVerticleDrawing(pic);
break;
}
}
}
}
......@@ -602,17 +608,7 @@ public class GameTextureManager
Iam8 = true;
path = "picture/cardIn8thEdition/" + pic.code.ToString() + ".jpg";
}
if (!File.Exists(path))
{
path = "texture/duel/unknown.jpg";
}
if (!File.Exists(path))
{
path = "picture/null.png";
}
pic.hashed_data = getCuttedPic(path, pic.pCard, Iam8);
softVtype(pic, 0.5f);
pic.k = 1;
LoadCloseupFromCardPicture(pic, path, Iam8);
} else {
path = "picture/null.png";
byte[] data;
......@@ -627,68 +623,107 @@ public class GameTextureManager
}
else
{
if (Program.ANDROID_API_M) {
BitmapHelper bitmap = new BitmapHelper(path);
int left;
int right;
int up;
int down;
CutTop(bitmap, out left, out right, out up, out down);
up = CutLeft(bitmap, up);
down = CutRight(bitmap, down);
right = CutButton(bitmap, right);
int width = right - left;
int height = down - up;
pic.hashed_data = new float[width, height, 4];
for (int w = 0; w < width; w++)
LoadCloseupPicture(pic, path);
}
}
catch (Exception e)
{
Debug.Log("e 3" + e.ToString());
}
}
private static void LoadCloseupFromCardPicture(PictureResource pic, string path, bool Iam8)
{
try
{
if (!File.Exists(path))
{
path = "picture/null.png";
}
if (!File.Exists(path))
{
path = "texture/duel/unknown.jpg";
}
pic.hashed_data = getCuttedPic(path, pic.pCard, Iam8);
softVtype(pic, 0.5f);
pic.k = 1;
if (!loadedList.ContainsKey(hashPic(pic.code, pic.type)))
{
loadedList.Add(hashPic(pic.code, pic.type), pic);
}
}
catch
{
}
}
private static void LoadCloseupPicture(PictureResource pic, string path)
{
try
{
if (Program.ANDROID_API_M) {
BitmapHelper bitmap = new BitmapHelper(path);
int left;
int right;
int up;
int down;
CutTop(bitmap, out left, out right, out up, out down);
up = CutLeft(bitmap, up);
down = CutRight(bitmap, down);
right = CutButton(bitmap, right);
int width = right - left;
int height = down - up;
pic.hashed_data = new float[width, height, 4];
for (int w = 0; w < width; w++)
{
for (int h = 0; h < height; h++)
{
for (int h = 0; h < height; h++)
{
System.Drawing.Color color = bitmap.GetPixel(left + w, up + h);
pic.hashed_data[w, height - h - 1, 0] = (float)color.R / 255f;
pic.hashed_data[w, height - h - 1, 1] = (float)color.G / 255f;
pic.hashed_data[w, height - h - 1, 2] = (float)color.B / 255f;
pic.hashed_data[w, height - h - 1, 3] = (float)color.A / 255f;
}
System.Drawing.Color color = bitmap.GetPixel(left + w, up + h);
pic.hashed_data[w, height - h - 1, 0] = (float)color.R / 255f;
pic.hashed_data[w, height - h - 1, 1] = (float)color.G / 255f;
pic.hashed_data[w, height - h - 1, 2] = (float)color.B / 255f;
pic.hashed_data[w, height - h - 1, 3] = (float)color.A / 255f;
}
float wholeUNalpha = 0;
for (int w = 0; w < width; w++)
}
float wholeUNalpha = 0;
for (int w = 0; w < width; w++)
{
if (pic.hashed_data[w, 0, 3] > 0.1f)
{
if (pic.hashed_data[w, 0, 3] > 0.1f)
{
wholeUNalpha += ((float)Math.Abs(w - width / 2)) / ((float)(width / 2));
}
if (pic.hashed_data[w, height - 1, 3] > 0.1f)
{
wholeUNalpha += 1;
}
wholeUNalpha += ((float)Math.Abs(w - width / 2)) / ((float)(width / 2));
}
for (int h = 0; h < height; h++)
if (pic.hashed_data[w, height - 1, 3] > 0.1f)
{
if (pic.hashed_data[0, h, 3] > 0.1f)
{
wholeUNalpha += 1;
}
if (pic.hashed_data[width - 1, h, 3] > 0.1f)
{
wholeUNalpha += 1;
}
wholeUNalpha += 1;
}
if (wholeUNalpha >= ((width + height) * 0.5f * 0.12f))
}
for (int h = 0; h < height; h++)
{
if (pic.hashed_data[0, h, 3] > 0.1f)
{
softVtype(pic, 0.7f);
wholeUNalpha += 1;
}
caculateK(pic);
} else {
byte[] data;
using (FileStream file = new FileStream(path, FileMode.Open, FileAccess.Read))
if (pic.hashed_data[width - 1, h, 3] > 0.1f)
{
file.Seek(0, SeekOrigin.Begin);
data = new byte[file.Length];
file.Read(data, 0, (int)file.Length);
wholeUNalpha += 1;
}
pic.data = data;
}
if (wholeUNalpha >= ((width + height) * 0.5f * 0.12f))
{
softVtype(pic, 0.7f);
}
caculateK(pic);
} else {
byte[] data;
using (FileStream file = new FileStream(path, FileMode.Open, FileAccess.Read))
{
file.Seek(0, SeekOrigin.Begin);
data = new byte[file.Length];
file.Read(data, 0, (int)file.Length);
}
pic.data = data;
}
if (!loadedList.ContainsKey(hashPic(pic.code, pic.type)))
......@@ -696,10 +731,11 @@ public class GameTextureManager
loadedList.Add(hashPic(pic.code, pic.type), pic);
}
}
catch (Exception e)
catch
{
Debug.Log("e 3" + e.ToString());
}
}
private static void softVtype(PictureResource pic, float si)
......@@ -773,13 +809,13 @@ public class GameTextureManager
{
path = "picture/cardIn8thEdition/" + pic.code.ToString() + ".jpg";
}
if (!File.Exists(path) && pic.code != 0 && Program.DownloadImage)
if (!File.Exists(path) && pic.code != 0 && AutoPicDownload)
{
//YGOMobile (177x254)
df.Download("http://api.ygo2019.xyz/ygopro/pics/" + pic.code.ToString() + ".jpg", "expansions/pics/" + pic.code.ToString() + ".jpg");
path = "expansions/pics/" + pic.code.ToString() + ".jpg";
}
if (!File.Exists(path) && pic.code != 0 && Program.DownloadImage)
if (!File.Exists(path) && pic.code != 0 && AutoPicDownload)
{
//先行卡 (177x254)
df.Download("http://download.ygo2019.xyz/ygopro2-data/expansions/pics/" + pic.code.ToString() + ".jpg", "picture/cardIn8thEdition/" + pic.code.ToString() + ".jpg");
......
......@@ -71,7 +71,7 @@ public class Setting : WindowServant2D
UIHelper.registEvent(setting.mouseEffect.gameObject, onchangeMouse);
UIHelper.registEvent(setting.closeUp.gameObject, onchangeCloseUp);
UIHelper.registEvent(setting.cloud.gameObject, onchangeCloud);
UIHelper.registEvent(setting.DownloadImage.gameObject, onchangeDownload);
UIHelper.registEvent(setting.autoPicDownload.gameObject, onchangeDownload);
UIHelper.registEvent(setting.Vpedium.gameObject, onCP);
UIHelper.registEvent(setting.Vfield.gameObject, onCP);
UIHelper.registEvent(setting.Vlink.gameObject, onCP);
......@@ -113,7 +113,7 @@ public class Setting : WindowServant2D
public void onchangeDownload()
{
Program.DownloadImage = setting.DownloadImage.value;
GameTextureManager.AutoPicDownload = setting.autoPicDownload.value;
}
public void onchangeMouse()
......
......@@ -28,7 +28,7 @@ public class UIselectableList : MonoBehaviour {
}
public Action selectedAction;
UIScrollView uIScrollView;
float heightOfEach=20;
float heightOfEach = 35;
public float preHeight = 0;
class selection
{
......
......@@ -615,7 +615,7 @@ Transform:
- {fileID: 456580}
- {fileID: 446170}
m_Father: {fileID: 423206}
m_RootOrder: 10
m_RootOrder: 11
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!4 &403364
Transform:
......@@ -650,7 +650,7 @@ Transform:
m_PrefabInternal: {fileID: 100100000}
m_GameObject: {fileID: 182110}
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: 245.4, y: 80, z: 0}
m_LocalPosition: {x: 220, y: 80, z: 0}
m_LocalScale: {x: 1, y: 1, z: 1}
m_Children:
- {fileID: 485952}
......@@ -678,13 +678,13 @@ Transform:
m_PrefabInternal: {fileID: 100100000}
m_GameObject: {fileID: 180038}
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: 245.4, y: -160, z: 0}
m_LocalPosition: {x: 220, y: -160, z: 0}
m_LocalScale: {x: 1, y: 1, z: 1}
m_Children:
- {fileID: 422874}
- {fileID: 432856}
m_Father: {fileID: 423206}
m_RootOrder: 8
m_RootOrder: 9
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!4 &417630
Transform:
......@@ -706,7 +706,7 @@ Transform:
m_PrefabInternal: {fileID: 100100000}
m_GameObject: {fileID: 196772}
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: 245.4, y: 20, z: 0}
m_LocalPosition: {x: 220, y: 20, z: 0}
m_LocalScale: {x: 1, y: 1, z: 1}
m_Children:
- {fileID: 436002}
......@@ -757,11 +757,11 @@ Transform:
- {fileID: 453306}
- {fileID: 405476}
- {fileID: 418090}
- {fileID: 437282}
- {fileID: 445328}
- {fileID: 416944}
- {fileID: 454088}
- {fileID: 402370}
- {fileID: 437282}
m_Father: {fileID: 460406}
m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
......@@ -785,7 +785,7 @@ Transform:
m_PrefabInternal: {fileID: 100100000}
m_GameObject: {fileID: 135414}
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: 245.4, y: 200, z: 0}
m_LocalPosition: {x: 220, y: 200, z: 0}
m_LocalScale: {x: 1, y: 1, z: 1}
m_Children:
- {fileID: 417630}
......@@ -826,13 +826,13 @@ Transform:
m_PrefabInternal: {fileID: 100100000}
m_GameObject: {fileID: 154106}
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: 245.4, y: -40, z: 0}
m_LocalPosition: {x: 220, y: -40, z: 0}
m_LocalScale: {x: 1, y: 1, z: 1}
m_Children:
- {fileID: 489160}
- {fileID: 428360}
m_Father: {fileID: 423206}
m_RootOrder: 11
m_RootOrder: 7
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!4 &439698
Transform:
......@@ -880,13 +880,13 @@ Transform:
m_PrefabInternal: {fileID: 100100000}
m_GameObject: {fileID: 197966}
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: 245.4, y: -100, z: 0}
m_LocalPosition: {x: 220, y: -100, z: 0}
m_LocalScale: {x: 1, y: 1, z: 1}
m_Children:
- {fileID: 404116}
- {fileID: 491368}
m_Father: {fileID: 423206}
m_RootOrder: 7
m_RootOrder: 8
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!4 &446170
Transform:
......@@ -908,7 +908,7 @@ Transform:
m_PrefabInternal: {fileID: 100100000}
m_GameObject: {fileID: 160632}
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: 245.4, y: 140, z: 0}
m_LocalPosition: {x: 220, y: 140, z: 0}
m_LocalScale: {x: 1, y: 1, z: 1}
m_Children:
- {fileID: 488988}
......@@ -923,13 +923,13 @@ Transform:
m_PrefabInternal: {fileID: 100100000}
m_GameObject: {fileID: 127402}
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: 245.4, y: -220, z: 0}
m_LocalPosition: {x: 220, y: -220, z: 0}
m_LocalScale: {x: 1, y: 1, z: 1}
m_Children:
- {fileID: 444490}
- {fileID: 406996}
m_Father: {fileID: 423206}
m_RootOrder: 9
m_RootOrder: 10
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!4 &456580
Transform:
......@@ -966,7 +966,7 @@ Transform:
m_PrefabInternal: {fileID: 100100000}
m_GameObject: {fileID: 197804}
m_LocalRotation: {x: -0, y: -0, z: -0, w: 1}
m_LocalPosition: {x: -3546, y: -1242, z: 0}
m_LocalPosition: {x: 0, y: 0, z: 0}
m_LocalScale: {x: 1, y: 1, z: 1}
m_Children:
- {fileID: 484960}
......@@ -1125,7 +1125,7 @@ BoxCollider:
m_IsTrigger: 0
m_Enabled: 1
serializedVersion: 2
m_Size: {x: 132, y: 32, z: 0}
m_Size: {x: 150, y: 40, z: 0}
m_Center: {x: 0, y: 0, z: 0}
--- !u!65 &6541832
BoxCollider:
......@@ -1137,7 +1137,7 @@ BoxCollider:
m_IsTrigger: 0
m_Enabled: 1
serializedVersion: 2
m_Size: {x: 132, y: 32, z: 0}
m_Size: {x: 150, y: 40, z: 0}
m_Center: {x: 0, y: 0, z: 0}
--- !u!65 &6542312
BoxCollider:
......@@ -1149,7 +1149,7 @@ BoxCollider:
m_IsTrigger: 0
m_Enabled: 1
serializedVersion: 2
m_Size: {x: 132, y: 32, z: 0}
m_Size: {x: 150, y: 40, z: 0}
m_Center: {x: 0, y: 0, z: 0}
--- !u!65 &6553708
BoxCollider:
......@@ -1161,7 +1161,7 @@ BoxCollider:
m_IsTrigger: 0
m_Enabled: 1
serializedVersion: 2
m_Size: {x: 132, y: 32, z: 0}
m_Size: {x: 150, y: 40, z: 0}
m_Center: {x: 0, y: 0, z: 0}
--- !u!65 &6558604
BoxCollider:
......@@ -1173,7 +1173,7 @@ BoxCollider:
m_IsTrigger: 0
m_Enabled: 1
serializedVersion: 2
m_Size: {x: 132, y: 32, z: 0}
m_Size: {x: 150, y: 40, z: 0}
m_Center: {x: 0, y: 0, z: 0}
--- !u!65 &6569384
BoxCollider:
......@@ -1185,7 +1185,7 @@ BoxCollider:
m_IsTrigger: 0
m_Enabled: 1
serializedVersion: 2
m_Size: {x: 132, y: 32, z: 0}
m_Size: {x: 150, y: 40, z: 0}
m_Center: {x: 0, y: 0, z: 0}
--- !u!65 &6573946
BoxCollider:
......@@ -1221,7 +1221,7 @@ BoxCollider:
m_IsTrigger: 0
m_Enabled: 1
serializedVersion: 2
m_Size: {x: 132, y: 32, z: 0}
m_Size: {x: 150, y: 40, z: 0}
m_Center: {x: 0, y: 0, z: 0}
--- !u!65 &6598738
BoxCollider:
......@@ -1233,7 +1233,7 @@ BoxCollider:
m_IsTrigger: 0
m_Enabled: 1
serializedVersion: 2
m_Size: {x: 132, y: 32, z: 0}
m_Size: {x: 150, y: 40, z: 0}
m_Center: {x: 0, y: 0, z: 0}
--- !u!111 &11126402
Animation:
......@@ -1648,13 +1648,13 @@ MonoBehaviour:
updateAnchors: 1
mColor: {r: 1, g: 1, b: 1, a: 1}
mPivot: 4
mWidth: 132
mHeight: 32
mWidth: 150
mHeight: 40
mDepth: 8
autoResizeBoxCollider: 1
hideIfOffScreen: 0
keepAspectRatio: 0
aspectRatio: 4.125
aspectRatio: 3.75
--- !u!114 &11412066
MonoBehaviour:
m_ObjectHideFlags: 1
......@@ -1685,13 +1685,13 @@ MonoBehaviour:
updateAnchors: 1
mColor: {r: 1, g: 1, b: 1, a: 1}
mPivot: 4
mWidth: 132
mHeight: 32
mWidth: 150
mHeight: 40
mDepth: 8
autoResizeBoxCollider: 1
hideIfOffScreen: 0
keepAspectRatio: 0
aspectRatio: 4.125
aspectRatio: 3.75
--- !u!114 &11414274
MonoBehaviour:
m_ObjectHideFlags: 1
......@@ -1845,13 +1845,13 @@ MonoBehaviour:
updateAnchors: 1
mColor: {r: 1, g: 1, b: 1, a: 1}
mPivot: 4
mWidth: 132
mHeight: 32
mWidth: 150
mHeight: 40
mDepth: 8
autoResizeBoxCollider: 1
hideIfOffScreen: 0
keepAspectRatio: 0
aspectRatio: 4.125
aspectRatio: 3.75
--- !u!114 &11425802
MonoBehaviour:
m_ObjectHideFlags: 1
......@@ -2032,13 +2032,13 @@ MonoBehaviour:
updateAnchors: 1
mColor: {r: 1, g: 1, b: 1, a: 1}
mPivot: 4
mWidth: 132
mHeight: 32
mWidth: 150
mHeight: 40
mDepth: 8
autoResizeBoxCollider: 1
hideIfOffScreen: 0
keepAspectRatio: 0
aspectRatio: 4.125
aspectRatio: 3.75
--- !u!114 &11433254
MonoBehaviour:
m_ObjectHideFlags: 1
......@@ -2332,7 +2332,7 @@ MonoBehaviour:
anchorOffset: 0
softBorderPadding: 1
renderQueue: 0
startingRenderQueue: 3007
startingRenderQueue: 3001
mClipTexture: {fileID: 0}
mAlpha: 1
mClipping: 3
......@@ -2569,13 +2569,13 @@ MonoBehaviour:
updateAnchors: 1
mColor: {r: 1, g: 1, b: 1, a: 1}
mPivot: 4
mWidth: 132
mHeight: 32
mWidth: 150
mHeight: 40
mDepth: 8
autoResizeBoxCollider: 1
hideIfOffScreen: 0
keepAspectRatio: 0
aspectRatio: 4.125
aspectRatio: 3.75
--- !u!114 &11454002
MonoBehaviour:
m_ObjectHideFlags: 1
......@@ -2942,13 +2942,13 @@ MonoBehaviour:
updateAnchors: 1
mColor: {r: 1, g: 1, b: 1, a: 1}
mPivot: 4
mWidth: 132
mHeight: 32
mWidth: 150
mHeight: 40
mDepth: 8
autoResizeBoxCollider: 1
hideIfOffScreen: 0
keepAspectRatio: 0
aspectRatio: 4.125
aspectRatio: 3.75
--- !u!114 &11474850
MonoBehaviour:
m_ObjectHideFlags: 1
......@@ -3201,11 +3201,11 @@ MonoBehaviour:
anchorOffset: 0
softBorderPadding: 1
renderQueue: 0
startingRenderQueue: 3012
startingRenderQueue: 3006
mClipTexture: {fileID: 0}
mAlpha: 1
mClipping: 3
mClipRange: {x: 0, y: 0.000030517578, z: 436, w: 500.00006}
mClipRange: {x: 0, y: 0, z: 436, w: 500}
mClipSoftness: {x: 0, y: 0}
mDepth: 20
mSortingOrder: 0
......@@ -3313,13 +3313,13 @@ MonoBehaviour:
updateAnchors: 1
mColor: {r: 1, g: 1, b: 1, a: 1}
mPivot: 4
mWidth: 132
mHeight: 32
mWidth: 150
mHeight: 40
mDepth: 8
autoResizeBoxCollider: 1
hideIfOffScreen: 0
keepAspectRatio: 0
aspectRatio: 4.125
aspectRatio: 3.75
--- !u!114 &11486110
MonoBehaviour:
m_ObjectHideFlags: 1
......@@ -3612,13 +3612,13 @@ MonoBehaviour:
updateAnchors: 1
mColor: {r: 1, g: 1, b: 1, a: 1}
mPivot: 4
mWidth: 132
mHeight: 32
mWidth: 150
mHeight: 40
mDepth: 8
autoResizeBoxCollider: 1
hideIfOffScreen: 0
keepAspectRatio: 0
aspectRatio: 4.125
aspectRatio: 3.75
--- !u!114 &11498008
MonoBehaviour:
m_ObjectHideFlags: 1
......
......@@ -9,7 +9,7 @@ GameObject:
m_Component:
- component: {fileID: 493318}
- component: {fileID: 11412316}
m_Layer: 18
m_Layer: 5
m_Name: trans_selection
m_TagString: Untagged
m_Icon: {fileID: 0}
......@@ -25,7 +25,7 @@ GameObject:
m_Component:
- component: {fileID: 449942}
- component: {fileID: 11487194}
m_Layer: 18
m_Layer: 5
m_Name: selected
m_TagString: Untagged
m_Icon: {fileID: 0}
......@@ -87,7 +87,7 @@ Transform:
m_PrefabInternal: {fileID: 100100000}
m_GameObject: {fileID: 120608}
m_LocalRotation: {x: -0, y: -0, z: -0, w: 1}
m_LocalPosition: {x: -994, y: -164, z: 0}
m_LocalPosition: {x: 0, y: 0, z: 0}
m_LocalScale: {x: 1, y: 1, z: 1}
m_Children:
- {fileID: 439174}
......@@ -104,7 +104,7 @@ BoxCollider:
m_IsTrigger: 1
m_Enabled: 1
serializedVersion: 2
m_Size: {x: 200, y: 22, z: 0}
m_Size: {x: 200, y: 33, z: 0}
m_Center: {x: 0, y: 0, z: 0}
--- !u!111 &11148596
Animation:
......@@ -204,17 +204,17 @@ MonoBehaviour:
mColor: {r: 1, g: 1, b: 1, a: 1}
mPivot: 4
mWidth: 200
mHeight: 22
mHeight: 33
mDepth: 25
autoResizeBoxCollider: 1
hideIfOffScreen: 0
keepAspectRatio: 0
aspectRatio: 9.090909
aspectRatio: 6.060606
keepCrispWhenShrunk: 1
mTrueTypeFont: {fileID: 12800000, guid: f775853fdfd14bb47934543e95c3bae3, type: 3}
mFont: {fileID: 0}
mText: "\u8FD9\u662F\u4E00\u4E2A\u5361\u7EC4"
mFontSize: 25
mFontSize: 38
mFontStyle: 0
mAlignment: 1
mEncoding: 1
......
......@@ -9986,7 +9986,7 @@ MonoBehaviour:
showoff: {fileID: 11470560}
showoffWhenActived: {fileID: 11452754}
cloud: {fileID: 114247332317060808}
DownloadImage: {fileID: 114654519243977964}
autoPicDownload: {fileID: 114654519243977964}
Vbattle: {fileID: 11435302}
Vmove: {fileID: 11428410}
Vchain: {fileID: 11427298}
......@@ -18216,7 +18216,7 @@ GameObject:
- component: {fileID: 114462178772296572}
- component: {fileID: 114658492503328412}
m_Layer: 5
m_Name: '*DownloadImage'
m_Name: '*AutoPicDownload'
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 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