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
2c4ccc3f
Commit
2c4ccc3f
authored
May 07, 2021
by
王雪伟
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改种植飞行果实
parent
4b524aed
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
2 deletions
+5
-2
Car.prefab
Assets/Game/Main/Prefabs/Car.prefab
+1
-0
CarTypeControl.cs
Assets/Game/Main/Scripts/Utils/CarTypeControl.cs
+4
-2
No files found.
Assets/Game/Main/Prefabs/Car.prefab
View file @
2c4ccc3f
...
@@ -1524,6 +1524,7 @@ MonoBehaviour:
...
@@ -1524,6 +1524,7 @@ MonoBehaviour:
FlyRewardFruit
:
{
fileID
:
2730660779215313333
}
FlyRewardFruit
:
{
fileID
:
2730660779215313333
}
FlyRewardFruit2
:
{
fileID
:
8094320170044776814
}
FlyRewardFruit2
:
{
fileID
:
8094320170044776814
}
FlyRewardFruit3
:
{
fileID
:
6832790893050530142
}
FlyRewardFruit3
:
{
fileID
:
6832790893050530142
}
FlyRewardFruit4
:
{
fileID
:
4064487087137786854
}
LandFruitSprites
:
LandFruitSprites
:
-
{
fileID
:
21300000
,
guid
:
06eed7c796a1a40cdaee2a224a648531
,
type
:
3
}
-
{
fileID
:
21300000
,
guid
:
06eed7c796a1a40cdaee2a224a648531
,
type
:
3
}
-
{
fileID
:
21300000
,
guid
:
07e7c47f587414ecfa2292dc9e01c603
,
type
:
3
}
-
{
fileID
:
21300000
,
guid
:
07e7c47f587414ecfa2292dc9e01c603
,
type
:
3
}
...
...
Assets/Game/Main/Scripts/Utils/CarTypeControl.cs
View file @
2c4ccc3f
...
@@ -22,7 +22,8 @@ public class CarTypeControl : MonoBehaviour
...
@@ -22,7 +22,8 @@ public class CarTypeControl : MonoBehaviour
public
Image
FlyRewardFruit2
;
//飞行收获水果2
public
Image
FlyRewardFruit2
;
//飞行收获水果2
[
SerializeField
]
[
SerializeField
]
public
Image
FlyRewardFruit3
;
//飞行收获水果3
public
Image
FlyRewardFruit3
;
//飞行收获水果3
[
SerializeField
]
public
Image
FlyRewardFruit4
;
//飞行收获水果4
...
@@ -65,7 +66,8 @@ public class CarTypeControl : MonoBehaviour
...
@@ -65,7 +66,8 @@ public class CarTypeControl : MonoBehaviour
//小的图片
//小的图片
FlyRewardFruit
.
sprite
=
FloatFruitSprites
[
arg
.
landPlantData
.
plantId
-
1
];
FlyRewardFruit
.
sprite
=
FloatFruitSprites
[
arg
.
landPlantData
.
plantId
-
1
];
FlyRewardFruit2
.
sprite
=
FloatFruitSprites
[
arg
.
landPlantData
.
plantId
-
1
];
FlyRewardFruit2
.
sprite
=
FloatFruitSprites
[
arg
.
landPlantData
.
plantId
-
1
];
FlyRewardFruit2
.
sprite
=
FloatFruitSprites
[
arg
.
landPlantData
.
plantId
-
1
];
FlyRewardFruit3
.
sprite
=
FloatFruitSprites
[
arg
.
landPlantData
.
plantId
-
1
];
FlyRewardFruit4
.
sprite
=
FloatFruitSprites
[
arg
.
landPlantData
.
plantId
-
1
];
}
}
Debug
.
unityLogger
.
Log
(
"3种植物"
+
m_LandPos
);
Debug
.
unityLogger
.
Log
(
"3种植物"
+
m_LandPos
);
//种植物的名字
//种植物的名字
...
...
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