Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Sign in / Register
Toggle navigation
W
wdlc_mjb_unity
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
王雪伟
wdlc_mjb_unity
Commits
f9fee9a4
Commit
f9fee9a4
authored
Jul 02, 2021
by
zhangzhe
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改bug
parent
c9ad68ea
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
27 additions
and
14 deletions
+27
-14
CarPresenter.cs
Assets/Game/Main/Scripts/Presenter/CarPresenter.cs
+14
-1
packages-lock.json
Packages/packages-lock.json
+13
-13
No files found.
Assets/Game/Main/Scripts/Presenter/CarPresenter.cs
View file @
f9fee9a4
...
@@ -11,9 +11,20 @@ public class CarPresenter : CarContract.Presenter
...
@@ -11,9 +11,20 @@ public class CarPresenter : CarContract.Presenter
{
{
this
.
mView
=
mView
;
this
.
mView
=
mView
;
}
}
/// <summary>
/// 加速加载中
/// </summary>
private
bool
isLoadingSped
;
public
void
GetAcceleratorCar
(
int
landId
,
bool
isVideo
)
public
void
GetAcceleratorCar
(
int
landId
,
bool
isVideo
)
{
{
if
(
isLoadingSped
)
{
return
;
}
isLoadingSped
=
true
;
UnityEngine
.
Debug
.
Log
(
"使用加速计"
);
UnityEngine
.
Debug
.
Log
(
"使用加速计"
);
UnityEngine
.
Debug
.
unityLogger
.
Log
(
"点击加速请求之前"
+
((
DateTime
.
Now
.
ToUniversalTime
().
Ticks
-
621355968000000000
)
/
10000
).
ToString
());
UnityEngine
.
Debug
.
unityLogger
.
Log
(
"点击加速请求之前"
+
((
DateTime
.
Now
.
ToUniversalTime
().
Ticks
-
621355968000000000
)
/
10000
).
ToString
());
parm
.
Clear
();
parm
.
Clear
();
...
@@ -29,6 +40,7 @@ public class CarPresenter : CarContract.Presenter
...
@@ -29,6 +40,7 @@ public class CarPresenter : CarContract.Presenter
Guide
.
guide
.
onClickStep2
();
Guide
.
guide
.
onClickStep2
();
mView
.
CarInfo
(
bean
);
mView
.
CarInfo
(
bean
);
EventCenter
.
Broadcast
(
MyEventType
.
RefreshHomeInfo
);
EventCenter
.
Broadcast
(
MyEventType
.
RefreshHomeInfo
);
isLoadingSped
=
false
;
//bean.parkingSpaceId = landId;
//bean.parkingSpaceId = landId;
//UnityEngine.Debug.unityLogger.Log("点击加速成功" + ((DateTime.Now.ToUniversalTime().Ticks - 621355968000000000) / 10000).ToString());
//UnityEngine.Debug.unityLogger.Log("点击加速成功" + ((DateTime.Now.ToUniversalTime().Ticks - 621355968000000000) / 10000).ToString());
...
@@ -53,6 +65,7 @@ public class CarPresenter : CarContract.Presenter
...
@@ -53,6 +65,7 @@ public class CarPresenter : CarContract.Presenter
{
{
GameObject
.
Find
(
"Dialog"
).
GetComponent
<
DialogControl
>().
showDiamondDialog
();
GameObject
.
Find
(
"Dialog"
).
GetComponent
<
DialogControl
>().
showDiamondDialog
();
UnityEngine
.
Debug
.
unityLogger
.
Log
(
"加速剂不足 Error "
+
code
+
"errMsg"
+
errMsg
);
UnityEngine
.
Debug
.
unityLogger
.
Log
(
"加速剂不足 Error "
+
code
+
"errMsg"
+
errMsg
);
isLoadingSped
=
false
;
}));
}));
}
}
...
...
Packages/packages-lock.json
View file @
f9fee9a4
...
@@ -19,7 +19,7 @@
...
@@ -19,7 +19,7 @@
"dependencies"
:
{
"dependencies"
:
{
"com.unity.ugui"
:
"1.0.0"
"com.unity.ugui"
:
"1.0.0"
},
},
"url"
:
"https://packages.unity.c
n
"
"url"
:
"https://packages.unity.c
om
"
},
},
"com.unity.analytics"
:
{
"com.unity.analytics"
:
{
"version"
:
"3.3.5"
,
"version"
:
"3.3.5"
,
...
@@ -28,21 +28,21 @@
...
@@ -28,21 +28,21 @@
"dependencies"
:
{
"dependencies"
:
{
"com.unity.ugui"
:
"1.0.0"
"com.unity.ugui"
:
"1.0.0"
},
},
"url"
:
"https://packages.unity.c
n
"
"url"
:
"https://packages.unity.c
om
"
},
},
"com.unity.collab-proxy"
:
{
"com.unity.collab-proxy"
:
{
"version"
:
"1.2.16"
,
"version"
:
"1.2.16"
,
"depth"
:
0
,
"depth"
:
0
,
"source"
:
"registry"
,
"source"
:
"registry"
,
"dependencies"
:
{},
"dependencies"
:
{},
"url"
:
"https://packages.unity.c
n
"
"url"
:
"https://packages.unity.c
om
"
},
},
"com.unity.ext.nunit"
:
{
"com.unity.ext.nunit"
:
{
"version"
:
"1.0.6"
,
"version"
:
"1.0.6"
,
"depth"
:
1
,
"depth"
:
1
,
"source"
:
"registry"
,
"source"
:
"registry"
,
"dependencies"
:
{},
"dependencies"
:
{},
"url"
:
"https://packages.unity.c
n
"
"url"
:
"https://packages.unity.c
om
"
},
},
"com.unity.ide.rider"
:
{
"com.unity.ide.rider"
:
{
"version"
:
"1.1.4"
,
"version"
:
"1.1.4"
,
...
@@ -51,14 +51,14 @@
...
@@ -51,14 +51,14 @@
"dependencies"
:
{
"dependencies"
:
{
"com.unity.test-framework"
:
"1.1.1"
"com.unity.test-framework"
:
"1.1.1"
},
},
"url"
:
"https://packages.unity.c
n
"
"url"
:
"https://packages.unity.c
om
"
},
},
"com.unity.ide.vscode"
:
{
"com.unity.ide.vscode"
:
{
"version"
:
"1.2.3"
,
"version"
:
"1.2.3"
,
"depth"
:
0
,
"depth"
:
0
,
"source"
:
"registry"
,
"source"
:
"registry"
,
"dependencies"
:
{},
"dependencies"
:
{},
"url"
:
"https://packages.unity.c
n
"
"url"
:
"https://packages.unity.c
om
"
},
},
"com.unity.multiplayer-hlapi"
:
{
"com.unity.multiplayer-hlapi"
:
{
"version"
:
"1.0.8"
,
"version"
:
"1.0.8"
,
...
@@ -67,7 +67,7 @@
...
@@ -67,7 +67,7 @@
"dependencies"
:
{
"dependencies"
:
{
"nuget.mono-cecil"
:
"0.1.6-preview"
"nuget.mono-cecil"
:
"0.1.6-preview"
},
},
"url"
:
"https://packages.unity.c
n
"
"url"
:
"https://packages.unity.c
om
"
},
},
"com.unity.purchasing"
:
{
"com.unity.purchasing"
:
{
"version"
:
"2.2.1"
,
"version"
:
"2.2.1"
,
...
@@ -76,7 +76,7 @@
...
@@ -76,7 +76,7 @@
"dependencies"
:
{
"dependencies"
:
{
"com.unity.ugui"
:
"1.0.0"
"com.unity.ugui"
:
"1.0.0"
},
},
"url"
:
"https://packages.unity.c
n
"
"url"
:
"https://packages.unity.c
om
"
},
},
"com.unity.test-framework"
:
{
"com.unity.test-framework"
:
{
"version"
:
"1.1.20"
,
"version"
:
"1.1.20"
,
...
@@ -87,7 +87,7 @@
...
@@ -87,7 +87,7 @@
"com.unity.modules.imgui"
:
"1.0.0"
,
"com.unity.modules.imgui"
:
"1.0.0"
,
"com.unity.modules.jsonserialize"
:
"1.0.0"
"com.unity.modules.jsonserialize"
:
"1.0.0"
},
},
"url"
:
"https://packages.unity.c
n
"
"url"
:
"https://packages.unity.c
om
"
},
},
"com.unity.textmeshpro"
:
{
"com.unity.textmeshpro"
:
{
"version"
:
"2.1.1"
,
"version"
:
"2.1.1"
,
...
@@ -96,14 +96,14 @@
...
@@ -96,14 +96,14 @@
"dependencies"
:
{
"dependencies"
:
{
"com.unity.ugui"
:
"1.0.0"
"com.unity.ugui"
:
"1.0.0"
},
},
"url"
:
"https://packages.unity.c
n
"
"url"
:
"https://packages.unity.c
om
"
},
},
"com.unity.timeline"
:
{
"com.unity.timeline"
:
{
"version"
:
"1.2.17"
,
"version"
:
"1.2.17"
,
"depth"
:
0
,
"depth"
:
0
,
"source"
:
"registry"
,
"source"
:
"registry"
,
"dependencies"
:
{},
"dependencies"
:
{},
"url"
:
"https://packages.unity.c
n
"
"url"
:
"https://packages.unity.c
om
"
},
},
"com.unity.ugui"
:
{
"com.unity.ugui"
:
{
"version"
:
"1.0.0"
,
"version"
:
"1.0.0"
,
...
@@ -122,14 +122,14 @@
...
@@ -122,14 +122,14 @@
"com.unity.modules.vr"
:
"1.0.0"
,
"com.unity.modules.vr"
:
"1.0.0"
,
"com.unity.modules.xr"
:
"1.0.0"
"com.unity.modules.xr"
:
"1.0.0"
},
},
"url"
:
"https://packages.unity.c
n
"
"url"
:
"https://packages.unity.c
om
"
},
},
"nuget.mono-cecil"
:
{
"nuget.mono-cecil"
:
{
"version"
:
"0.1.6-preview"
,
"version"
:
"0.1.6-preview"
,
"depth"
:
1
,
"depth"
:
1
,
"source"
:
"registry"
,
"source"
:
"registry"
,
"dependencies"
:
{},
"dependencies"
:
{},
"url"
:
"https://packages.unity.c
n
"
"url"
:
"https://packages.unity.c
om
"
},
},
"com.unity.modules.ai"
:
{
"com.unity.modules.ai"
:
{
"version"
:
"1.0.0"
,
"version"
:
"1.0.0"
,
...
...
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