Commit 93be358a authored by Szefo09's avatar Szefo09 Committed by Unicorn

updates

parent 477e0a32
...@@ -345,7 +345,7 @@ Transform: ...@@ -345,7 +345,7 @@ Transform:
m_PrefabInternal: {fileID: 100100000} m_PrefabInternal: {fileID: 100100000}
m_GameObject: {fileID: 129162} m_GameObject: {fileID: 129162}
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: -65, y: 98, z: 0} m_LocalPosition: {x: -64, y: 98, z: 0}
m_LocalScale: {x: 1, y: 1, z: 1} m_LocalScale: {x: 1, y: 1, z: 1}
m_Children: m_Children:
- {fileID: 459346} - {fileID: 459346}
...@@ -587,13 +587,13 @@ MonoBehaviour: ...@@ -587,13 +587,13 @@ MonoBehaviour:
updateAnchors: 1 updateAnchors: 1
mColor: {r: 1, g: 1, b: 1, a: 0.78431374} mColor: {r: 1, g: 1, b: 1, a: 0.78431374}
mPivot: 4 mPivot: 4
mWidth: 100 mWidth: 40
mHeight: 30 mHeight: 40
mDepth: 0 mDepth: 0
autoResizeBoxCollider: 0 autoResizeBoxCollider: 0
hideIfOffScreen: 0 hideIfOffScreen: 0
keepAspectRatio: 0 keepAspectRatio: 0
aspectRatio: 3.3333333 aspectRatio: 1
mType: 0 mType: 0
mFillDirection: 4 mFillDirection: 4
mFillAmount: 1 mFillAmount: 1
...@@ -667,7 +667,7 @@ MonoBehaviour: ...@@ -667,7 +667,7 @@ MonoBehaviour:
autoResizeBoxCollider: 1 autoResizeBoxCollider: 1
hideIfOffScreen: 0 hideIfOffScreen: 0
keepAspectRatio: 0 keepAspectRatio: 0
aspectRatio: 0.116071425 aspectRatio: 0.12149533
mType: 1 mType: 1
mFillDirection: 4 mFillDirection: 4
mFillAmount: 1 mFillAmount: 1
...@@ -717,7 +717,7 @@ MonoBehaviour: ...@@ -717,7 +717,7 @@ MonoBehaviour:
anchorOffset: 0 anchorOffset: 0
softBorderPadding: 1 softBorderPadding: 1
renderQueue: 0 renderQueue: 0
startingRenderQueue: 3002 startingRenderQueue: 3005
mClipTexture: {fileID: 0} mClipTexture: {fileID: 0}
mAlpha: 1 mAlpha: 1
mClipping: 4 mClipping: 4
...@@ -891,7 +891,7 @@ MonoBehaviour: ...@@ -891,7 +891,7 @@ MonoBehaviour:
m_EditorClassIdentifier: m_EditorClassIdentifier:
label: {fileID: 11461548} label: {fileID: 11461548}
inputType: 0 inputType: 0
onReturnKey: 0 onReturnKey: 1
keyboardType: 0 keyboardType: 0
hideInput: 0 hideInput: 0
validation: 0 validation: 0
...@@ -1151,11 +1151,11 @@ MonoBehaviour: ...@@ -1151,11 +1151,11 @@ MonoBehaviour:
leftAnchor: leftAnchor:
target: {fileID: 418574} target: {fileID: 418574}
relative: 1 relative: 1
absolute: -225 absolute: -224
rightAnchor: rightAnchor:
target: {fileID: 418574} target: {fileID: 418574}
relative: 1 relative: 1
absolute: -130 absolute: -129
bottomAnchor: bottomAnchor:
target: {fileID: 418574} target: {fileID: 418574}
relative: 0 relative: 0
...@@ -1210,7 +1210,7 @@ MonoBehaviour: ...@@ -1210,7 +1210,7 @@ MonoBehaviour:
autoResizeBoxCollider: 1 autoResizeBoxCollider: 1
hideIfOffScreen: 0 hideIfOffScreen: 0
keepAspectRatio: 0 keepAspectRatio: 0
aspectRatio: 0.10204082 aspectRatio: 0.13392857
mType: 1 mType: 1
mFillDirection: 4 mFillDirection: 4
mFillAmount: 1 mFillAmount: 1
...@@ -1347,13 +1347,13 @@ MonoBehaviour: ...@@ -1347,13 +1347,13 @@ MonoBehaviour:
updateAnchors: 1 updateAnchors: 1
mColor: {r: 0.98823535, g: 0.98823535, b: 0.98823535, a: 0.78431374} mColor: {r: 0.98823535, g: 0.98823535, b: 0.98823535, a: 0.78431374}
mPivot: 4 mPivot: 4
mWidth: 100 mWidth: 45
mHeight: 30 mHeight: 45
mDepth: 0 mDepth: 0
autoResizeBoxCollider: 0 autoResizeBoxCollider: 0
hideIfOffScreen: 0 hideIfOffScreen: 0
keepAspectRatio: 0 keepAspectRatio: 0
aspectRatio: 3.3333333 aspectRatio: 1
mType: 0 mType: 0
mFillDirection: 4 mFillDirection: 4
mFillAmount: 1 mFillAmount: 1
...@@ -1412,7 +1412,7 @@ MonoBehaviour: ...@@ -1412,7 +1412,7 @@ MonoBehaviour:
anchorOffset: 0 anchorOffset: 0
softBorderPadding: 1 softBorderPadding: 1
renderQueue: 0 renderQueue: 0
startingRenderQueue: 3002 startingRenderQueue: 3005
mClipTexture: {fileID: 0} mClipTexture: {fileID: 0}
mAlpha: 1 mAlpha: 1
mClipping: 3 mClipping: 3
......
...@@ -480,11 +480,11 @@ public class Program : MonoBehaviour ...@@ -480,11 +480,11 @@ public class Program : MonoBehaviour
HttpDldFile httpDldFile = new HttpDldFile(); HttpDldFile httpDldFile = new HttpDldFile();
foreach (var dl in toDownload) foreach (var dl in toDownload)
{ {
if (Path.GetExtension(dl.name)==".cdb") if (Path.GetExtension(dl.name)== ".cdb" && !(Application.internetReachability == NetworkReachability.NotReachable))
{ {
httpDldFile.Download(dl.download_url, Path.Combine("cdb", dl.name)); httpDldFile.Download(dl.download_url, Path.Combine("cdb", dl.name));
} }
if (Path.GetExtension(dl.name) == ".conf") if (Path.GetExtension(dl.name) == ".conf" && !(Application.internetReachability == NetworkReachability.NotReachable))
{ {
httpDldFile.Download(dl.download_url, Path.Combine("config", dl.name)); httpDldFile.Download(dl.download_url, Path.Combine("config", dl.name));
} }
......
...@@ -640,7 +640,7 @@ public class DeckManager : ServantWithCardDescription ...@@ -640,7 +640,7 @@ public class DeckManager : ServantWithCardDescription
); );
print(result); print(result);
UIHelper.trySetLableText(gameObjectSearch, "title_", result.Count.ToString()); UIHelper.trySetLableText(gameObjectSearch, "title_", result.Count.ToString());
UIInput_search.isSelected = true; //UIInput_search.isSelected = true;
} }
public YGOSharp.Banlist currentBanlist = null; public YGOSharp.Banlist currentBanlist = null;
...@@ -1829,7 +1829,7 @@ public class DeckManager : ServantWithCardDescription ...@@ -1829,7 +1829,7 @@ public class DeckManager : ServantWithCardDescription
else else
{ {
UIInput_search.value = ""; UIInput_search.value = "";
UIInput_search.isSelected = true; //UIInput_search.isSelected = true;
} }
} }
} }
...@@ -48,7 +48,8 @@ public class UIselectableList : MonoBehaviour { ...@@ -48,7 +48,8 @@ public class UIselectableList : MonoBehaviour {
public void install() public void install()
{ {
uIScrollView = panel.gameObject.AddComponent<UIScrollView>(); uIScrollView = panel.gameObject.AddComponent<UIScrollView>();
uIScrollView.can_be_draged = false; uIScrollView.can_be_draged = true;
uIScrollView.iOSDragEmulation = true;
uIScrollView.movement = UIScrollView.Movement.Vertical; uIScrollView.movement = UIScrollView.Movement.Vertical;
uIScrollView.contentPivot = UIWidget.Pivot.TopLeft; uIScrollView.contentPivot = UIWidget.Pivot.TopLeft;
uIScrollView.dragEffect = UIScrollView.DragEffect.Momentum; uIScrollView.dragEffect = UIScrollView.DragEffect.Momentum;
......
This diff is collapsed.
This diff is collapsed.
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