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
51969cfa
Commit
51969cfa
authored
Jul 22, 2021
by
zhangzhe
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改bug
parent
4e9af82b
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
HarvestItem.cs
Assets/Game/Main/Scripts/Item/HarvestItem.cs
+1
-1
PlantMakeMoneyItem.cs
Assets/Game/Main/Scripts/Item/PlantMakeMoneyItem.cs
+1
-1
No files found.
Assets/Game/Main/Scripts/Item/HarvestItem.cs
View file @
51969cfa
...
@@ -80,7 +80,7 @@ public class HarvestItem : MonoBehaviour
...
@@ -80,7 +80,7 @@ public class HarvestItem : MonoBehaviour
// ToastPlugin.ToastHelper.ShowToast("继续种植"+item.title+"即可领取");
// ToastPlugin.ToastHelper.ShowToast("继续种植"+item.title+"即可领取");
GameObject
toastObj
=
Instantiate
(
Resources
.
Load
<
GameObject
>(
"Toast"
));
GameObject
toastObj
=
Instantiate
(
Resources
.
Load
<
GameObject
>(
"Toast"
));
toastObj
.
GetComponent
<
ToastUtils
>().
ShowToastUI
(
"继续
种植
"
+
item
.
title
+
"即可领取"
);
toastObj
.
GetComponent
<
ToastUtils
>().
ShowToastUI
(
"继续
喂食
"
+
item
.
title
+
"即可领取"
);
EventCenter
.
Broadcast
(
MyEventType
.
CLOSE_CLOCKIN_PAGE
);
EventCenter
.
Broadcast
(
MyEventType
.
CLOSE_CLOCKIN_PAGE
);
}
}
else
else
...
...
Assets/Game/Main/Scripts/Item/PlantMakeMoneyItem.cs
View file @
51969cfa
...
@@ -72,7 +72,7 @@ public class PlantMakeMoneyItem : MonoBehaviour
...
@@ -72,7 +72,7 @@ public class PlantMakeMoneyItem : MonoBehaviour
if
(
item
.
id
!=
1
)
if
(
item
.
id
!=
1
)
{
{
GameObject
toastObj
=
Instantiate
(
Resources
.
Load
<
GameObject
>(
"Toast"
));
GameObject
toastObj
=
Instantiate
(
Resources
.
Load
<
GameObject
>(
"Toast"
));
toastObj
.
GetComponent
<
ToastUtils
>().
ShowToastUI
(
"请根据引导
饲
养"
);
toastObj
.
GetComponent
<
ToastUtils
>().
ShowToastUI
(
"请根据引导
喂
养"
);
return
;
return
;
}
}
else
else
...
...
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