Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
B
BattleMuscle
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
czy
BattleMuscle
Commits
b24f623e
Commit
b24f623e
authored
May 14, 2021
by
czy
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Boss动画优化
parent
3c1a7b98
Changes
12
Show whitespace changes
Inline
Side-by-side
Showing
12 changed files
with
931 additions
and
63 deletions
+931
-63
Running2.controller
..._Assets/Animation/AnimationController/Running2.controller
+91
-24
Level 1.unity
BattleMuscle/Assets/Levels/Level 1.unity
+671
-16
HurricaneKickBefor.anim
BattleMuscle/Assets/My/HurricaneKickBefor.anim
+60
-0
HurricaneKickBefor.anim.meta
BattleMuscle/Assets/My/HurricaneKickBefor.anim.meta
+8
-0
HurricaneKickTrigger.prefab
BattleMuscle/Assets/My/Model/HurricaneKickTrigger.prefab
+1
-1
LegSweepTrigger.prefab
BattleMuscle/Assets/My/Model/LegSweepTrigger.prefab
+1
-1
BossAnimationManager.cs
BattleMuscle/Assets/My/Scripts/AI/BossAnimationManager.cs
+54
-7
BossAttack.cs
BattleMuscle/Assets/My/Scripts/AI/BossAttack.cs
+16
-3
BossAttackDamageRange.cs
BattleMuscle/Assets/My/Scripts/AI/BossAttackDamageRange.cs
+1
-1
BossMove.cs
BattleMuscle/Assets/My/Scripts/AI/BossMove.cs
+17
-7
AttackTrigger.cs
BattleMuscle/Assets/My/Scripts/Player/AttackTrigger.cs
+10
-3
PlayerMove.cs
BattleMuscle/Assets/My/Scripts/Player/PlayerMove.cs
+1
-0
No files found.
BattleMuscle/Assets/Art_Assets/Animation/AnimationController/Running2.controller
View file @
b24f623e
...
...
@@ -24,10 +24,14 @@ AnimatorStateMachine:
-
serializedVersion
:
1
m_State
:
{
fileID
:
5730630131191024332
}
m_Position
:
{
x
:
-30
,
y
:
350
,
z
:
0
}
-
serializedVersion
:
1
m_State
:
{
fileID
:
5232131748971255912
}
m_Position
:
{
x
:
-260
,
y
:
240
,
z
:
0
}
m_ChildStateMachines
:
[]
m_AnyStateTransitions
:
-
{
fileID
:
-
988131835395953829
}
-
{
fileID
:
-
5157424812580719683
}
-
{
fileID
:
8973507764031670339
}
-
{
fileID
:
2005904175553675675
}
m_EntryTransitions
:
[]
m_StateMachineTransitions
:
{}
m_StateMachineBehaviours
:
[]
...
...
@@ -140,19 +144,22 @@ AnimatorState:
m_MirrorParameter
:
m_CycleOffsetParameter
:
m_TimeParameter
:
MoveSpeed
---
!u!1101
&-
4809412122287805464
---
!u!1101
&-
5157424812580719683
AnimatorStateTransition
:
m_ObjectHideFlags
:
1
m_CorrespondingSourceObject
:
{
fileID
:
0
}
m_PrefabInstance
:
{
fileID
:
0
}
m_PrefabAsset
:
{
fileID
:
0
}
m_Name
:
m_Conditions
:
[]
m_Conditions
:
-
m_ConditionMode
:
1
m_ConditionEvent
:
IsFirstHurricaneKickBefor
m_EventTreshold
:
0
m_DstStateMachine
:
{
fileID
:
0
}
m_DstState
:
{
fileID
:
0
}
m_DstState
:
{
fileID
:
5232131748971255912
}
m_Solo
:
0
m_Mute
:
0
m_IsExit
:
1
m_IsExit
:
0
serializedVersion
:
3
m_TransitionDuration
:
0.25
m_TransitionOffset
:
0
...
...
@@ -162,32 +169,29 @@ AnimatorStateTransition:
m_InterruptionSource
:
0
m_OrderedInterruption
:
1
m_CanTransitionToSelf
:
1
---
!u!1101
&-
1429333520268681619
---
!u!1101
&-
4809412122287805464
AnimatorStateTransition
:
m_ObjectHideFlags
:
1
m_CorrespondingSourceObject
:
{
fileID
:
0
}
m_PrefabInstance
:
{
fileID
:
0
}
m_PrefabAsset
:
{
fileID
:
0
}
m_Name
:
m_Conditions
:
-
m_ConditionMode
:
4
m_ConditionEvent
:
MoveSpeed
m_EventTreshold
:
0.2
m_Conditions
:
[]
m_DstStateMachine
:
{
fileID
:
0
}
m_DstState
:
{
fileID
:
5730630131191024332
}
m_DstState
:
{
fileID
:
0
}
m_Solo
:
0
m_Mute
:
0
m_IsExit
:
0
m_IsExit
:
1
serializedVersion
:
3
m_TransitionDuration
:
0.25
m_TransitionOffset
:
0
m_ExitTime
:
0.
6428572
m_HasExitTime
:
0
m_ExitTime
:
0.
75
m_HasExitTime
:
1
m_HasFixedDuration
:
1
m_InterruptionSource
:
0
m_OrderedInterruption
:
1
m_CanTransitionToSelf
:
1
---
!u!1101
&-
98813183539595382
9
---
!u!1101
&-
142933352026868161
9
AnimatorStateTransition
:
m_ObjectHideFlags
:
1
m_CorrespondingSourceObject
:
{
fileID
:
0
}
...
...
@@ -195,18 +199,18 @@ AnimatorStateTransition:
m_PrefabAsset
:
{
fileID
:
0
}
m_Name
:
m_Conditions
:
-
m_ConditionMode
:
1
m_ConditionEvent
:
HurricaneKick
m_EventTreshold
:
0
-
m_ConditionMode
:
4
m_ConditionEvent
:
MoveSpeed
m_EventTreshold
:
0
.2
m_DstStateMachine
:
{
fileID
:
0
}
m_DstState
:
{
fileID
:
4471307210666310047
}
m_DstState
:
{
fileID
:
5730630131191024332
}
m_Solo
:
0
m_Mute
:
0
m_IsExit
:
0
serializedVersion
:
3
m_TransitionDuration
:
0.25
m_TransitionOffset
:
0
m_ExitTime
:
0.
75
m_ExitTime
:
0.
6428572
m_HasExitTime
:
0
m_HasFixedDuration
:
1
m_InterruptionSource
:
0
...
...
@@ -254,19 +258,31 @@ AnimatorController:
m_DefaultFloat
:
0
m_DefaultInt
:
0
m_DefaultBool
:
0
m_Controller
:
{
fileID
:
910000
0
}
m_Controller
:
{
fileID
:
0
}
-
m_Name
:
LegSweep
m_Type
:
4
m_DefaultFloat
:
0
m_DefaultInt
:
0
m_DefaultBool
:
0
m_Controller
:
{
fileID
:
910000
0
}
m_Controller
:
{
fileID
:
0
}
-
m_Name
:
HurricaneKick
m_Type
:
4
m_DefaultFloat
:
0
m_DefaultInt
:
0
m_DefaultBool
:
0
m_Controller
:
{
fileID
:
9100000
}
m_Controller
:
{
fileID
:
0
}
-
m_Name
:
HurricaneKickBefor
m_Type
:
4
m_DefaultFloat
:
0
m_DefaultInt
:
0
m_DefaultBool
:
0
m_Controller
:
{
fileID
:
0
}
-
m_Name
:
IsFirstHurricaneKickBefor
m_Type
:
4
m_DefaultFloat
:
0
m_DefaultInt
:
0
m_DefaultBool
:
0
m_Controller
:
{
fileID
:
0
}
m_AnimatorLayers
:
-
serializedVersion
:
5
m_Name
:
Base Layer
...
...
@@ -280,6 +296,31 @@ AnimatorController:
m_IKPass
:
0
m_SyncedLayerAffectsTiming
:
0
m_Controller
:
{
fileID
:
9100000
}
---
!u!1101
&2005904175553675675
AnimatorStateTransition
:
m_ObjectHideFlags
:
1
m_CorrespondingSourceObject
:
{
fileID
:
0
}
m_PrefabInstance
:
{
fileID
:
0
}
m_PrefabAsset
:
{
fileID
:
0
}
m_Name
:
m_Conditions
:
-
m_ConditionMode
:
1
m_ConditionEvent
:
HurricaneKick
m_EventTreshold
:
0
m_DstStateMachine
:
{
fileID
:
0
}
m_DstState
:
{
fileID
:
4471307210666310047
}
m_Solo
:
0
m_Mute
:
0
m_IsExit
:
0
serializedVersion
:
3
m_TransitionDuration
:
0.25
m_TransitionOffset
:
0
m_ExitTime
:
0.75
m_HasExitTime
:
1
m_HasFixedDuration
:
1
m_InterruptionSource
:
0
m_OrderedInterruption
:
1
m_CanTransitionToSelf
:
1
---
!u!1101
&2335692240658299194
AnimatorStateTransition
:
m_ObjectHideFlags
:
1
...
...
@@ -357,7 +398,33 @@ AnimatorState:
m_SpeedParameter
:
m_MirrorParameter
:
m_CycleOffsetParameter
:
m_TimeParameter
:
m_TimeParameter
:
aaa
---
!u!1102
&5232131748971255912
AnimatorState
:
serializedVersion
:
5
m_ObjectHideFlags
:
1
m_CorrespondingSourceObject
:
{
fileID
:
0
}
m_PrefabInstance
:
{
fileID
:
0
}
m_PrefabAsset
:
{
fileID
:
0
}
m_Name
:
HurricaneKickBefor
m_Speed
:
1
m_CycleOffset
:
0
m_Transitions
:
[]
m_StateMachineBehaviours
:
[]
m_Position
:
{
x
:
50
,
y
:
50
,
z
:
0
}
m_IKOnFeet
:
0
m_WriteDefaultValues
:
1
m_Mirror
:
0
m_SpeedParameterActive
:
0
m_MirrorParameterActive
:
0
m_CycleOffsetParameterActive
:
0
m_TimeParameterActive
:
0
m_Motion
:
{
fileID
:
7400000
,
guid
:
d266a3801edfb2d4ebf814eeea93f5d2
,
type
:
2
}
m_Tag
:
m_SpeedParameter
:
MoveSpeed
m_MirrorParameter
:
m_CycleOffsetParameter
:
m_TimeParameter
:
aaa
---
!u!1102
&5730630131191024332
AnimatorState
:
serializedVersion
:
5
...
...
BattleMuscle/Assets/Levels/Level 1.unity
View file @
b24f623e
...
...
@@ -2386,8 +2386,8 @@ MonoBehaviour:
m_Script: {fileID: 11500000, guid: 88224c51f1a97cf40895dff846d2a5b3, type: 3}
m_Name:
m_EditorClassIdentifier:
foodNumber:
10
0
timeSpan:
2
foodNumber:
4
0
timeSpan:
10
foodPoint:
- {fileID: 1752813316}
- {fileID: 1547259537}
...
...
@@ -6396,6 +6396,99 @@ Transform:
type: 3}
m_PrefabInstance: {fileID: 478275673}
m_PrefabAsset: {fileID: 0}
--- !u!1001 &479295527
PrefabInstance:
m_ObjectHideFlags: 0
serializedVersion: 2
m_Modification:
m_TransformParent: {fileID: 560453419}
m_Modifications:
- target: {fileID: 1210589541773082, guid: 395a551931a0b5c479c9a0eb8883174e, type: 3}
propertyPath: m_Name
value: SoftFireBigRed
objectReference: {fileID: 0}
- target: {fileID: 1210589541773082, guid: 395a551931a0b5c479c9a0eb8883174e, type: 3}
propertyPath: m_IsActive
value: 1
objectReference: {fileID: 0}
- target: {fileID: 4782543229931610, guid: 395a551931a0b5c479c9a0eb8883174e, type: 3}
propertyPath: m_LocalPosition.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 4782543229931610, guid: 395a551931a0b5c479c9a0eb8883174e, type: 3}
propertyPath: m_LocalPosition.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 4782543229931610, guid: 395a551931a0b5c479c9a0eb8883174e, type: 3}
propertyPath: m_LocalPosition.z
value: 0
objectReference: {fileID: 0}
- target: {fileID: 4782543229931610, guid: 395a551931a0b5c479c9a0eb8883174e, type: 3}
propertyPath: m_LocalRotation.x
value: -0.7071068
objectReference: {fileID: 0}
- target: {fileID: 4782543229931610, guid: 395a551931a0b5c479c9a0eb8883174e, type: 3}
propertyPath: m_LocalRotation.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 4782543229931610, guid: 395a551931a0b5c479c9a0eb8883174e, type: 3}
propertyPath: m_LocalRotation.z
value: 0
objectReference: {fileID: 0}
- target: {fileID: 4782543229931610, guid: 395a551931a0b5c479c9a0eb8883174e, type: 3}
propertyPath: m_LocalRotation.w
value: 0.7071068
objectReference: {fileID: 0}
- target: {fileID: 4782543229931610, guid: 395a551931a0b5c479c9a0eb8883174e, type: 3}
propertyPath: m_RootOrder
value: 0
objectReference: {fileID: 0}
- target: {fileID: 4782543229931610, guid: 395a551931a0b5c479c9a0eb8883174e, type: 3}
propertyPath: m_LocalEulerAnglesHint.x
value: -90
objectReference: {fileID: 0}
- target: {fileID: 4782543229931610, guid: 395a551931a0b5c479c9a0eb8883174e, type: 3}
propertyPath: m_LocalEulerAnglesHint.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 4782543229931610, guid: 395a551931a0b5c479c9a0eb8883174e, type: 3}
propertyPath: m_LocalEulerAnglesHint.z
value: 0
objectReference: {fileID: 0}
- target: {fileID: 4782543229931610, guid: 395a551931a0b5c479c9a0eb8883174e, type: 3}
propertyPath: m_LocalScale.x
value: 0.1
objectReference: {fileID: 0}
- target: {fileID: 4782543229931610, guid: 395a551931a0b5c479c9a0eb8883174e, type: 3}
propertyPath: m_LocalScale.y
value: 0.1
objectReference: {fileID: 0}
- target: {fileID: 4782543229931610, guid: 395a551931a0b5c479c9a0eb8883174e, type: 3}
propertyPath: m_LocalScale.z
value: 0.1
objectReference: {fileID: 0}
- target: {fileID: 198086070272333474, guid: 395a551931a0b5c479c9a0eb8883174e,
type: 3}
propertyPath: playOnAwake
value: 0
objectReference: {fileID: 0}
- target: {fileID: 198199555026231770, guid: 395a551931a0b5c479c9a0eb8883174e,
type: 3}
propertyPath: playOnAwake
value: 0
objectReference: {fileID: 0}
- target: {fileID: 198228087042579892, guid: 395a551931a0b5c479c9a0eb8883174e,
type: 3}
propertyPath: playOnAwake
value: 0
objectReference: {fileID: 0}
- target: {fileID: 198273208475371820, guid: 395a551931a0b5c479c9a0eb8883174e,
type: 3}
propertyPath: playOnAwake
value: 0
objectReference: {fileID: 0}
m_RemovedComponents: []
m_SourcePrefab: {fileID: 100100000, guid: 395a551931a0b5c479c9a0eb8883174e, type: 3}
--- !u!4 &482084937 stripped
Transform:
m_CorrespondingSourceObject: {fileID: 5957448836964453913, guid: 15d49ef1e12d35a46b7c6fb953021b43,
...
...
@@ -7016,7 +7109,7 @@ MonoBehaviour:
m_Name:
m_EditorClassIdentifier:
VSpeed: 10
life: 30
0
life: 30
scale: 1
MinScale: 0.2
targetList:
...
...
@@ -7026,14 +7119,16 @@ MonoBehaviour:
MoveSpeed: 0
BirthplacePos: {fileID: 225105685}
EnemyNumber: 0
HurricaneKickDuration:
1
.5
HurricaneKickDuration:
2
.5
CurrentHurricaneKickDuration: 0
HurricaneKickCoolingTime: 5
CurrentHurricaneKickCoolingTime: 0
isDeltaTime: 0
LegSweep
Duration: 2
CurrentLegSweep
Duration
: 0
LegSweep
CoolingTime: 3
CurrentLegSweep
CoolingTime
: 0
isDeltaTime2: 0
ps: {fileID: 1539289411}
ps2: {fileID: 1857257943}
bossState: 0
--- !u!114 &557966605
MonoBehaviour:
...
...
@@ -7047,6 +7142,13 @@ MonoBehaviour:
m_Script: {fileID: 11500000, guid: 17ab4b61d0b362349828e661a3b978a3, type: 3}
m_Name:
m_EditorClassIdentifier:
IsFirstHurricaneKickBefor: 1
--- !u!4 &560453419 stripped
Transform:
m_CorrespondingSourceObject: {fileID: -1929953604373142485, guid: 092b5adfc35664b43a5e216c3aba0c4d,
type: 3}
m_PrefabInstance: {fileID: 10230692}
m_PrefabAsset: {fileID: 0}
--- !u!4 &560627449 stripped
Transform:
m_CorrespondingSourceObject: {fileID: 5957448836295836418, guid: 15d49ef1e12d35a46b7c6fb953021b43,
...
...
@@ -8190,6 +8292,80 @@ Transform:
type: 3}
m_PrefabInstance: {fileID: 6348171781088263581}
m_PrefabAsset: {fileID: 0}
--- !u!1 &627922856
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 627922857}
- component: {fileID: 627922859}
- component: {fileID: 627922858}
m_Layer: 5
m_Name: Handle
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!224 &627922857
RectTransform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 627922856}
m_LocalRotation: {x: -0, y: -0, z: -0, w: 1}
m_LocalPosition: {x: 0, y: 0, z: 0}
m_LocalScale: {x: 1, y: 1, z: 1}
m_Children: []
m_Father: {fileID: 1786395510}
m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 0, y: 1}
m_AnchoredPosition: {x: 0, y: 0}
m_SizeDelta: {x: 20, y: 0}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!114 &627922858
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 627922856}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: fe87c0e1cc204ed48ad3b37840f39efc, type: 3}
m_Name:
m_EditorClassIdentifier:
m_Material: {fileID: 0}
m_Color: {r: 1, g: 1, b: 1, a: 1}
m_RaycastTarget: 1
m_Maskable: 1
m_OnCullStateChanged:
m_PersistentCalls:
m_Calls: []
m_Sprite: {fileID: 10913, guid: 0000000000000000f000000000000000, type: 0}
m_Type: 0
m_PreserveAspect: 0
m_FillCenter: 1
m_FillMethod: 4
m_FillAmount: 1
m_FillClockwise: 1
m_FillOrigin: 0
m_UseSpriteMesh: 0
m_PixelsPerUnitMultiplier: 1
--- !u!222 &627922859
CanvasRenderer:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 627922856}
m_CullTransparentMesh: 0
--- !u!4 &631936636 stripped
Transform:
m_CorrespondingSourceObject: {fileID: 5957448837561108043, guid: 15d49ef1e12d35a46b7c6fb953021b43,
...
...
@@ -13055,13 +13231,13 @@ MonoBehaviour:
m_BestFit: 1
m_MinSize: 10
m_MaxSize: 40
m_Alignment:
4
m_Alignment:
5
m_AlignByGeometry: 0
m_RichText: 1
m_HorizontalOverflow: 0
m_VerticalOverflow: 0
m_LineSpacing: 1
m_Text: 0
m_Text:
Player:
0
--- !u!222 &1038163793
CanvasRenderer:
m_ObjectHideFlags: 0
...
...
@@ -13226,6 +13402,96 @@ Transform:
type: 3}
m_PrefabInstance: {fileID: 1049062807}
m_PrefabAsset: {fileID: 0}
--- !u!1 &1053674609
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 1053674610}
- component: {fileID: 1053674611}
m_Layer: 5
m_Name: Sliderttt
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 0
--- !u!224 &1053674610
RectTransform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1053674609}
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: 0, y: 0, z: 0}
m_LocalScale: {x: 1, y: 1, z: 1}
m_Children:
- {fileID: 1425301083}
- {fileID: 1707189524}
- {fileID: 1786395510}
- {fileID: 1584281790}
m_Father: {fileID: 6064464676460863999}
m_RootOrder: 15
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_SizeDelta: {x: 160, y: 20}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!114 &1053674611
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1053674609}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 67db9e8f0e2ae9c40bc1e2b64352a6b4, type: 3}
m_Name:
m_EditorClassIdentifier:
m_Navigation:
m_Mode: 3
m_SelectOnUp: {fileID: 0}
m_SelectOnDown: {fileID: 0}
m_SelectOnLeft: {fileID: 0}
m_SelectOnRight: {fileID: 0}
m_Transition: 1
m_Colors:
m_NormalColor: {r: 1, g: 1, b: 1, a: 1}
m_HighlightedColor: {r: 0.9607843, g: 0.9607843, b: 0.9607843, a: 1}
m_PressedColor: {r: 0.78431374, g: 0.78431374, b: 0.78431374, a: 1}
m_SelectedColor: {r: 0.9607843, g: 0.9607843, b: 0.9607843, a: 1}
m_DisabledColor: {r: 0.78431374, g: 0.78431374, b: 0.78431374, a: 0.5019608}
m_ColorMultiplier: 1
m_FadeDuration: 0.1
m_SpriteState:
m_HighlightedSprite: {fileID: 0}
m_PressedSprite: {fileID: 0}
m_SelectedSprite: {fileID: 0}
m_DisabledSprite: {fileID: 0}
m_AnimationTriggers:
m_NormalTrigger: Normal
m_HighlightedTrigger: Highlighted
m_PressedTrigger: Pressed
m_SelectedTrigger: Selected
m_DisabledTrigger: Disabled
m_Interactable: 1
m_TargetGraphic: {fileID: 627922858}
m_FillRect: {fileID: 1775716932}
m_HandleRect: {fileID: 627922857}
m_Direction: 0
m_MinValue: 0
m_MaxValue: 1
m_WholeNumbers: 0
m_Value: 0
m_OnValueChanged:
m_PersistentCalls:
m_Calls: []
--- !u!1001 &1058906189
PrefabInstance:
m_ObjectHideFlags: 0
...
...
@@ -15291,6 +15557,7 @@ MonoBehaviour:
HurricaneKickTrigger: {fileID: 7483224581113721909, guid: c39652e3caad45045b94236a228064ef,
type: 3}
attackType: 0
bossAnimationManager: {fileID: 557966605}
--- !u!4 &1273887236 stripped
Transform:
m_CorrespondingSourceObject: {fileID: 5957448837585653381, guid: 15d49ef1e12d35a46b7c6fb953021b43,
...
...
@@ -16711,13 +16978,13 @@ MonoBehaviour:
m_BestFit: 1
m_MinSize: 10
m_MaxSize: 40
m_Alignment:
4
m_Alignment:
5
m_AlignByGeometry: 0
m_RichText: 1
m_HorizontalOverflow: 0
m_VerticalOverflow: 0
m_LineSpacing: 1
m_Text: 0
m_Text:
Competitor1:
0
--- !u!222 &1390141545
CanvasRenderer:
m_ObjectHideFlags: 0
...
...
@@ -17343,6 +17610,80 @@ Transform:
type: 3}
m_PrefabInstance: {fileID: 6348171781088263581}
m_PrefabAsset: {fileID: 0}
--- !u!1 &1425301082
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 1425301083}
- component: {fileID: 1425301085}
- component: {fileID: 1425301084}
m_Layer: 5
m_Name: Background
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!224 &1425301083
RectTransform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1425301082}
m_LocalRotation: {x: -0, y: -0, z: -0, w: 1}
m_LocalPosition: {x: 0, y: 0, z: 0}
m_LocalScale: {x: 1, y: 1, z: 1}
m_Children: []
m_Father: {fileID: 1053674610}
m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0.25}
m_AnchorMax: {x: 1, y: 0.75}
m_AnchoredPosition: {x: 0, y: 0}
m_SizeDelta: {x: 0, y: 0}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!114 &1425301084
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1425301082}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: fe87c0e1cc204ed48ad3b37840f39efc, type: 3}
m_Name:
m_EditorClassIdentifier:
m_Material: {fileID: 0}
m_Color: {r: 1, g: 1, b: 1, a: 1}
m_RaycastTarget: 1
m_Maskable: 1
m_OnCullStateChanged:
m_PersistentCalls:
m_Calls: []
m_Sprite: {fileID: 10907, guid: 0000000000000000f000000000000000, type: 0}
m_Type: 1
m_PreserveAspect: 0
m_FillCenter: 1
m_FillMethod: 4
m_FillAmount: 1
m_FillClockwise: 1
m_FillOrigin: 0
m_UseSpriteMesh: 0
m_PixelsPerUnitMultiplier: 1
--- !u!222 &1425301085
CanvasRenderer:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1425301082}
m_CullTransparentMesh: 0
--- !u!4 &1430064526 stripped
Transform:
m_CorrespondingSourceObject: {fileID: 5957448836810748088, guid: 15d49ef1e12d35a46b7c6fb953021b43,
...
...
@@ -18401,6 +18742,12 @@ Transform:
type: 3}
m_PrefabInstance: {fileID: 2117735069}
m_PrefabAsset: {fileID: 0}
--- !u!198 &1539289411 stripped
ParticleSystem:
m_CorrespondingSourceObject: {fileID: 198273208475371820, guid: 395a551931a0b5c479c9a0eb8883174e,
type: 3}
m_PrefabInstance: {fileID: 479295527}
m_PrefabAsset: {fileID: 0}
--- !u!1001 &1540432564
PrefabInstance:
m_ObjectHideFlags: 0
...
...
@@ -18525,8 +18872,8 @@ MonoBehaviour:
m_Script: {fileID: 11500000, guid: 88224c51f1a97cf40895dff846d2a5b3, type: 3}
m_Name:
m_EditorClassIdentifier:
foodNumber:
10
0
timeSpan:
2
foodNumber:
4
0
timeSpan:
10
foodPoint:
- {fileID: 297527856}
- {fileID: 1128247090}
...
...
@@ -18822,6 +19169,161 @@ Transform:
type: 3}
m_PrefabInstance: {fileID: 6348171781088263581}
m_PrefabAsset: {fileID: 0}
--- !u!1 &1584281789
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 1584281790}
- component: {fileID: 1584281791}
- component: {fileID: 1584281792}
m_Layer: 5
m_Name: Text
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!224 &1584281790
RectTransform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1584281789}
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: 0, y: 0, z: 0}
m_LocalScale: {x: 1, y: 1, z: 1}
m_Children: []
m_Father: {fileID: 1053674610}
m_RootOrder: 3
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_SizeDelta: {x: 160, y: 30}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!222 &1584281791
CanvasRenderer:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1584281789}
m_CullTransparentMesh: 0
--- !u!114 &1584281792
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1584281789}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 5f7201a12d95ffc409449d95f23cf332, type: 3}
m_Name:
m_EditorClassIdentifier:
m_Material: {fileID: 0}
m_Color: {r: 0.19607843, g: 0.19607843, b: 0.19607843, a: 1}
m_RaycastTarget: 1
m_Maskable: 1
m_OnCullStateChanged:
m_PersistentCalls:
m_Calls: []
m_FontData:
m_Font: {fileID: 10102, guid: 0000000000000000e000000000000000, type: 0}
m_FontSize: 14
m_FontStyle: 0
m_BestFit: 0
m_MinSize: 10
m_MaxSize: 40
m_Alignment: 0
m_AlignByGeometry: 0
m_RichText: 1
m_HorizontalOverflow: 0
m_VerticalOverflow: 0
m_LineSpacing: 1
m_Text: New Text
--- !u!1001 &1584758817
PrefabInstance:
m_ObjectHideFlags: 0
serializedVersion: 2
m_Modification:
m_TransformParent: {fileID: 1266202730}
m_Modifications:
- target: {fileID: 101216, guid: 7108a4809ddc3c346be7edaacc087869, type: 3}
propertyPath: m_Name
value: PowerupGlow6
objectReference: {fileID: 0}
- target: {fileID: 412088, guid: 7108a4809ddc3c346be7edaacc087869, type: 3}
propertyPath: m_LocalPosition.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 412088, guid: 7108a4809ddc3c346be7edaacc087869, type: 3}
propertyPath: m_LocalPosition.y
value: 7.81
objectReference: {fileID: 0}
- target: {fileID: 412088, guid: 7108a4809ddc3c346be7edaacc087869, type: 3}
propertyPath: m_LocalPosition.z
value: 3.53
objectReference: {fileID: 0}
- target: {fileID: 412088, guid: 7108a4809ddc3c346be7edaacc087869, type: 3}
propertyPath: m_LocalRotation.x
value: -0.7071068
objectReference: {fileID: 0}
- target: {fileID: 412088, guid: 7108a4809ddc3c346be7edaacc087869, type: 3}
propertyPath: m_LocalRotation.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 412088, guid: 7108a4809ddc3c346be7edaacc087869, type: 3}
propertyPath: m_LocalRotation.z
value: 0
objectReference: {fileID: 0}
- target: {fileID: 412088, guid: 7108a4809ddc3c346be7edaacc087869, type: 3}
propertyPath: m_LocalRotation.w
value: 0.7071068
objectReference: {fileID: 0}
- target: {fileID: 412088, guid: 7108a4809ddc3c346be7edaacc087869, type: 3}
propertyPath: m_RootOrder
value: 2
objectReference: {fileID: 0}
- target: {fileID: 412088, guid: 7108a4809ddc3c346be7edaacc087869, type: 3}
propertyPath: m_LocalEulerAnglesHint.x
value: -90
objectReference: {fileID: 0}
- target: {fileID: 412088, guid: 7108a4809ddc3c346be7edaacc087869, type: 3}
propertyPath: m_LocalEulerAnglesHint.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 412088, guid: 7108a4809ddc3c346be7edaacc087869, type: 3}
propertyPath: m_LocalEulerAnglesHint.z
value: 0
objectReference: {fileID: 0}
- target: {fileID: 412088, guid: 7108a4809ddc3c346be7edaacc087869, type: 3}
propertyPath: m_LocalScale.x
value: 3
objectReference: {fileID: 0}
- target: {fileID: 412088, guid: 7108a4809ddc3c346be7edaacc087869, type: 3}
propertyPath: m_LocalScale.y
value: 3
objectReference: {fileID: 0}
- target: {fileID: 412088, guid: 7108a4809ddc3c346be7edaacc087869, type: 3}
propertyPath: m_LocalScale.z
value: 3
objectReference: {fileID: 0}
- target: {fileID: 19862646, guid: 7108a4809ddc3c346be7edaacc087869, type: 3}
propertyPath: playOnAwake
value: 0
objectReference: {fileID: 0}
- target: {fileID: 19872666, guid: 7108a4809ddc3c346be7edaacc087869, type: 3}
propertyPath: playOnAwake
value: 0
objectReference: {fileID: 0}
m_RemovedComponents: []
m_SourcePrefab: {fileID: 100100000, guid: 7108a4809ddc3c346be7edaacc087869, type: 3}
--- !u!1001 &1585739525
PrefabInstance:
m_ObjectHideFlags: 0
...
...
@@ -20837,13 +21339,13 @@ MonoBehaviour:
m_BestFit: 1
m_MinSize: 10
m_MaxSize: 40
m_Alignment:
4
m_Alignment:
5
m_AlignByGeometry: 0
m_RichText: 1
m_HorizontalOverflow: 0
m_VerticalOverflow: 0
m_LineSpacing: 1
m_Text: 0
m_Text:
Competitor1:
0
--- !u!222 &1697581069
CanvasRenderer:
m_ObjectHideFlags: 0
...
...
@@ -20939,6 +21441,42 @@ Transform:
type: 3}
m_PrefabInstance: {fileID: 1700834912}
m_PrefabAsset: {fileID: 0}
--- !u!1 &1707189523
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 1707189524}
m_Layer: 5
m_Name: Fill Area
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!224 &1707189524
RectTransform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1707189523}
m_LocalRotation: {x: -0, y: -0, z: -0, w: 1}
m_LocalPosition: {x: 0, y: 0, z: 0}
m_LocalScale: {x: 1, y: 1, z: 1}
m_Children:
- {fileID: 1775716932}
m_Father: {fileID: 1053674610}
m_RootOrder: 1
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0.25}
m_AnchorMax: {x: 1, y: 0.75}
m_AnchoredPosition: {x: -5, y: 0}
m_SizeDelta: {x: -20, y: 0}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!1001 &1713906594
PrefabInstance:
m_ObjectHideFlags: 0
...
...
@@ -21816,6 +22354,116 @@ Transform:
type: 3}
m_PrefabInstance: {fileID: 1769575259}
m_PrefabAsset: {fileID: 0}
--- !u!1 &1775716931
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 1775716932}
- component: {fileID: 1775716934}
- component: {fileID: 1775716933}
m_Layer: 5
m_Name: Fill
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!224 &1775716932
RectTransform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1775716931}
m_LocalRotation: {x: -0, y: -0, z: -0, w: 1}
m_LocalPosition: {x: 0, y: 0, z: 0}
m_LocalScale: {x: 1, y: 1, z: 1}
m_Children: []
m_Father: {fileID: 1707189524}
m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 0, y: 1}
m_AnchoredPosition: {x: 0, y: 0}
m_SizeDelta: {x: 10, y: 0}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!114 &1775716933
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1775716931}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: fe87c0e1cc204ed48ad3b37840f39efc, type: 3}
m_Name:
m_EditorClassIdentifier:
m_Material: {fileID: 0}
m_Color: {r: 1, g: 1, b: 1, a: 1}
m_RaycastTarget: 1
m_Maskable: 1
m_OnCullStateChanged:
m_PersistentCalls:
m_Calls: []
m_Sprite: {fileID: 10905, guid: 0000000000000000f000000000000000, type: 0}
m_Type: 1
m_PreserveAspect: 0
m_FillCenter: 1
m_FillMethod: 4
m_FillAmount: 1
m_FillClockwise: 1
m_FillOrigin: 0
m_UseSpriteMesh: 0
m_PixelsPerUnitMultiplier: 1
--- !u!222 &1775716934
CanvasRenderer:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1775716931}
m_CullTransparentMesh: 0
--- !u!1 &1786395509
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 1786395510}
m_Layer: 5
m_Name: Handle Slide Area
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!224 &1786395510
RectTransform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1786395509}
m_LocalRotation: {x: -0, y: -0, z: -0, w: 1}
m_LocalPosition: {x: 0, y: 0, z: 0}
m_LocalScale: {x: 1, y: 1, z: 1}
m_Children:
- {fileID: 627922857}
m_Father: {fileID: 1053674610}
m_RootOrder: 2
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 1, y: 1}
m_AnchoredPosition: {x: 0, y: 0}
m_SizeDelta: {x: -20, y: 0}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!4 &1788094355 stripped
Transform:
m_CorrespondingSourceObject: {fileID: 5957448836899259171, guid: 15d49ef1e12d35a46b7c6fb953021b43,
...
...
@@ -22651,6 +23299,12 @@ Transform:
type: 3}
m_PrefabInstance: {fileID: 1856421172}
m_PrefabAsset: {fileID: 0}
--- !u!198 &1857257943 stripped
ParticleSystem:
m_CorrespondingSourceObject: {fileID: 19862646, guid: 7108a4809ddc3c346be7edaacc087869,
type: 3}
m_PrefabInstance: {fileID: 1584758817}
m_PrefabAsset: {fileID: 0}
--- !u!4 &1861408431 stripped
Transform:
m_CorrespondingSourceObject: {fileID: 5957448836506524047, guid: 15d49ef1e12d35a46b7c6fb953021b43,
...
...
@@ -35009,8 +35663,8 @@ MonoBehaviour:
- {fileID: 4698874705288598905}
m_boomBtn: {fileID: 3314642095703479172}
m_symbolObj: {fileID: 8615814291949241653}
sliderScore: {fileID:
0
}
ScoreTex: {fileID:
0
}
sliderScore: {fileID:
1053674611
}
ScoreTex: {fileID:
1584281792
}
Timer: {fileID: 570137534}
text1: {fileID: 1731547600}
text2: {fileID: 492618779}
...
...
@@ -35086,6 +35740,7 @@ RectTransform:
- {fileID: 1625839684}
- {fileID: 9048927092071800178}
- {fileID: 7859706534878010559}
- {fileID: 1053674610}
m_Father: {fileID: 0}
m_RootOrder: 1
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
BattleMuscle/Assets/My/HurricaneKickBefor.anim
0 → 100644
View file @
b24f623e
%YAML
1.1
%TAG
!u!
tag:unity3d.com,2011:
---
!u!74
&7400000
AnimationClip
:
m_ObjectHideFlags
:
0
m_CorrespondingSourceObject
:
{
fileID
:
0
}
m_PrefabInstance
:
{
fileID
:
0
}
m_PrefabAsset
:
{
fileID
:
0
}
m_Name
:
HurricaneKickBefor
serializedVersion
:
6
m_Legacy
:
0
m_Compressed
:
0
m_UseHighQualityCurve
:
1
m_RotationCurves
:
[]
m_CompressedRotationCurves
:
[]
m_EulerCurves
:
[]
m_PositionCurves
:
[]
m_ScaleCurves
:
[]
m_FloatCurves
:
[]
m_PPtrCurves
:
[]
m_SampleRate
:
60
m_WrapMode
:
0
m_Bounds
:
m_Center
:
{
x
:
0
,
y
:
0
,
z
:
0
}
m_Extent
:
{
x
:
0
,
y
:
0
,
z
:
0
}
m_ClipBindingConstant
:
genericBindings
:
[]
pptrCurveMapping
:
[]
m_AnimationClipSettings
:
serializedVersion
:
2
m_AdditiveReferencePoseClip
:
{
fileID
:
0
}
m_AdditiveReferencePoseTime
:
0
m_StartTime
:
0
m_StopTime
:
0.98333335
m_OrientationOffsetY
:
0
m_Level
:
0
m_CycleOffset
:
0
m_HasAdditiveReferencePose
:
0
m_LoopTime
:
1
m_LoopBlend
:
0
m_LoopBlendOrientation
:
0
m_LoopBlendPositionY
:
0
m_LoopBlendPositionXZ
:
0
m_KeepOriginalOrientation
:
0
m_KeepOriginalPositionY
:
1
m_KeepOriginalPositionXZ
:
0
m_HeightFromFeet
:
0
m_Mirror
:
0
m_EditorCurves
:
[]
m_EulerEditorCurves
:
[]
m_HasGenericRootTransform
:
0
m_HasMotionFloatCurves
:
0
m_Events
:
-
time
:
0.98333335
functionName
:
HurricaneKickBeforEnd
data
:
objectReferenceParameter
:
{
fileID
:
0
}
floatParameter
:
0
intParameter
:
0
messageOptions
:
0
BattleMuscle/Assets/My/HurricaneKickBefor.anim.meta
0 → 100644
View file @
b24f623e
fileFormatVersion: 2
guid: d266a3801edfb2d4ebf814eeea93f5d2
NativeFormatImporter:
externalObjects: {}
mainObjectFileID: 0
userData:
assetBundleName:
assetBundleVariant:
BattleMuscle/Assets/My/Model/HurricaneKickTrigger.prefab
View file @
b24f623e
...
...
@@ -50,7 +50,7 @@ MeshRenderer:
m_PrefabInstance
:
{
fileID
:
0
}
m_PrefabAsset
:
{
fileID
:
0
}
m_GameObject
:
{
fileID
:
7483224581113721909
}
m_Enabled
:
1
m_Enabled
:
0
m_CastShadows
:
1
m_ReceiveShadows
:
1
m_DynamicOccludee
:
1
...
...
BattleMuscle/Assets/My/Model/LegSweepTrigger.prefab
View file @
b24f623e
...
...
@@ -50,7 +50,7 @@ MeshRenderer:
m_PrefabInstance
:
{
fileID
:
0
}
m_PrefabAsset
:
{
fileID
:
0
}
m_GameObject
:
{
fileID
:
6039842180593449807
}
m_Enabled
:
1
m_Enabled
:
0
m_CastShadows
:
1
m_ReceiveShadows
:
1
m_DynamicOccludee
:
1
...
...
BattleMuscle/Assets/My/Scripts/AI/BossAnimationManager.cs
View file @
b24f623e
...
...
@@ -6,16 +6,32 @@ public enum BossAnimationState
{
LegSweep
=
1
,
HurricaneKick
=
2
,
NotAttack
=
3
NotAttack
=
3
,
}
public
class
BossAnimationManager
:
MonoBehaviour
{
private
Animator
animator
;
private
float
HurricaneKickTimer
=
0
;
public
bool
IsFirstHurricaneKickBefor
=
true
;
void
Start
()
{
animator
=
GetComponentInChildren
<
Animator
>();
}
private
void
Update
()
{
if
(!
IsFirstHurricaneKickBefor
)
{
HurricaneKickTimer
+=
Time
.
deltaTime
;
}
else
{
HurricaneKickTimer
=
0
;
}
}
public
void
ChangeAnimatorState
(
BossAnimationState
state
)
{
...
...
@@ -24,20 +40,45 @@ public class BossAnimationManager : MonoBehaviour
{
case
BossAnimationState
.
LegSweep
:
IsFirstHurricaneKickBefor
=
true
;
HurricaneKickTimer
=
0
;
animator
.
SetBool
(
"HurricaneKick"
,
false
);
animator
.
SetBool
(
"LegSweep"
,
true
);
animator
.
SetFloat
(
"MoveSpeed"
,
0
);
break
;
case
BossAnimationState
.
HurricaneKick
:
//--------第一次旋转需要停留一秒钟----------------------------------------------
if
(
IsFirstHurricaneKickBefor
)
{
IsFirstHurricaneKickBefor
=
false
;
}
if
(
HurricaneKickTimer
<=
1f
)
{
print
(
"第一次播放。"
);
animator
.
SetBool
(
"IsFirstHurricaneKickBefor"
,
true
);
}
else
{
print
(
"不是第一次播放。"
);
animator
.
SetBool
(
"IsFirstHurricaneKickBefor"
,
false
);
animator
.
SetBool
(
"HurricaneKickBefor"
,
true
);
animator
.
SetBool
(
"HurricaneKick"
,
true
);
animator
.
SetBool
(
"LegSweep"
,
false
);
animator
.
SetFloat
(
"MoveSpeed"
,
0
)
;
animator
.
SetFloat
(
"MoveSpeed"
,
0
);
}
break
;
case
BossAnimationState
.
NotAttack
:
IsFirstHurricaneKickBefor
=
true
;
HurricaneKickTimer
=
0
;
animator
.
SetBool
(
"HurricaneKick"
,
false
);
animator
.
SetBool
(
"LegSweep"
,
false
);
break
;
default
:
IsFirstHurricaneKickBefor
=
true
;
HurricaneKickTimer
=
0
;
animator
.
SetBool
(
"HurricaneKick"
,
false
);
animator
.
SetBool
(
"LegSweep"
,
false
);
Debug
.
LogError
(
state
);
...
...
@@ -45,6 +86,12 @@ public class BossAnimationManager : MonoBehaviour
}
}
//public void SetIsFirstHurricaneKickBefor()
//{
// animator.SetBool("IsFirstHurricaneKickBefor", false);
//}
}
BattleMuscle/Assets/My/Scripts/AI/BossAttack.cs
View file @
b24f623e
...
...
@@ -21,11 +21,14 @@ public class BossAttack : MonoBehaviour
public
AttackType
attackType
=
AttackType
.
Null
;
private
Animator
animator
;
public
BossAnimationManager
bossAnimationManager
;
// Start is called before the first frame update
void
Start
()
{
animator
=
GetComponentInChildren
<
Animator
>();
}
// Update is called once per frame
...
...
@@ -63,6 +66,16 @@ public class BossAttack : MonoBehaviour
print
(
"改变boss攻击状态为:"
+
attackType
);
}
public
void
HurricaneKickBeforEnable
()
{
animator
.
SetBool
(
"HurricaneKickBefor"
,
false
);
}
/// <summary>
/// HurricaneKickBefor状态结束时调用。
/// </summary>
public
void
HurricaneKickBeforEnd
()
{
animator
.
SetBool
(
"HurricaneKickBefor"
,
false
);
animator
.
SetBool
(
"HurricaneKick"
,
true
);
}
}
BattleMuscle/Assets/My/Scripts/AI/BossAttackDamageRange.cs
View file @
b24f623e
...
...
@@ -34,7 +34,7 @@ public class BossAttackDamageRange : MonoBehaviour
other
.
gameObject
.
GetComponentInChildren
<
AIMove
>().
Hurt
(
0.5f
);
ps
=
Instantiate
(
hitEffects
,
hitPos
,
transform
.
rotation
);
ps
.
gameObject
.
AddComponent
<
DestroyMySel
>();
Handheld
.
Vibrate
();
//手机震动
//
Handheld.Vibrate();//手机震动
}
}
...
...
BattleMuscle/Assets/My/Scripts/AI/BossMove.cs
View file @
b24f623e
...
...
@@ -35,7 +35,7 @@ public class BossMove : MonoBehaviour
[
Header
(
"旋风腿"
)]
[
Tooltip
(
"旋风腿持续时间"
)]
public
float
HurricaneKickDuration
=
3
;
public
float
HurricaneKickDuration
=
1.5f
;
public
float
CurrentHurricaneKickDuration
=
0
;
[
Tooltip
(
"旋风腿冷却时间"
)]
public
float
HurricaneKickCoolingTime
=
5
;
...
...
@@ -45,8 +45,8 @@ public class BossMove : MonoBehaviour
[
Header
(
"扫腿"
)]
[
Tooltip
(
"扫腿冷却时间"
)]
public
float
LegSweep
Duration
=
2
;
public
float
CurrentLegSweep
Duration
=
0
;
public
float
LegSweep
CoolingTime
=
3
;
public
float
CurrentLegSweep
CoolingTime
=
0
;
[
Tooltip
(
"扫腿技能是否处于冷却中"
)]
public
bool
isDeltaTime2
=
false
;
...
...
@@ -57,6 +57,9 @@ public class BossMove : MonoBehaviour
private
bool
IsCanMove
=
true
;
private
bool
isHurricaneKick
=
false
;
public
ParticleSystem
ps
;
public
ParticleSystem
ps2
;
...
...
@@ -159,10 +162,12 @@ public class BossMove : MonoBehaviour
if
(
isDeltaTime2
)
{
//扫腿处于冷却中。
CurrentLegSweepDuration
+=
Time
.
deltaTime
;
if
(
CurrentLegSweepDuration
>=
LegSweepDuration
)
print
(
"扫腿冷却中"
);
CurrentLegSweepCoolingTime
+=
Time
.
deltaTime
;
if
(
CurrentLegSweepCoolingTime
>=
LegSweepCoolingTime
)
{
CurrentLegSweepDuration
=
0
;
print
(
"扫腿冷却完毕"
);
CurrentLegSweepCoolingTime
=
0
;
isDeltaTime2
=
false
;
}
}
...
...
@@ -234,6 +239,9 @@ public class BossMove : MonoBehaviour
{
//附近有2个人就触发,技能好了就等待,当前播放的动画不是扫腿就开始播放旋风腿。
print
(
"旋风腿"
);
ps
.
Play
();
ps2
.
Play
();
CurrentHurricaneKickDuration
+=
Time
.
deltaTime
;
//旋风腿持续时间减少
if
(
CurrentHurricaneKickDuration
>=
HurricaneKickDuration
)
{
...
...
@@ -241,6 +249,8 @@ public class BossMove : MonoBehaviour
isDeltaTime
=
true
;
isHurricaneKick
=
false
;
//重新计时冷却时间
ps
.
Stop
();
ps2
.
Stop
();
CurrentHurricaneKickCoolingTime
=
0
;
CurrentHurricaneKickDuration
=
0
;
}
...
...
BattleMuscle/Assets/My/Scripts/Player/AttackTrigger.cs
View file @
b24f623e
...
...
@@ -51,7 +51,7 @@ public class AttackTrigger : MonoBehaviour
other
.
gameObject
.
GetComponentInChildren
<
PlayerMove
>().
Hurt
(
0.5f
);
ps
=
Instantiate
(
hitEffects
,
hitPos
.
transform
.
position
,
hitPos
.
transform
.
rotation
);
ps
.
gameObject
.
AddComponent
<
DestroyMySel
>();
Handheld
.
Vibrate
();
//手机震动
//
Handheld.Vibrate();//手机震动
}
else
if
(
other
.
tag
==
"Competitor"
)
...
...
@@ -59,7 +59,11 @@ public class AttackTrigger : MonoBehaviour
other
.
gameObject
.
GetComponentInChildren
<
AIMove
>().
Hurt
(
0.5f
);
ps
=
Instantiate
(
hitEffects
,
hitPos
.
transform
.
position
,
hitPos
.
transform
.
rotation
);
ps
.
gameObject
.
AddComponent
<
DestroyMySel
>();
if
(
Root
.
tag
==
"Player"
)
{
Handheld
.
Vibrate
();
//手机震动
}
}
else
if
(
other
.
tag
==
"Boss"
)
...
...
@@ -67,7 +71,10 @@ public class AttackTrigger : MonoBehaviour
other
.
gameObject
.
GetComponentInChildren
<
BossMove
>().
Hurt
(
1
);
ps
=
Instantiate
(
hitEffects
,
hitPos
.
transform
.
position
,
hitPos
.
transform
.
rotation
);
ps
.
gameObject
.
AddComponent
<
DestroyMySel
>();
if
(
Root
.
tag
==
"Player"
)
{
Handheld
.
Vibrate
();
//手机震动
}
if
(
Root
.
name
==
"Player"
)
{
Root
.
GetComponentInChildren
<
PlayerMove
>().
UpdateScore
(
2
);
...
...
BattleMuscle/Assets/My/Scripts/Player/PlayerMove.cs
View file @
b24f623e
...
...
@@ -74,6 +74,7 @@ public class PlayerMove : MonoBehaviour
if
(
other
.
tag
==
"Food"
)
{
//print("吃到食物。");
Handheld
.
Vibrate
();
//手机震动
UpdateScore
(
1
);
if
(
scale
>=
(
1
+
MaxFood
*
addScale
))
{
...
...
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