Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
SteelBall
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
SteelBall
Commits
0fa55877
Commit
0fa55877
authored
Jan 23, 2021
by
wanqing
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
脚本优化
parent
b9ec4809
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
204 additions
and
212 deletions
+204
-212
BattleUI.cs
SteelBall/Assets/0A2_Scripts/Battle/UI/BattleUI.cs
+0
-1
LevelBtnItem.cs
SteelBall/Assets/0A2_Scripts/Battle/UI/LevelBtnItem.cs
+0
-4
LevelManager.cs
SteelBall/Assets/0A2_Scripts/Level/LevelManager.cs
+1
-0
Level04.prefab
SteelBall/Assets/Res/Prefabs/Levels/Level04.prefab
+53
-54
Level05.prefab
SteelBall/Assets/Res/Prefabs/Levels/Level05.prefab
+150
-153
No files found.
SteelBall/Assets/0A2_Scripts/Battle/UI/BattleUI.cs
View file @
0fa55877
...
@@ -78,7 +78,6 @@ public class BattleUI : MonoBehaviour
...
@@ -78,7 +78,6 @@ public class BattleUI : MonoBehaviour
// 当前关卡再来一次
// 当前关卡再来一次
void
LoadCurLevel
()
void
LoadCurLevel
()
{
{
DestroyRayFire
();
m_loseObj
.
SetActive
(
false
);
m_loseObj
.
SetActive
(
false
);
m_successObj
.
SetActive
(
false
);
m_successObj
.
SetActive
(
false
);
BattleCtrl
.
instance
.
levelManager
.
LoadCurLevel
();
BattleCtrl
.
instance
.
levelManager
.
LoadCurLevel
();
...
...
SteelBall/Assets/0A2_Scripts/Battle/UI/LevelBtnItem.cs
View file @
0fa55877
...
@@ -22,10 +22,6 @@ public class LevelBtnItem : MonoBehaviour
...
@@ -22,10 +22,6 @@ public class LevelBtnItem : MonoBehaviour
}
}
public
void
OnClickLevel
(
int
level
)
public
void
OnClickLevel
(
int
level
)
{
{
if
(
level
==
LevelEnum
.
levelSixIndex
)
{
BattleCtrl
.
instance
.
battleUI
.
DestroyRayFire
();
}
BattleCtrl
.
instance
.
levelManager
.
LoadSelectLevel
(
level
);
BattleCtrl
.
instance
.
levelManager
.
LoadSelectLevel
(
level
);
}
}
}
}
SteelBall/Assets/0A2_Scripts/Level/LevelManager.cs
View file @
0fa55877
...
@@ -36,6 +36,7 @@ public class LevelManager : MonoBehaviour
...
@@ -36,6 +36,7 @@ public class LevelManager : MonoBehaviour
/// <param name="level">第几关</param>
/// <param name="level">第几关</param>
public
LevelCtrl
LoadLevel
(
int
levelIndex
)
public
LevelCtrl
LoadLevel
(
int
levelIndex
)
{
{
BattleCtrl
.
instance
.
battleUI
.
DestroyRayFire
();
if
(
levelIndex
>=
0
&&
levelIndex
<
levelPrefs
.
Count
)
if
(
levelIndex
>=
0
&&
levelIndex
<
levelPrefs
.
Count
)
{
{
//加载新关卡
//加载新关卡
...
...
SteelBall/Assets/Res/Prefabs/Levels/Level04.prefab
View file @
0fa55877
...
@@ -556,11 +556,10 @@ MonoBehaviour:
...
@@ -556,11 +556,10 @@ MonoBehaviour:
m_GameObject
:
{
fileID
:
4681400717269551354
}
m_GameObject
:
{
fileID
:
4681400717269551354
}
m_Enabled
:
1
m_Enabled
:
1
m_EditorHideFlags
:
0
m_EditorHideFlags
:
0
m_Script
:
{
fileID
:
11500000
,
guid
:
eb6e52f37bca2404fac00b69fd8d21f8
,
type
:
3
}
m_Script
:
{
fileID
:
11500000
,
guid
:
98242d500b962df40b0c3a3896d7fb1c
,
type
:
3
}
m_Name
:
m_Name
:
m_EditorClassIdentifier
:
m_EditorClassIdentifier
:
initialization
:
1
initialization
:
1
initialized
:
0
simulationType
:
1
simulationType
:
1
objectType
:
0
objectType
:
0
demolitionType
:
3
demolitionType
:
3
...
@@ -572,16 +571,6 @@ MonoBehaviour:
...
@@ -572,16 +571,6 @@ MonoBehaviour:
colliderType
:
0
colliderType
:
0
useGravity
:
1
useGravity
:
1
dampening
:
0.8
dampening
:
0.8
recorder
:
0
exclude
:
0
destructible
:
0
materialSolidity
:
1
rotation
:
{
x
:
0
,
y
:
0
,
z
:
0
,
w
:
1
}
position
:
{
x
:
0
,
y
:
0
,
z
:
0
}
velocity
:
{
x
:
0
,
y
:
0
,
z
:
0
}
initScale
:
{
x
:
1
,
y
:
1
,
z
:
1
}
initPosition
:
{
x
:
0
,
y
:
0
,
z
:
0
}
initRotation
:
{
x
:
0
,
y
:
0
,
z
:
0
,
w
:
1
}
rigidBody
:
{
fileID
:
0
}
rigidBody
:
{
fileID
:
0
}
meshCollider
:
{
fileID
:
0
}
meshCollider
:
{
fileID
:
0
}
clusterColliders
:
[]
clusterColliders
:
[]
...
@@ -593,38 +582,19 @@ MonoBehaviour:
...
@@ -593,38 +582,19 @@ MonoBehaviour:
byImpact
:
0
byImpact
:
0
byConnectivity
:
0
byConnectivity
:
0
unyielding
:
0
unyielding
:
0
activated
:
0
activatable
:
0
restriction
:
enable
:
0
breakAction
:
9
actionDelay
:
0
checkInterval
:
5
distance
:
30
position
:
0
target
:
{
fileID
:
0
}
collider
:
{
fileID
:
0
}
region
:
0
broke
:
0
limitations
:
limitations
:
solidity
:
0.1
solidity
:
0.1
depth
:
1
depth
:
1
time
:
0.2
time
:
0.2
size
:
0.1
size
:
0.1
visible
:
0
sliceByBlade
:
0
sliceByBlade
:
0
slicePlanes
:
[]
contactPoint
:
{
x
:
0
,
y
:
0
,
z
:
0
}
demolitionShould
:
0
demolished
:
0
birthTime
:
0
bboxSize
:
0
currentDepth
:
0
bound
:
bound
:
m_Center
:
{
x
:
0
,
y
:
0
,
z
:
0
}
m_Center
:
{
x
:
0
,
y
:
0
,
z
:
0
}
m_Extent
:
{
x
:
0
,
y
:
0
,
z
:
0
}
m_Extent
:
{
x
:
0
,
y
:
0
,
z
:
0
}
ancestor
:
{
fileID
:
0
}
descendants
:
[]
meshDemolition
:
meshDemolition
:
amount
:
30
amount
:
8
variation
:
0
variation
:
0
depthFade
:
0.5
depthFade
:
0.5
contactBias
:
0
contactBias
:
0
...
@@ -635,7 +605,7 @@ MonoBehaviour:
...
@@ -635,7 +605,7 @@ MonoBehaviour:
colliderType
:
0
colliderType
:
0
sizeFilter
:
0
sizeFilter
:
0
decompose
:
0
decompose
:
0
removeCollinear
:
1
removeCollinear
:
0
layer
:
layer
:
runtimeCaching
:
runtimeCaching
:
type
:
0
type
:
0
...
@@ -645,28 +615,58 @@ MonoBehaviour:
...
@@ -645,28 +615,58 @@ MonoBehaviour:
inProgress
:
0
inProgress
:
0
wasUsed
:
0
wasUsed
:
0
stop
:
0
stop
:
0
badMesh
:
0
shatterMode
:
1
totalAmount
:
0
innerSubId
:
0
compressPrefab
:
1
cacheRotationStart
:
{
x
:
0
,
y
:
0
,
z
:
0
,
w
:
1
}
cacheRotationStart
:
{
x
:
0
,
y
:
0
,
z
:
0
,
w
:
1
}
mesh
:
{
fileID
:
0
}
mesh
:
{
fileID
:
0
}
scrShatter
:
{
fileID
:
0
}
scrShatter
:
{
fileID
:
0
}
clusterDemolition
:
clusterDemolition
:
meshDemolition
:
0
connectivity
:
0
connectivity
:
0
contactRadius
:
15
minimumArea
:
0
minimumSize
:
0
percentage
:
0
seed
:
0
type
:
0
ratio
:
15
units
:
1
shardArea
:
100
shardDemolition
:
0
minAmount
:
3
maxAmount
:
6
demolishable
:
1
collapse
:
type
:
1
start
:
0
end
:
75
steps
:
10
duration
:
15
clsCount
:
1
cluster
:
cluster
:
id
:
0
id
:
-1
tm
:
{
fileID
:
0
}
tm
:
{
fileID
:
0
}
rootParent
:
{
fileID
:
0
}
depth
:
0
depth
:
0
damageRadius
:
0
pos
:
{
x
:
0
,
y
:
0
,
z
:
0
}
rot
:
{
x
:
0
,
y
:
0
,
z
:
0
,
w
:
0
}
bound
:
m_Center
:
{
x
:
0
,
y
:
0
,
z
:
0
}
m_Extent
:
{
x
:
0
,
y
:
0
,
z
:
0
}
demolishable
:
1
rigid
:
{
fileID
:
0
}
shards
:
[]
areaCollapse
:
0
minimumArea
:
0
maximumArea
:
0
sizeCollapse
:
0
minimumSize
:
0
maximumSize
:
0
randomCollapse
:
0
randomSeed
:
0
minorClusters
:
[]
cn
:
0
nd
:
0
referenceDemolition
:
referenceDemolition
:
reference
:
{
fileID
:
0
}
reference
:
{
fileID
:
0
}
randomList
:
[]
randomList
:
[]
addRigid
:
1
addRigid
:
1
inheritScale
:
1
materials
:
materials
:
innerMaterial
:
{
fileID
:
0
}
innerMaterial
:
{
fileID
:
0
}
mappingScale
:
0.1
mappingScale
:
0.1
...
@@ -680,16 +680,13 @@ MonoBehaviour:
...
@@ -680,16 +680,13 @@ MonoBehaviour:
multiplier
:
1
multiplier
:
1
fading
:
fading
:
onDemolition
:
1
onDemolition
:
1
onActivation
:
1
onActivation
:
0
lifeType
:
4
lifeType
:
4
lifeTime
:
2
lifeTime
:
3
lifeVariation
:
0
lifeVariation
:
1
fadeType
:
3
fadeType
:
3
fadeTime
:
1
fadeTime
:
2
sizeFilter
:
0
sizeFilter
:
0
state
:
0
stop
:
0
position
:
{
x
:
0
,
y
:
0
,
z
:
0
}
reset
:
reset
:
transform
:
1
transform
:
1
damage
:
1
damage
:
1
...
@@ -697,8 +694,8 @@ MonoBehaviour:
...
@@ -697,8 +694,8 @@ MonoBehaviour:
destroyDelay
:
1
destroyDelay
:
1
mesh
:
4
mesh
:
4
fragments
:
0
fragments
:
0
toBeDestroyed
:
0
shards
:
0
counter
:
0
initialized
:
0
meshes
:
[]
meshes
:
[]
pivots
:
[]
pivots
:
[]
rfMeshes
:
[]
rfMeshes
:
[]
...
@@ -713,6 +710,8 @@ MonoBehaviour:
...
@@ -713,6 +710,8 @@ MonoBehaviour:
skinnedMeshRend
:
{
fileID
:
0
}
skinnedMeshRend
:
{
fileID
:
0
}
debrisList
:
[]
debrisList
:
[]
dustList
:
[]
dustList
:
[]
restriction
:
{
fileID
:
0
}
sound
:
{
fileID
:
0
}
---
!u!1
&4681400717455122977
---
!u!1
&4681400717455122977
GameObject
:
GameObject
:
m_ObjectHideFlags
:
0
m_ObjectHideFlags
:
0
...
...
SteelBall/Assets/Res/Prefabs/Levels/Level05.prefab
View file @
0fa55877
...
@@ -349,11 +349,10 @@ MonoBehaviour:
...
@@ -349,11 +349,10 @@ MonoBehaviour:
m_GameObject
:
{
fileID
:
988018843723496819
}
m_GameObject
:
{
fileID
:
988018843723496819
}
m_Enabled
:
1
m_Enabled
:
1
m_EditorHideFlags
:
0
m_EditorHideFlags
:
0
m_Script
:
{
fileID
:
11500000
,
guid
:
eb6e52f37bca2404fac00b69fd8d21f8
,
type
:
3
}
m_Script
:
{
fileID
:
11500000
,
guid
:
98242d500b962df40b0c3a3896d7fb1c
,
type
:
3
}
m_Name
:
m_Name
:
m_EditorClassIdentifier
:
m_EditorClassIdentifier
:
initialization
:
1
initialization
:
1
initialized
:
0
simulationType
:
1
simulationType
:
1
objectType
:
0
objectType
:
0
demolitionType
:
3
demolitionType
:
3
...
@@ -365,16 +364,6 @@ MonoBehaviour:
...
@@ -365,16 +364,6 @@ MonoBehaviour:
colliderType
:
0
colliderType
:
0
useGravity
:
1
useGravity
:
1
dampening
:
0.8
dampening
:
0.8
recorder
:
0
exclude
:
0
destructible
:
0
materialSolidity
:
1
rotation
:
{
x
:
0
,
y
:
0
,
z
:
0
,
w
:
1
}
position
:
{
x
:
0
,
y
:
0
,
z
:
0
}
velocity
:
{
x
:
0
,
y
:
0
,
z
:
0
}
initScale
:
{
x
:
1
,
y
:
1
,
z
:
1
}
initPosition
:
{
x
:
0
,
y
:
0
,
z
:
0
}
initRotation
:
{
x
:
0
,
y
:
0
,
z
:
0
,
w
:
1
}
rigidBody
:
{
fileID
:
0
}
rigidBody
:
{
fileID
:
0
}
meshCollider
:
{
fileID
:
0
}
meshCollider
:
{
fileID
:
0
}
clusterColliders
:
[]
clusterColliders
:
[]
...
@@ -386,36 +375,17 @@ MonoBehaviour:
...
@@ -386,36 +375,17 @@ MonoBehaviour:
byImpact
:
0
byImpact
:
0
byConnectivity
:
0
byConnectivity
:
0
unyielding
:
0
unyielding
:
0
activated
:
0
activatable
:
0
restriction
:
enable
:
0
breakAction
:
9
actionDelay
:
0
checkInterval
:
5
distance
:
30
position
:
0
target
:
{
fileID
:
0
}
collider
:
{
fileID
:
0
}
region
:
0
broke
:
0
limitations
:
limitations
:
solidity
:
0.1
solidity
:
0.1
depth
:
1
depth
:
1
time
:
0.2
time
:
0.2
size
:
0.1
size
:
0.1
visible
:
0
sliceByBlade
:
0
sliceByBlade
:
0
slicePlanes
:
[]
contactPoint
:
{
x
:
0
,
y
:
0
,
z
:
0
}
demolitionShould
:
0
demolished
:
0
birthTime
:
0
bboxSize
:
0
currentDepth
:
0
bound
:
bound
:
m_Center
:
{
x
:
0
,
y
:
0
,
z
:
0
}
m_Center
:
{
x
:
0
,
y
:
0
,
z
:
0
}
m_Extent
:
{
x
:
0
,
y
:
0
,
z
:
0
}
m_Extent
:
{
x
:
0
,
y
:
0
,
z
:
0
}
ancestor
:
{
fileID
:
0
}
descendants
:
[]
meshDemolition
:
meshDemolition
:
amount
:
15
amount
:
15
variation
:
0
variation
:
0
...
@@ -428,7 +398,7 @@ MonoBehaviour:
...
@@ -428,7 +398,7 @@ MonoBehaviour:
colliderType
:
0
colliderType
:
0
sizeFilter
:
0
sizeFilter
:
0
decompose
:
0
decompose
:
0
removeCollinear
:
1
removeCollinear
:
0
layer
:
layer
:
runtimeCaching
:
runtimeCaching
:
type
:
0
type
:
0
...
@@ -438,28 +408,58 @@ MonoBehaviour:
...
@@ -438,28 +408,58 @@ MonoBehaviour:
inProgress
:
0
inProgress
:
0
wasUsed
:
0
wasUsed
:
0
stop
:
0
stop
:
0
badMesh
:
0
shatterMode
:
1
totalAmount
:
0
innerSubId
:
0
compressPrefab
:
1
cacheRotationStart
:
{
x
:
0
,
y
:
0
,
z
:
0
,
w
:
1
}
cacheRotationStart
:
{
x
:
0
,
y
:
0
,
z
:
0
,
w
:
1
}
mesh
:
{
fileID
:
0
}
mesh
:
{
fileID
:
0
}
scrShatter
:
{
fileID
:
0
}
scrShatter
:
{
fileID
:
0
}
clusterDemolition
:
clusterDemolition
:
meshDemolition
:
0
connectivity
:
0
connectivity
:
0
contactRadius
:
15
minimumArea
:
0
minimumSize
:
0
percentage
:
0
seed
:
0
type
:
0
ratio
:
8
units
:
1
shardArea
:
100
shardDemolition
:
0
minAmount
:
3
maxAmount
:
6
demolishable
:
1
collapse
:
type
:
1
start
:
0
end
:
75
steps
:
10
duration
:
15
clsCount
:
1
cluster
:
cluster
:
id
:
0
id
:
-1
tm
:
{
fileID
:
0
}
tm
:
{
fileID
:
0
}
rootParent
:
{
fileID
:
0
}
depth
:
0
depth
:
0
damageRadius
:
0
pos
:
{
x
:
0
,
y
:
0
,
z
:
0
}
rot
:
{
x
:
0
,
y
:
0
,
z
:
0
,
w
:
0
}
bound
:
m_Center
:
{
x
:
0
,
y
:
0
,
z
:
0
}
m_Extent
:
{
x
:
0
,
y
:
0
,
z
:
0
}
demolishable
:
1
rigid
:
{
fileID
:
0
}
shards
:
[]
areaCollapse
:
0
minimumArea
:
0
maximumArea
:
0
sizeCollapse
:
0
minimumSize
:
0
maximumSize
:
0
randomCollapse
:
0
randomSeed
:
0
minorClusters
:
[]
cn
:
0
nd
:
0
referenceDemolition
:
referenceDemolition
:
reference
:
{
fileID
:
0
}
reference
:
{
fileID
:
0
}
randomList
:
[]
randomList
:
[]
addRigid
:
1
addRigid
:
1
inheritScale
:
1
materials
:
materials
:
innerMaterial
:
{
fileID
:
0
}
innerMaterial
:
{
fileID
:
0
}
mappingScale
:
0.1
mappingScale
:
0.1
...
@@ -475,14 +475,11 @@ MonoBehaviour:
...
@@ -475,14 +475,11 @@ MonoBehaviour:
onDemolition
:
1
onDemolition
:
1
onActivation
:
0
onActivation
:
0
lifeType
:
4
lifeType
:
4
lifeTime
:
2
lifeTime
:
3
lifeVariation
:
1
lifeVariation
:
1
fadeType
:
3
fadeType
:
3
fadeTime
:
1
fadeTime
:
2
sizeFilter
:
0
sizeFilter
:
0
state
:
0
stop
:
0
position
:
{
x
:
0
,
y
:
0
,
z
:
0
}
reset
:
reset
:
transform
:
1
transform
:
1
damage
:
1
damage
:
1
...
@@ -490,8 +487,8 @@ MonoBehaviour:
...
@@ -490,8 +487,8 @@ MonoBehaviour:
destroyDelay
:
1
destroyDelay
:
1
mesh
:
4
mesh
:
4
fragments
:
0
fragments
:
0
toBeDestroyed
:
0
shards
:
0
counter
:
0
initialized
:
0
meshes
:
[]
meshes
:
[]
pivots
:
[]
pivots
:
[]
rfMeshes
:
[]
rfMeshes
:
[]
...
@@ -506,6 +503,8 @@ MonoBehaviour:
...
@@ -506,6 +503,8 @@ MonoBehaviour:
skinnedMeshRend
:
{
fileID
:
0
}
skinnedMeshRend
:
{
fileID
:
0
}
debrisList
:
[]
debrisList
:
[]
dustList
:
[]
dustList
:
[]
restriction
:
{
fileID
:
0
}
sound
:
{
fileID
:
0
}
---
!u!1
&1871120857306542535
---
!u!1
&1871120857306542535
GameObject
:
GameObject
:
m_ObjectHideFlags
:
0
m_ObjectHideFlags
:
0
...
@@ -752,11 +751,10 @@ MonoBehaviour:
...
@@ -752,11 +751,10 @@ MonoBehaviour:
m_GameObject
:
{
fileID
:
1871120859088591442
}
m_GameObject
:
{
fileID
:
1871120859088591442
}
m_Enabled
:
1
m_Enabled
:
1
m_EditorHideFlags
:
0
m_EditorHideFlags
:
0
m_Script
:
{
fileID
:
11500000
,
guid
:
eb6e52f37bca2404fac00b69fd8d21f8
,
type
:
3
}
m_Script
:
{
fileID
:
11500000
,
guid
:
98242d500b962df40b0c3a3896d7fb1c
,
type
:
3
}
m_Name
:
m_Name
:
m_EditorClassIdentifier
:
m_EditorClassIdentifier
:
initialization
:
1
initialization
:
1
initialized
:
0
simulationType
:
1
simulationType
:
1
objectType
:
0
objectType
:
0
demolitionType
:
3
demolitionType
:
3
...
@@ -768,16 +766,6 @@ MonoBehaviour:
...
@@ -768,16 +766,6 @@ MonoBehaviour:
colliderType
:
0
colliderType
:
0
useGravity
:
1
useGravity
:
1
dampening
:
0.8
dampening
:
0.8
recorder
:
0
exclude
:
0
destructible
:
0
materialSolidity
:
1
rotation
:
{
x
:
0
,
y
:
0
,
z
:
0
,
w
:
1
}
position
:
{
x
:
0
,
y
:
0
,
z
:
0
}
velocity
:
{
x
:
0
,
y
:
0
,
z
:
0
}
initScale
:
{
x
:
1
,
y
:
1
,
z
:
1
}
initPosition
:
{
x
:
0
,
y
:
0
,
z
:
0
}
initRotation
:
{
x
:
0
,
y
:
0
,
z
:
0
,
w
:
1
}
rigidBody
:
{
fileID
:
0
}
rigidBody
:
{
fileID
:
0
}
meshCollider
:
{
fileID
:
0
}
meshCollider
:
{
fileID
:
0
}
clusterColliders
:
[]
clusterColliders
:
[]
...
@@ -789,36 +777,17 @@ MonoBehaviour:
...
@@ -789,36 +777,17 @@ MonoBehaviour:
byImpact
:
0
byImpact
:
0
byConnectivity
:
0
byConnectivity
:
0
unyielding
:
0
unyielding
:
0
activated
:
0
activatable
:
0
restriction
:
enable
:
0
breakAction
:
9
actionDelay
:
0
checkInterval
:
5
distance
:
30
position
:
0
target
:
{
fileID
:
0
}
collider
:
{
fileID
:
0
}
region
:
0
broke
:
0
limitations
:
limitations
:
solidity
:
0.1
solidity
:
0.1
depth
:
1
depth
:
1
time
:
0.2
time
:
0.2
size
:
0.1
size
:
0.1
visible
:
0
sliceByBlade
:
0
sliceByBlade
:
0
slicePlanes
:
[]
contactPoint
:
{
x
:
0
,
y
:
0
,
z
:
0
}
demolitionShould
:
0
demolished
:
0
birthTime
:
0
bboxSize
:
0
currentDepth
:
0
bound
:
bound
:
m_Center
:
{
x
:
0
,
y
:
0
,
z
:
0
}
m_Center
:
{
x
:
0
,
y
:
0
,
z
:
0
}
m_Extent
:
{
x
:
0
,
y
:
0
,
z
:
0
}
m_Extent
:
{
x
:
0
,
y
:
0
,
z
:
0
}
ancestor
:
{
fileID
:
0
}
descendants
:
[]
meshDemolition
:
meshDemolition
:
amount
:
15
amount
:
15
variation
:
0
variation
:
0
...
@@ -831,7 +800,7 @@ MonoBehaviour:
...
@@ -831,7 +800,7 @@ MonoBehaviour:
colliderType
:
0
colliderType
:
0
sizeFilter
:
0
sizeFilter
:
0
decompose
:
0
decompose
:
0
removeCollinear
:
1
removeCollinear
:
0
layer
:
layer
:
runtimeCaching
:
runtimeCaching
:
type
:
0
type
:
0
...
@@ -841,28 +810,58 @@ MonoBehaviour:
...
@@ -841,28 +810,58 @@ MonoBehaviour:
inProgress
:
0
inProgress
:
0
wasUsed
:
0
wasUsed
:
0
stop
:
0
stop
:
0
badMesh
:
0
shatterMode
:
1
totalAmount
:
0
innerSubId
:
0
compressPrefab
:
1
cacheRotationStart
:
{
x
:
0
,
y
:
0
,
z
:
0
,
w
:
1
}
cacheRotationStart
:
{
x
:
0
,
y
:
0
,
z
:
0
,
w
:
1
}
mesh
:
{
fileID
:
0
}
mesh
:
{
fileID
:
0
}
scrShatter
:
{
fileID
:
0
}
scrShatter
:
{
fileID
:
0
}
clusterDemolition
:
clusterDemolition
:
meshDemolition
:
0
connectivity
:
0
connectivity
:
0
contactRadius
:
15
minimumArea
:
0
minimumSize
:
0
percentage
:
0
seed
:
0
type
:
0
ratio
:
8
units
:
1
shardArea
:
100
shardDemolition
:
0
minAmount
:
3
maxAmount
:
6
demolishable
:
1
collapse
:
type
:
1
start
:
0
end
:
75
steps
:
10
duration
:
15
clsCount
:
1
cluster
:
cluster
:
id
:
0
id
:
-1
tm
:
{
fileID
:
0
}
tm
:
{
fileID
:
0
}
rootParent
:
{
fileID
:
0
}
depth
:
0
depth
:
0
damageRadius
:
0
pos
:
{
x
:
0
,
y
:
0
,
z
:
0
}
rot
:
{
x
:
0
,
y
:
0
,
z
:
0
,
w
:
0
}
bound
:
m_Center
:
{
x
:
0
,
y
:
0
,
z
:
0
}
m_Extent
:
{
x
:
0
,
y
:
0
,
z
:
0
}
demolishable
:
1
rigid
:
{
fileID
:
0
}
shards
:
[]
areaCollapse
:
0
minimumArea
:
0
maximumArea
:
0
sizeCollapse
:
0
minimumSize
:
0
maximumSize
:
0
randomCollapse
:
0
randomSeed
:
0
minorClusters
:
[]
cn
:
0
nd
:
0
referenceDemolition
:
referenceDemolition
:
reference
:
{
fileID
:
0
}
reference
:
{
fileID
:
0
}
randomList
:
[]
randomList
:
[]
addRigid
:
1
addRigid
:
1
inheritScale
:
1
materials
:
materials
:
innerMaterial
:
{
fileID
:
0
}
innerMaterial
:
{
fileID
:
0
}
mappingScale
:
0.1
mappingScale
:
0.1
...
@@ -878,14 +877,11 @@ MonoBehaviour:
...
@@ -878,14 +877,11 @@ MonoBehaviour:
onDemolition
:
1
onDemolition
:
1
onActivation
:
0
onActivation
:
0
lifeType
:
4
lifeType
:
4
lifeTime
:
2
lifeTime
:
3
lifeVariation
:
1
lifeVariation
:
1
fadeType
:
3
fadeType
:
3
fadeTime
:
1
fadeTime
:
2
sizeFilter
:
0
sizeFilter
:
0
state
:
0
stop
:
0
position
:
{
x
:
0
,
y
:
0
,
z
:
0
}
reset
:
reset
:
transform
:
1
transform
:
1
damage
:
1
damage
:
1
...
@@ -893,8 +889,8 @@ MonoBehaviour:
...
@@ -893,8 +889,8 @@ MonoBehaviour:
destroyDelay
:
1
destroyDelay
:
1
mesh
:
4
mesh
:
4
fragments
:
0
fragments
:
0
toBeDestroyed
:
0
shards
:
0
counter
:
0
initialized
:
0
meshes
:
[]
meshes
:
[]
pivots
:
[]
pivots
:
[]
rfMeshes
:
[]
rfMeshes
:
[]
...
@@ -909,6 +905,8 @@ MonoBehaviour:
...
@@ -909,6 +905,8 @@ MonoBehaviour:
skinnedMeshRend
:
{
fileID
:
0
}
skinnedMeshRend
:
{
fileID
:
0
}
debrisList
:
[]
debrisList
:
[]
dustList
:
[]
dustList
:
[]
restriction
:
{
fileID
:
0
}
sound
:
{
fileID
:
0
}
---
!u!1
&1871120859092402027
---
!u!1
&1871120859092402027
GameObject
:
GameObject
:
m_ObjectHideFlags
:
0
m_ObjectHideFlags
:
0
...
@@ -1122,11 +1120,10 @@ MonoBehaviour:
...
@@ -1122,11 +1120,10 @@ MonoBehaviour:
m_GameObject
:
{
fileID
:
2674609958703121656
}
m_GameObject
:
{
fileID
:
2674609958703121656
}
m_Enabled
:
1
m_Enabled
:
1
m_EditorHideFlags
:
0
m_EditorHideFlags
:
0
m_Script
:
{
fileID
:
11500000
,
guid
:
eb6e52f37bca2404fac00b69fd8d21f8
,
type
:
3
}
m_Script
:
{
fileID
:
11500000
,
guid
:
98242d500b962df40b0c3a3896d7fb1c
,
type
:
3
}
m_Name
:
m_Name
:
m_EditorClassIdentifier
:
m_EditorClassIdentifier
:
initialization
:
1
initialization
:
1
initialized
:
0
simulationType
:
1
simulationType
:
1
objectType
:
0
objectType
:
0
demolitionType
:
3
demolitionType
:
3
...
@@ -1138,16 +1135,6 @@ MonoBehaviour:
...
@@ -1138,16 +1135,6 @@ MonoBehaviour:
colliderType
:
0
colliderType
:
0
useGravity
:
1
useGravity
:
1
dampening
:
0.8
dampening
:
0.8
recorder
:
0
exclude
:
0
destructible
:
0
materialSolidity
:
1
rotation
:
{
x
:
0
,
y
:
0
,
z
:
0
,
w
:
1
}
position
:
{
x
:
0
,
y
:
0
,
z
:
0
}
velocity
:
{
x
:
0
,
y
:
0
,
z
:
0
}
initScale
:
{
x
:
1
,
y
:
1
,
z
:
1
}
initPosition
:
{
x
:
0
,
y
:
0
,
z
:
0
}
initRotation
:
{
x
:
0
,
y
:
0
,
z
:
0
,
w
:
1
}
rigidBody
:
{
fileID
:
0
}
rigidBody
:
{
fileID
:
0
}
meshCollider
:
{
fileID
:
0
}
meshCollider
:
{
fileID
:
0
}
clusterColliders
:
[]
clusterColliders
:
[]
...
@@ -1159,36 +1146,17 @@ MonoBehaviour:
...
@@ -1159,36 +1146,17 @@ MonoBehaviour:
byImpact
:
0
byImpact
:
0
byConnectivity
:
0
byConnectivity
:
0
unyielding
:
0
unyielding
:
0
activated
:
0
activatable
:
0
restriction
:
enable
:
0
breakAction
:
9
actionDelay
:
0
checkInterval
:
5
distance
:
30
position
:
0
target
:
{
fileID
:
0
}
collider
:
{
fileID
:
0
}
region
:
0
broke
:
0
limitations
:
limitations
:
solidity
:
0.1
solidity
:
0.1
depth
:
1
depth
:
1
time
:
0.2
time
:
0.2
size
:
0.1
size
:
0.1
visible
:
0
sliceByBlade
:
0
sliceByBlade
:
0
slicePlanes
:
[]
contactPoint
:
{
x
:
0
,
y
:
0
,
z
:
0
}
demolitionShould
:
0
demolished
:
0
birthTime
:
0
bboxSize
:
0
currentDepth
:
0
bound
:
bound
:
m_Center
:
{
x
:
0
,
y
:
0
,
z
:
0
}
m_Center
:
{
x
:
0
,
y
:
0
,
z
:
0
}
m_Extent
:
{
x
:
0
,
y
:
0
,
z
:
0
}
m_Extent
:
{
x
:
0
,
y
:
0
,
z
:
0
}
ancestor
:
{
fileID
:
0
}
descendants
:
[]
meshDemolition
:
meshDemolition
:
amount
:
15
amount
:
15
variation
:
0
variation
:
0
...
@@ -1201,7 +1169,7 @@ MonoBehaviour:
...
@@ -1201,7 +1169,7 @@ MonoBehaviour:
colliderType
:
0
colliderType
:
0
sizeFilter
:
0
sizeFilter
:
0
decompose
:
0
decompose
:
0
removeCollinear
:
1
removeCollinear
:
0
layer
:
layer
:
runtimeCaching
:
runtimeCaching
:
type
:
0
type
:
0
...
@@ -1211,28 +1179,58 @@ MonoBehaviour:
...
@@ -1211,28 +1179,58 @@ MonoBehaviour:
inProgress
:
0
inProgress
:
0
wasUsed
:
0
wasUsed
:
0
stop
:
0
stop
:
0
badMesh
:
0
shatterMode
:
1
totalAmount
:
0
innerSubId
:
0
compressPrefab
:
1
cacheRotationStart
:
{
x
:
0
,
y
:
0
,
z
:
0
,
w
:
1
}
cacheRotationStart
:
{
x
:
0
,
y
:
0
,
z
:
0
,
w
:
1
}
mesh
:
{
fileID
:
0
}
mesh
:
{
fileID
:
0
}
scrShatter
:
{
fileID
:
0
}
scrShatter
:
{
fileID
:
0
}
clusterDemolition
:
clusterDemolition
:
meshDemolition
:
0
connectivity
:
0
connectivity
:
0
contactRadius
:
15
minimumArea
:
0
minimumSize
:
0
percentage
:
0
seed
:
0
type
:
0
ratio
:
8
units
:
1
shardArea
:
100
shardDemolition
:
0
minAmount
:
3
maxAmount
:
6
demolishable
:
1
collapse
:
type
:
1
start
:
0
end
:
75
steps
:
10
duration
:
15
clsCount
:
1
cluster
:
cluster
:
id
:
0
id
:
-1
tm
:
{
fileID
:
0
}
tm
:
{
fileID
:
0
}
rootParent
:
{
fileID
:
0
}
depth
:
0
depth
:
0
damageRadius
:
0
pos
:
{
x
:
0
,
y
:
0
,
z
:
0
}
rot
:
{
x
:
0
,
y
:
0
,
z
:
0
,
w
:
0
}
bound
:
m_Center
:
{
x
:
0
,
y
:
0
,
z
:
0
}
m_Extent
:
{
x
:
0
,
y
:
0
,
z
:
0
}
demolishable
:
1
rigid
:
{
fileID
:
0
}
shards
:
[]
areaCollapse
:
0
minimumArea
:
0
maximumArea
:
0
sizeCollapse
:
0
minimumSize
:
0
maximumSize
:
0
randomCollapse
:
0
randomSeed
:
0
minorClusters
:
[]
cn
:
0
nd
:
0
referenceDemolition
:
referenceDemolition
:
reference
:
{
fileID
:
0
}
reference
:
{
fileID
:
0
}
randomList
:
[]
randomList
:
[]
addRigid
:
1
addRigid
:
1
inheritScale
:
1
materials
:
materials
:
innerMaterial
:
{
fileID
:
0
}
innerMaterial
:
{
fileID
:
0
}
mappingScale
:
0.1
mappingScale
:
0.1
...
@@ -1248,14 +1246,11 @@ MonoBehaviour:
...
@@ -1248,14 +1246,11 @@ MonoBehaviour:
onDemolition
:
1
onDemolition
:
1
onActivation
:
0
onActivation
:
0
lifeType
:
4
lifeType
:
4
lifeTime
:
2
lifeTime
:
3
lifeVariation
:
1
lifeVariation
:
1
fadeType
:
3
fadeType
:
3
fadeTime
:
1
fadeTime
:
2
sizeFilter
:
0
sizeFilter
:
0
state
:
0
stop
:
0
position
:
{
x
:
0
,
y
:
0
,
z
:
0
}
reset
:
reset
:
transform
:
1
transform
:
1
damage
:
1
damage
:
1
...
@@ -1263,8 +1258,8 @@ MonoBehaviour:
...
@@ -1263,8 +1258,8 @@ MonoBehaviour:
destroyDelay
:
1
destroyDelay
:
1
mesh
:
4
mesh
:
4
fragments
:
0
fragments
:
0
toBeDestroyed
:
0
shards
:
0
counter
:
0
initialized
:
0
meshes
:
[]
meshes
:
[]
pivots
:
[]
pivots
:
[]
rfMeshes
:
[]
rfMeshes
:
[]
...
@@ -1279,6 +1274,8 @@ MonoBehaviour:
...
@@ -1279,6 +1274,8 @@ MonoBehaviour:
skinnedMeshRend
:
{
fileID
:
0
}
skinnedMeshRend
:
{
fileID
:
0
}
debrisList
:
[]
debrisList
:
[]
dustList
:
[]
dustList
:
[]
restriction
:
{
fileID
:
0
}
sound
:
{
fileID
:
0
}
---
!u!1
&4040573733143684814
---
!u!1
&4040573733143684814
GameObject
:
GameObject
:
m_ObjectHideFlags
:
0
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