Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
B
BoomMaster
Project
Project
Details
Activity
Releases
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
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wanqing
BoomMaster
Commits
b9bfce8c
Commit
b9bfce8c
authored
Mar 09, 2021
by
wanqing
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改场景
parent
f31b2ece
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
27 additions
and
12 deletions
+27
-12
BombView.cs
BoomMaster/Assets/#A2_Scripts/Battle/View/BombView.cs
+9
-2
BattleUI.prefab
BoomMaster/Assets/#A3_Prefabs/BattleUI.prefab
+8
-8
Level8.prefab
BoomMaster/Assets/Res/Prefabs/Levels/Level8.prefab
+5
-1
Level9.prefab
BoomMaster/Assets/Res/Prefabs/Levels/Level9.prefab
+5
-1
No files found.
BoomMaster/Assets/#A2_Scripts/Battle/View/BombView.cs
View file @
b9bfce8c
...
...
@@ -224,7 +224,14 @@ public class BombView : MonoBehaviour
//{
// varPos.y = m_hitPoint.y - 2.0f;
//}
m_lerpPos
.
z
=
varPos
.
z
+
m_hitPoint
.
z
;
if
(
m_curModelIndex
==
1
)
{
m_lerpPos
.
z
=
varPos
.
z
+
m_hitPoint
.
z
+
0.7f
;
}
else
{
m_lerpPos
.
z
=
varPos
.
z
+
m_hitPoint
.
z
;
}
m_bLerp
=
true
;
m_bIsFinishAni
=
false
;
float
varWaitTime
=
1.0f
;
...
...
@@ -495,7 +502,6 @@ public class BombView : MonoBehaviour
{
return
;
}
//Slice();
if
(
m_bFinishCut
/* && m_bDelayFinishCut*/
)
{
if
(
Input
.
GetMouseButtonDown
(
0
))
...
...
@@ -546,6 +552,7 @@ public class BombView : MonoBehaviour
{
m_curPropModelObj
.
transform
.
position
=
Vector3
.
Lerp
(
m_curPropModelObj
.
transform
.
position
,
m_secondBombPos
,
0.2f
);
//Slice();
if
(
Vector3
.
SqrMagnitude
(
m_curPropModelObj
.
transform
.
position
-
m_secondBombPos
)
<=
0.5f
)
{
lineRenderer
.
positionCount
=
0
;
...
...
BoomMaster/Assets/#A3_Prefabs/BattleUI.prefab
View file @
b9bfce8c
...
...
@@ -2565,7 +2565,7 @@ RectTransform:
m_LocalEulerAnglesHint
:
{
x
:
0
,
y
:
0
,
z
:
0
}
m_AnchorMin
:
{
x
:
0.5
,
y
:
0.5
}
m_AnchorMax
:
{
x
:
0.5
,
y
:
0.5
}
m_AnchoredPosition
:
{
x
:
0
,
y
:
5
64
}
m_AnchoredPosition
:
{
x
:
0
,
y
:
3
64
}
m_SizeDelta
:
{
x
:
512
,
y
:
512
}
m_Pivot
:
{
x
:
0.5
,
y
:
0.5
}
---
!u!222
&551544052248828899
...
...
@@ -5514,7 +5514,7 @@ RectTransform:
m_LocalEulerAnglesHint
:
{
x
:
0
,
y
:
0
,
z
:
0
}
m_AnchorMin
:
{
x
:
0.5
,
y
:
0.5
}
m_AnchorMax
:
{
x
:
0.5
,
y
:
0.5
}
m_AnchoredPosition
:
{
x
:
0
,
y
:
4
61
}
m_AnchoredPosition
:
{
x
:
0
,
y
:
2
61
}
m_SizeDelta
:
{
x
:
239
,
y
:
61
}
m_Pivot
:
{
x
:
0.5
,
y
:
0.5
}
---
!u!222
&2381672036289364098
...
...
@@ -6026,7 +6026,7 @@ RectTransform:
m_LocalEulerAnglesHint
:
{
x
:
0
,
y
:
0
,
z
:
0
}
m_AnchorMin
:
{
x
:
0.5
,
y
:
0.5
}
m_AnchorMax
:
{
x
:
0.5
,
y
:
0.5
}
m_AnchoredPosition
:
{
x
:
0
,
y
:
4
84
}
m_AnchoredPosition
:
{
x
:
0
,
y
:
2
84
}
m_SizeDelta
:
{
x
:
746
,
y
:
754
}
m_Pivot
:
{
x
:
0.5
,
y
:
0.5
}
---
!u!222
&2786070646649537601
...
...
@@ -6412,7 +6412,7 @@ RectTransform:
m_LocalEulerAnglesHint
:
{
x
:
0
,
y
:
0
,
z
:
0
}
m_AnchorMin
:
{
x
:
0.5
,
y
:
0.5
}
m_AnchorMax
:
{
x
:
0.5
,
y
:
0.5
}
m_AnchoredPosition
:
{
x
:
0
,
y
:
20
0
}
m_AnchoredPosition
:
{
x
:
0
,
y
:
0
}
m_SizeDelta
:
{
x
:
786
,
y
:
112
}
m_Pivot
:
{
x
:
0.5
,
y
:
0.5
}
---
!u!222
&3166921200652898927
...
...
@@ -7589,7 +7589,7 @@ RectTransform:
m_LocalEulerAnglesHint
:
{
x
:
0
,
y
:
0
,
z
:
0
}
m_AnchorMin
:
{
x
:
1
,
y
:
0
}
m_AnchorMax
:
{
x
:
1
,
y
:
0
}
m_AnchoredPosition
:
{
x
:
-20
,
y
:
30
}
m_AnchoredPosition
:
{
x
:
-20
,
y
:
2
30
}
m_SizeDelta
:
{
x
:
200
,
y
:
600
}
m_Pivot
:
{
x
:
1
,
y
:
0
}
---
!u!222
&4123035164145855317
...
...
@@ -9951,7 +9951,7 @@ RectTransform:
m_LocalEulerAnglesHint
:
{
x
:
0
,
y
:
0
,
z
:
0
}
m_AnchorMin
:
{
x
:
0.5
,
y
:
0.5
}
m_AnchorMax
:
{
x
:
0.5
,
y
:
0.5
}
m_AnchoredPosition
:
{
x
:
0
,
y
:
0
}
m_AnchoredPosition
:
{
x
:
0
,
y
:
-139
}
m_SizeDelta
:
{
x
:
100
,
y
:
100
}
m_Pivot
:
{
x
:
0.5
,
y
:
0.5
}
---
!u!1
&5471890004041652114
...
...
@@ -15932,7 +15932,7 @@ RectTransform:
m_LocalEulerAnglesHint
:
{
x
:
0
,
y
:
0
,
z
:
0
}
m_AnchorMin
:
{
x
:
0
,
y
:
0
}
m_AnchorMax
:
{
x
:
0
,
y
:
0
}
m_AnchoredPosition
:
{
x
:
20
,
y
:
30
}
m_AnchoredPosition
:
{
x
:
20
,
y
:
2
30
}
m_SizeDelta
:
{
x
:
240
,
y
:
240
}
m_Pivot
:
{
x
:
0
,
y
:
0
}
---
!u!1
&7251358910425099633
...
...
@@ -18555,7 +18555,7 @@ RectTransform:
m_LocalEulerAnglesHint
:
{
x
:
0
,
y
:
0
,
z
:
0
}
m_AnchorMin
:
{
x
:
0.5
,
y
:
1
}
m_AnchorMax
:
{
x
:
0.5
,
y
:
1
}
m_AnchoredPosition
:
{
x
:
40
,
y
:
-
3
20
}
m_AnchoredPosition
:
{
x
:
40
,
y
:
-
4
20
}
m_SizeDelta
:
{
x
:
600
,
y
:
40
}
m_Pivot
:
{
x
:
0.5
,
y
:
0.5
}
---
!u!222
&115026455693364947
...
...
BoomMaster/Assets/Res/Prefabs/Levels/Level8.prefab
View file @
b9bfce8c
...
...
@@ -10316,6 +10316,10 @@ MonoBehaviour:
lineRenderer
:
{
fileID
:
3451800650340832984
}
m_normalObj
:
{
fileID
:
5320918402582742454
}
m_cutOffObj
:
{
fileID
:
5795836104360549552
}
crossMaterial
:
{
fileID
:
0
}
layerMask
:
serializedVersion
:
2
m_Bits
:
0
---
!u!65
&4809511935948006901
BoxCollider
:
m_ObjectHideFlags
:
0
...
...
@@ -16381,7 +16385,7 @@ Camera:
height
:
1
near clip plane
:
0.3
far clip plane
:
1000
field of view
:
5
0
field of view
:
6
0
orthographic
:
0
orthographic size
:
5
m_Depth
:
-1
...
...
BoomMaster/Assets/Res/Prefabs/Levels/Level9.prefab
View file @
b9bfce8c
...
...
@@ -3874,7 +3874,7 @@ Camera:
height
:
1
near clip plane
:
0.3
far clip plane
:
1000
field of view
:
5
0
field of view
:
6
0
orthographic
:
0
orthographic size
:
5
m_Depth
:
-1
...
...
@@ -8382,6 +8382,10 @@ MonoBehaviour:
lineRenderer
:
{
fileID
:
8917163246960790500
}
m_normalObj
:
{
fileID
:
1515827164576319142
}
m_cutOffObj
:
{
fileID
:
1275820557086522631
}
crossMaterial
:
{
fileID
:
0
}
layerMask
:
serializedVersion
:
2
m_Bits
:
0
---
!u!1
&8917163246579906844
GameObject
:
m_ObjectHideFlags
:
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