Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Sign in / Register
Toggle navigation
T
tuseGameColor
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
shujianhe
tuseGameColor
Commits
ecc43d61
Commit
ecc43d61
authored
Jul 26, 2023
by
shujianhe
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修复自动切组false情况下无法点击和提示的问题
parent
ea85cbb4
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
48 additions
and
35 deletions
+48
-35
gameScene.unity
Assets/Scenes/gameScene.unity
+27
-27
gameInLoading.cs
Assets/scripts/Views/gameScene/gameInLoading.cs
+4
-0
gameSceneLogic.cs
Assets/scripts/Views/gameScene/gameSceneLogic.cs
+5
-1
Native.cs
Assets/scripts/Views/maingame/Native.cs
+1
-1
mainGameScaleMove.cs
Assets/scripts/common/mainGameScaleMove.cs
+2
-0
mainGameView.cs
Assets/scripts/common/mainGameView.cs
+9
-6
No files found.
Assets/Scenes/gameScene.unity
View file @
ecc43d61
...
@@ -495,27 +495,27 @@ PrefabInstance:
...
@@ -495,27 +495,27 @@ PrefabInstance:
objectReference
:
{
fileID
:
0
}
objectReference
:
{
fileID
:
0
}
-
target
:
{
fileID
:
2125809588161684614
,
guid
:
e2f00cfdb21d04b46adf17805f74f20c
,
type
:
3
}
-
target
:
{
fileID
:
2125809588161684614
,
guid
:
e2f00cfdb21d04b46adf17805f74f20c
,
type
:
3
}
propertyPath
:
m_AnchorMax.x
propertyPath
:
m_AnchorMax.x
value
:
0.5
value
:
1
objectReference
:
{
fileID
:
0
}
objectReference
:
{
fileID
:
0
}
-
target
:
{
fileID
:
2125809588161684614
,
guid
:
e2f00cfdb21d04b46adf17805f74f20c
,
type
:
3
}
-
target
:
{
fileID
:
2125809588161684614
,
guid
:
e2f00cfdb21d04b46adf17805f74f20c
,
type
:
3
}
propertyPath
:
m_AnchorMax.y
propertyPath
:
m_AnchorMax.y
value
:
0.5
value
:
1
objectReference
:
{
fileID
:
0
}
objectReference
:
{
fileID
:
0
}
-
target
:
{
fileID
:
2125809588161684614
,
guid
:
e2f00cfdb21d04b46adf17805f74f20c
,
type
:
3
}
-
target
:
{
fileID
:
2125809588161684614
,
guid
:
e2f00cfdb21d04b46adf17805f74f20c
,
type
:
3
}
propertyPath
:
m_AnchorMin.x
propertyPath
:
m_AnchorMin.x
value
:
0
.5
value
:
0
objectReference
:
{
fileID
:
0
}
objectReference
:
{
fileID
:
0
}
-
target
:
{
fileID
:
2125809588161684614
,
guid
:
e2f00cfdb21d04b46adf17805f74f20c
,
type
:
3
}
-
target
:
{
fileID
:
2125809588161684614
,
guid
:
e2f00cfdb21d04b46adf17805f74f20c
,
type
:
3
}
propertyPath
:
m_AnchorMin.y
propertyPath
:
m_AnchorMin.y
value
:
0
.5
value
:
0
objectReference
:
{
fileID
:
0
}
objectReference
:
{
fileID
:
0
}
-
target
:
{
fileID
:
2125809588161684614
,
guid
:
e2f00cfdb21d04b46adf17805f74f20c
,
type
:
3
}
-
target
:
{
fileID
:
2125809588161684614
,
guid
:
e2f00cfdb21d04b46adf17805f74f20c
,
type
:
3
}
propertyPath
:
m_SizeDelta.x
propertyPath
:
m_SizeDelta.x
value
:
120
0
value
:
0
objectReference
:
{
fileID
:
0
}
objectReference
:
{
fileID
:
0
}
-
target
:
{
fileID
:
2125809588161684614
,
guid
:
e2f00cfdb21d04b46adf17805f74f20c
,
type
:
3
}
-
target
:
{
fileID
:
2125809588161684614
,
guid
:
e2f00cfdb21d04b46adf17805f74f20c
,
type
:
3
}
propertyPath
:
m_SizeDelta.y
propertyPath
:
m_SizeDelta.y
value
:
2300
value
:
-464
objectReference
:
{
fileID
:
0
}
objectReference
:
{
fileID
:
0
}
-
target
:
{
fileID
:
2125809588161684614
,
guid
:
e2f00cfdb21d04b46adf17805f74f20c
,
type
:
3
}
-
target
:
{
fileID
:
2125809588161684614
,
guid
:
e2f00cfdb21d04b46adf17805f74f20c
,
type
:
3
}
propertyPath
:
m_AnchoredPosition.x
propertyPath
:
m_AnchoredPosition.x
...
@@ -611,27 +611,27 @@ PrefabInstance:
...
@@ -611,27 +611,27 @@ PrefabInstance:
objectReference
:
{
fileID
:
0
}
objectReference
:
{
fileID
:
0
}
-
target
:
{
fileID
:
3575847236156162491
,
guid
:
e2f00cfdb21d04b46adf17805f74f20c
,
type
:
3
}
-
target
:
{
fileID
:
3575847236156162491
,
guid
:
e2f00cfdb21d04b46adf17805f74f20c
,
type
:
3
}
propertyPath
:
m_AnchorMax.x
propertyPath
:
m_AnchorMax.x
value
:
0.5
value
:
1
objectReference
:
{
fileID
:
0
}
objectReference
:
{
fileID
:
0
}
-
target
:
{
fileID
:
3575847236156162491
,
guid
:
e2f00cfdb21d04b46adf17805f74f20c
,
type
:
3
}
-
target
:
{
fileID
:
3575847236156162491
,
guid
:
e2f00cfdb21d04b46adf17805f74f20c
,
type
:
3
}
propertyPath
:
m_AnchorMax.y
propertyPath
:
m_AnchorMax.y
value
:
0.5
value
:
1
objectReference
:
{
fileID
:
0
}
objectReference
:
{
fileID
:
0
}
-
target
:
{
fileID
:
3575847236156162491
,
guid
:
e2f00cfdb21d04b46adf17805f74f20c
,
type
:
3
}
-
target
:
{
fileID
:
3575847236156162491
,
guid
:
e2f00cfdb21d04b46adf17805f74f20c
,
type
:
3
}
propertyPath
:
m_AnchorMin.x
propertyPath
:
m_AnchorMin.x
value
:
0
.5
value
:
0
objectReference
:
{
fileID
:
0
}
objectReference
:
{
fileID
:
0
}
-
target
:
{
fileID
:
3575847236156162491
,
guid
:
e2f00cfdb21d04b46adf17805f74f20c
,
type
:
3
}
-
target
:
{
fileID
:
3575847236156162491
,
guid
:
e2f00cfdb21d04b46adf17805f74f20c
,
type
:
3
}
propertyPath
:
m_AnchorMin.y
propertyPath
:
m_AnchorMin.y
value
:
0
.5
value
:
0
objectReference
:
{
fileID
:
0
}
objectReference
:
{
fileID
:
0
}
-
target
:
{
fileID
:
3575847236156162491
,
guid
:
e2f00cfdb21d04b46adf17805f74f20c
,
type
:
3
}
-
target
:
{
fileID
:
3575847236156162491
,
guid
:
e2f00cfdb21d04b46adf17805f74f20c
,
type
:
3
}
propertyPath
:
m_SizeDelta.x
propertyPath
:
m_SizeDelta.x
value
:
120
0
value
:
0
objectReference
:
{
fileID
:
0
}
objectReference
:
{
fileID
:
0
}
-
target
:
{
fileID
:
3575847236156162491
,
guid
:
e2f00cfdb21d04b46adf17805f74f20c
,
type
:
3
}
-
target
:
{
fileID
:
3575847236156162491
,
guid
:
e2f00cfdb21d04b46adf17805f74f20c
,
type
:
3
}
propertyPath
:
m_SizeDelta.y
propertyPath
:
m_SizeDelta.y
value
:
2300
value
:
-464
objectReference
:
{
fileID
:
0
}
objectReference
:
{
fileID
:
0
}
-
target
:
{
fileID
:
3575847236156162491
,
guid
:
e2f00cfdb21d04b46adf17805f74f20c
,
type
:
3
}
-
target
:
{
fileID
:
3575847236156162491
,
guid
:
e2f00cfdb21d04b46adf17805f74f20c
,
type
:
3
}
propertyPath
:
m_AnchoredPosition.x
propertyPath
:
m_AnchoredPosition.x
...
@@ -655,27 +655,27 @@ PrefabInstance:
...
@@ -655,27 +655,27 @@ PrefabInstance:
objectReference
:
{
fileID
:
0
}
objectReference
:
{
fileID
:
0
}
-
target
:
{
fileID
:
4139363703275230209
,
guid
:
e2f00cfdb21d04b46adf17805f74f20c
,
type
:
3
}
-
target
:
{
fileID
:
4139363703275230209
,
guid
:
e2f00cfdb21d04b46adf17805f74f20c
,
type
:
3
}
propertyPath
:
m_AnchorMax.x
propertyPath
:
m_AnchorMax.x
value
:
0.5
value
:
1
objectReference
:
{
fileID
:
0
}
objectReference
:
{
fileID
:
0
}
-
target
:
{
fileID
:
4139363703275230209
,
guid
:
e2f00cfdb21d04b46adf17805f74f20c
,
type
:
3
}
-
target
:
{
fileID
:
4139363703275230209
,
guid
:
e2f00cfdb21d04b46adf17805f74f20c
,
type
:
3
}
propertyPath
:
m_AnchorMax.y
propertyPath
:
m_AnchorMax.y
value
:
0.5
value
:
1
objectReference
:
{
fileID
:
0
}
objectReference
:
{
fileID
:
0
}
-
target
:
{
fileID
:
4139363703275230209
,
guid
:
e2f00cfdb21d04b46adf17805f74f20c
,
type
:
3
}
-
target
:
{
fileID
:
4139363703275230209
,
guid
:
e2f00cfdb21d04b46adf17805f74f20c
,
type
:
3
}
propertyPath
:
m_AnchorMin.x
propertyPath
:
m_AnchorMin.x
value
:
0
.5
value
:
0
objectReference
:
{
fileID
:
0
}
objectReference
:
{
fileID
:
0
}
-
target
:
{
fileID
:
4139363703275230209
,
guid
:
e2f00cfdb21d04b46adf17805f74f20c
,
type
:
3
}
-
target
:
{
fileID
:
4139363703275230209
,
guid
:
e2f00cfdb21d04b46adf17805f74f20c
,
type
:
3
}
propertyPath
:
m_AnchorMin.y
propertyPath
:
m_AnchorMin.y
value
:
0
.5
value
:
0
objectReference
:
{
fileID
:
0
}
objectReference
:
{
fileID
:
0
}
-
target
:
{
fileID
:
4139363703275230209
,
guid
:
e2f00cfdb21d04b46adf17805f74f20c
,
type
:
3
}
-
target
:
{
fileID
:
4139363703275230209
,
guid
:
e2f00cfdb21d04b46adf17805f74f20c
,
type
:
3
}
propertyPath
:
m_SizeDelta.x
propertyPath
:
m_SizeDelta.x
value
:
120
0
value
:
0
objectReference
:
{
fileID
:
0
}
objectReference
:
{
fileID
:
0
}
-
target
:
{
fileID
:
4139363703275230209
,
guid
:
e2f00cfdb21d04b46adf17805f74f20c
,
type
:
3
}
-
target
:
{
fileID
:
4139363703275230209
,
guid
:
e2f00cfdb21d04b46adf17805f74f20c
,
type
:
3
}
propertyPath
:
m_SizeDelta.y
propertyPath
:
m_SizeDelta.y
value
:
2300
value
:
-464
objectReference
:
{
fileID
:
0
}
objectReference
:
{
fileID
:
0
}
-
target
:
{
fileID
:
4139363703275230209
,
guid
:
e2f00cfdb21d04b46adf17805f74f20c
,
type
:
3
}
-
target
:
{
fileID
:
4139363703275230209
,
guid
:
e2f00cfdb21d04b46adf17805f74f20c
,
type
:
3
}
propertyPath
:
m_AnchoredPosition.x
propertyPath
:
m_AnchoredPosition.x
...
@@ -739,27 +739,27 @@ PrefabInstance:
...
@@ -739,27 +739,27 @@ PrefabInstance:
objectReference
:
{
fileID
:
0
}
objectReference
:
{
fileID
:
0
}
-
target
:
{
fileID
:
5503889877563921631
,
guid
:
e2f00cfdb21d04b46adf17805f74f20c
,
type
:
3
}
-
target
:
{
fileID
:
5503889877563921631
,
guid
:
e2f00cfdb21d04b46adf17805f74f20c
,
type
:
3
}
propertyPath
:
m_AnchorMax.x
propertyPath
:
m_AnchorMax.x
value
:
0.5
value
:
1
objectReference
:
{
fileID
:
0
}
objectReference
:
{
fileID
:
0
}
-
target
:
{
fileID
:
5503889877563921631
,
guid
:
e2f00cfdb21d04b46adf17805f74f20c
,
type
:
3
}
-
target
:
{
fileID
:
5503889877563921631
,
guid
:
e2f00cfdb21d04b46adf17805f74f20c
,
type
:
3
}
propertyPath
:
m_AnchorMax.y
propertyPath
:
m_AnchorMax.y
value
:
0.5
value
:
1
objectReference
:
{
fileID
:
0
}
objectReference
:
{
fileID
:
0
}
-
target
:
{
fileID
:
5503889877563921631
,
guid
:
e2f00cfdb21d04b46adf17805f74f20c
,
type
:
3
}
-
target
:
{
fileID
:
5503889877563921631
,
guid
:
e2f00cfdb21d04b46adf17805f74f20c
,
type
:
3
}
propertyPath
:
m_AnchorMin.x
propertyPath
:
m_AnchorMin.x
value
:
0
.5
value
:
0
objectReference
:
{
fileID
:
0
}
objectReference
:
{
fileID
:
0
}
-
target
:
{
fileID
:
5503889877563921631
,
guid
:
e2f00cfdb21d04b46adf17805f74f20c
,
type
:
3
}
-
target
:
{
fileID
:
5503889877563921631
,
guid
:
e2f00cfdb21d04b46adf17805f74f20c
,
type
:
3
}
propertyPath
:
m_AnchorMin.y
propertyPath
:
m_AnchorMin.y
value
:
0
.5
value
:
0
objectReference
:
{
fileID
:
0
}
objectReference
:
{
fileID
:
0
}
-
target
:
{
fileID
:
5503889877563921631
,
guid
:
e2f00cfdb21d04b46adf17805f74f20c
,
type
:
3
}
-
target
:
{
fileID
:
5503889877563921631
,
guid
:
e2f00cfdb21d04b46adf17805f74f20c
,
type
:
3
}
propertyPath
:
m_SizeDelta.x
propertyPath
:
m_SizeDelta.x
value
:
120
0
value
:
0
objectReference
:
{
fileID
:
0
}
objectReference
:
{
fileID
:
0
}
-
target
:
{
fileID
:
5503889877563921631
,
guid
:
e2f00cfdb21d04b46adf17805f74f20c
,
type
:
3
}
-
target
:
{
fileID
:
5503889877563921631
,
guid
:
e2f00cfdb21d04b46adf17805f74f20c
,
type
:
3
}
propertyPath
:
m_SizeDelta.y
propertyPath
:
m_SizeDelta.y
value
:
2300
value
:
-464
objectReference
:
{
fileID
:
0
}
objectReference
:
{
fileID
:
0
}
-
target
:
{
fileID
:
5503889877563921631
,
guid
:
e2f00cfdb21d04b46adf17805f74f20c
,
type
:
3
}
-
target
:
{
fileID
:
5503889877563921631
,
guid
:
e2f00cfdb21d04b46adf17805f74f20c
,
type
:
3
}
propertyPath
:
m_AnchoredPosition.x
propertyPath
:
m_AnchoredPosition.x
...
@@ -807,7 +807,7 @@ PrefabInstance:
...
@@ -807,7 +807,7 @@ PrefabInstance:
objectReference
:
{
fileID
:
0
}
objectReference
:
{
fileID
:
0
}
-
target
:
{
fileID
:
6841462502927162422
,
guid
:
e2f00cfdb21d04b46adf17805f74f20c
,
type
:
3
}
-
target
:
{
fileID
:
6841462502927162422
,
guid
:
e2f00cfdb21d04b46adf17805f74f20c
,
type
:
3
}
propertyPath
:
m_IsActive
propertyPath
:
m_IsActive
value
:
0
value
:
1
objectReference
:
{
fileID
:
0
}
objectReference
:
{
fileID
:
0
}
-
target
:
{
fileID
:
6885165270998615511
,
guid
:
e2f00cfdb21d04b46adf17805f74f20c
,
type
:
3
}
-
target
:
{
fileID
:
6885165270998615511
,
guid
:
e2f00cfdb21d04b46adf17805f74f20c
,
type
:
3
}
propertyPath
:
m_AnchorMax.x
propertyPath
:
m_AnchorMax.x
...
@@ -879,11 +879,11 @@ PrefabInstance:
...
@@ -879,11 +879,11 @@ PrefabInstance:
objectReference
:
{
fileID
:
0
}
objectReference
:
{
fileID
:
0
}
-
target
:
{
fileID
:
8235616612504007133
,
guid
:
e2f00cfdb21d04b46adf17805f74f20c
,
type
:
3
}
-
target
:
{
fileID
:
8235616612504007133
,
guid
:
e2f00cfdb21d04b46adf17805f74f20c
,
type
:
3
}
propertyPath
:
m_AnchorMax.x
propertyPath
:
m_AnchorMax.x
value
:
1
value
:
0
objectReference
:
{
fileID
:
0
}
objectReference
:
{
fileID
:
0
}
-
target
:
{
fileID
:
8235616612504007133
,
guid
:
e2f00cfdb21d04b46adf17805f74f20c
,
type
:
3
}
-
target
:
{
fileID
:
8235616612504007133
,
guid
:
e2f00cfdb21d04b46adf17805f74f20c
,
type
:
3
}
propertyPath
:
m_AnchorMax.y
propertyPath
:
m_AnchorMax.y
value
:
1
value
:
0
objectReference
:
{
fileID
:
0
}
objectReference
:
{
fileID
:
0
}
-
target
:
{
fileID
:
8242295764275695975
,
guid
:
e2f00cfdb21d04b46adf17805f74f20c
,
type
:
3
}
-
target
:
{
fileID
:
8242295764275695975
,
guid
:
e2f00cfdb21d04b46adf17805f74f20c
,
type
:
3
}
propertyPath
:
m_IsActive
propertyPath
:
m_IsActive
...
...
Assets/scripts/Views/gameScene/gameInLoading.cs
View file @
ecc43d61
...
@@ -38,6 +38,10 @@ public class gameInLoading : MonoBehaviour,IEventHandler
...
@@ -38,6 +38,10 @@ public class gameInLoading : MonoBehaviour,IEventHandler
stepvalue1
=
0.015f
;
stepvalue1
=
0.015f
;
}
}
stepvalue
=
stepvalue1
;
stepvalue
=
stepvalue1
;
if
(
isEnd
)
{
utilsTools
.
sendEvent
(
"inGameLoadingBarEnd"
);
}
}
}
else
if
(
eventName
.
Equals
(
"initViewShowData"
))
else
if
(
eventName
.
Equals
(
"initViewShowData"
))
{
{
...
...
Assets/scripts/Views/gameScene/gameSceneLogic.cs
View file @
ecc43d61
...
@@ -224,8 +224,12 @@ public class gameSceneLogic : MonoBehaviour, IEventHandler
...
@@ -224,8 +224,12 @@ public class gameSceneLogic : MonoBehaviour, IEventHandler
RectTransform
rectTransform2
=
transform
.
Find
(
"tipSelectGroup"
).
GetComponent
<
RectTransform
>();
RectTransform
rectTransform2
=
transform
.
Find
(
"tipSelectGroup"
).
GetComponent
<
RectTransform
>();
float
y
=
(
utilsTools
.
DisplaySize
.
y
/
2
-
rectTransform1
.
rect
.
height
/
2
)
*
-
1
+
rectTransform2
.
rect
.
height
+
25
;
float
y
=
(
utilsTools
.
DisplaySize
.
y
/
2
-
rectTransform1
.
rect
.
height
/
2
)
*
-
1
+
rectTransform2
.
rect
.
height
+
25
;
rectTransform2
.
localPosition
=
new
Vector3
(
rectTransform2
.
localPosition
.
x
,
y
);
rectTransform2
.
localPosition
=
new
Vector3
(
rectTransform2
.
localPosition
.
x
,
y
);
if
(
autoSwitchGroup
==
false
)
if
(
autoSwitchGroup
==
false
)
{
rectTransform2
.
gameObject
.
SetActive
(
true
);
rectTransform2
.
gameObject
.
SetActive
(
true
);
maingameView
.
GetComponent
<
mainGameScaleMove
>().
setCheckInput
();
utilsTools
.
sendEventObjectParams
(
"inGameLoadingValue"
,
100f
,
true
);
}
}
}
private
void
onEvent_gameClickPos_Handler
(
List
<
UnityEngine
.
Object
>
uobjects
,
List
<
System
.
Object
>
objects
)
private
void
onEvent_gameClickPos_Handler
(
List
<
UnityEngine
.
Object
>
uobjects
,
List
<
System
.
Object
>
objects
)
{
{
...
...
Assets/scripts/Views/maingame/Native.cs
View file @
ecc43d61
...
@@ -61,7 +61,7 @@ public class Native : MonoBehaviour
...
@@ -61,7 +61,7 @@ public class Native : MonoBehaviour
{
{
Debug
.
Log
(
"JSON:"
+
json
);
Debug
.
Log
(
"JSON:"
+
json
);
json
=
"{\"append\":\"\",\"classId\":\"1,8,10,14\",\"displayDate\":\"20221102\",\"enterType\":\"0\",\"extraJson\":\"{\\\"cut_height\\\": 0, \\\"refer_drawer\\\": \\\"DoMyzu\\\"}\",\"extraType\":0,\"file\":\"https://d21z6ifg4bbv2v.cloudfront.net/tsgame/cc--EDgRpc_nHQru7H.zip\",\"highImg\":\"https://d21z6ifg4bbv2v.cloudfront.net/tspng/cc--EDgRpc_nHQru7H.png\",\"hybridType\":64,\"id\":\"cc--EDgRpc_nHQru7H\",\"originalJson\":\"https://d21z6ifg4bbv2v.cloudfront.net/tsjson/cc--EDgRpc_nHQru7H.json\",\"picAssets\":\"{\\\"pictureBin\\\": \\\"ccv1/production-pic/20221027/cc--EDgRpc_nHQru7H/zsD2ySwS4pJ25frj.p\\\", \\\"pictureThn4\\\": \\\"ccv1/production-pic/20221027/cc--EDgRpc_nHQru7H/V8ZvUuDlOEB7mifd.png\\\", \\\"pictureColorThn4\\\": \\\"ccv1/production-pic/20221027/cc--EDgRpc_nHQru7H/IDdMO8yT0fPPhUtU.jpg?x-oss-process\\u003dstyle/cc400\\\", \\\"pictureWallThn8\\\": \\\"ccv1/production-pic/20221027/cc--EDgRpc_nHQru7H/oWqHjCo5mQvXIVP_.png\\\", \\\"pictureWallColorThn8\\\": \\\"ccv1/production-pic/20221027/cc--EDgRpc_nHQru7H/IDdMO8yT0fPPhUtU.jpg?x-oss-process\\u003dstyle/cc800\\\"}\",\"pictureBin\":\"https://d21z6ifg4bbv2v.cloudfront.net/tsgame/cc--EDgRpc_nHQru7H_pictureBin.p\",\"pictureColorThn4\":\"https://d21z6ifg4bbv2v.cloudfront.net/tsgame/cc--EDgRpc_nHQru7H_pictureColorThn4.jpg\",\"pictureThn4\":\"https://d21z6ifg4bbv2v.cloudfront.net/tsgame/cc--EDgRpc_nHQru7H_pictureThn4.png\",\"schedule\":0,\"seriesName\":\"\",\"sid\":2967,\"sort\":80,\"type\":6}"
;
//
json = "{\"append\":\"\",\"classId\":\"1,8,10,14\",\"displayDate\":\"20221102\",\"enterType\":\"0\",\"extraJson\":\"{\\\"cut_height\\\": 0, \\\"refer_drawer\\\": \\\"DoMyzu\\\"}\",\"extraType\":0,\"file\":\"https://d21z6ifg4bbv2v.cloudfront.net/tsgame/cc--EDgRpc_nHQru7H.zip\",\"highImg\":\"https://d21z6ifg4bbv2v.cloudfront.net/tspng/cc--EDgRpc_nHQru7H.png\",\"hybridType\":64,\"id\":\"cc--EDgRpc_nHQru7H\",\"originalJson\":\"https://d21z6ifg4bbv2v.cloudfront.net/tsjson/cc--EDgRpc_nHQru7H.json\",\"picAssets\":\"{\\\"pictureBin\\\": \\\"ccv1/production-pic/20221027/cc--EDgRpc_nHQru7H/zsD2ySwS4pJ25frj.p\\\", \\\"pictureThn4\\\": \\\"ccv1/production-pic/20221027/cc--EDgRpc_nHQru7H/V8ZvUuDlOEB7mifd.png\\\", \\\"pictureColorThn4\\\": \\\"ccv1/production-pic/20221027/cc--EDgRpc_nHQru7H/IDdMO8yT0fPPhUtU.jpg?x-oss-process\\u003dstyle/cc400\\\", \\\"pictureWallThn8\\\": \\\"ccv1/production-pic/20221027/cc--EDgRpc_nHQru7H/oWqHjCo5mQvXIVP_.png\\\", \\\"pictureWallColorThn8\\\": \\\"ccv1/production-pic/20221027/cc--EDgRpc_nHQru7H/IDdMO8yT0fPPhUtU.jpg?x-oss-process\\u003dstyle/cc800\\\"}\",\"pictureBin\":\"https://d21z6ifg4bbv2v.cloudfront.net/tsgame/cc--EDgRpc_nHQru7H_pictureBin.p\",\"pictureColorThn4\":\"https://d21z6ifg4bbv2v.cloudfront.net/tsgame/cc--EDgRpc_nHQru7H_pictureColorThn4.jpg\",\"pictureThn4\":\"https://d21z6ifg4bbv2v.cloudfront.net/tsgame/cc--EDgRpc_nHQru7H_pictureThn4.png\",\"schedule\":0,\"seriesName\":\"\",\"sid\":2967,\"sort\":80,\"type\":6}";
utilsTools
.
setGDataByKey
(
"NativeGameData"
,
JsonUtility
.
FromJson
<
netLableImageItem
>(
json
));
utilsTools
.
setGDataByKey
(
"NativeGameData"
,
JsonUtility
.
FromJson
<
netLableImageItem
>(
json
));
SceneManager
.
LoadScene
(
utilsTools
.
getGameSceneName
());
SceneManager
.
LoadScene
(
utilsTools
.
getGameSceneName
());
...
...
Assets/scripts/common/mainGameScaleMove.cs
View file @
ecc43d61
using
ICSharpCode.SharpZipLib.Zip.Compression
;
using
System
;
using
System
;
using
System.Collections
;
using
System.Collections
;
using
System.Collections.Generic
;
using
System.Collections.Generic
;
...
@@ -472,6 +473,7 @@ public class mainGameScaleMove : MonoBehaviour
...
@@ -472,6 +473,7 @@ public class mainGameScaleMove : MonoBehaviour
Debug
.
Log
(
areaItem
.
ToString
());
Debug
.
Log
(
areaItem
.
ToString
());
RectTransform
idAreaRectTransform
=
transform
.
Find
(
"areaIdBase/"
+
areaItem
.
tempExKey
).
GetComponent
<
RectTransform
>();
RectTransform
idAreaRectTransform
=
transform
.
Find
(
"areaIdBase/"
+
areaItem
.
tempExKey
).
GetComponent
<
RectTransform
>();
pos
=
idAreaRectTransform
.
localPosition
*
-
1
*
nowScale
/
initScale
;
pos
=
idAreaRectTransform
.
localPosition
*
-
1
*
nowScale
/
initScale
;
for
(
int
i
=
0
;
i
<
transform
.
childCount
;
i
++)
for
(
int
i
=
0
;
i
<
transform
.
childCount
;
i
++)
{
{
var
itemChild
=
transform
.
GetChild
(
i
);
var
itemChild
=
transform
.
GetChild
(
i
);
...
...
Assets/scripts/common/mainGameView.cs
View file @
ecc43d61
...
@@ -1519,12 +1519,15 @@ public class mainGameView : MonoBehaviour
...
@@ -1519,12 +1519,15 @@ public class mainGameView : MonoBehaviour
str1
=
str1
+
item
.
Key
+
"-----"
+
item
.
Value
+
":"
+
(
end
-
begin
).
ToString
()+
"\n"
;
str1
=
str1
+
item
.
Key
+
"-----"
+
item
.
Value
+
":"
+
(
end
-
begin
).
ToString
()+
"\n"
;
}
}
Debug
.
Log
(
str1
);
Debug
.
Log
(
str1
);
transform
.
parent
.
Find
(
"debugShowTimes"
).
GetComponent
<
TextMeshProUGUI
>().
text
=
str1
;
Transform
debugShowTimes
=
transform
.
parent
.
Find
(
"debugShowTimes"
)
;
utilsTools
.
addTimer_Sec
(
gameObject
,
"sdf"
,
(
String
_
)
=>
if
(
debugShowTimes
!=
null
)
{
{
transform
.
parent
.
Find
(
"debugShowTimes"
).
gameObject
.
SetActive
(
false
);
debugShowTimes
.
GetComponent
<
TextMeshProUGUI
>().
text
=
str1
;
return
false
;
utilsTools
.
addTimer_Sec
(
gameObject
,
"sdf"
,
(
String
_
)
=>
},
5
);
{
transform
.
parent
.
Find
(
"debugShowTimes"
).
gameObject
.
SetActive
(
false
);
return
false
;
},
5
);
}
}
}
}
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment