Commit e4adaa0f authored by czy's avatar czy

添加Boss以及Boss伤害

parent 79d1e2eb
fileFormatVersion: 2
guid: 2f398cd3335e427428328818a6e16956
guid: 4fa5e2fcf083f8f42bfb642fa925c6b7
folderAsset: yes
DefaultImporter:
externalObjects: {}
......
......@@ -1414,8 +1414,8 @@ AnimationClip:
m_Level: 0
m_CycleOffset: 0
m_HasAdditiveReferencePose: 0
m_LoopTime: 0
m_LoopBlend: 0
m_LoopTime: 1
m_LoopBlend: 1
m_LoopBlendOrientation: 0
m_LoopBlendPositionY: 0
m_LoopBlendPositionXZ: 0
......@@ -8458,4 +8458,11 @@ AnimationClip:
script: {fileID: 0}
m_HasGenericRootTransform: 0
m_HasMotionFloatCurves: 0
m_Events: []
m_Events:
- time: 0
functionName: ChangeAttackType
data:
objectReferenceParameter: {fileID: 0}
floatParameter: 0
intParameter: 2
messageOptions: 0
%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: Idle
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
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
functionName: ChangeAttackType
data:
objectReferenceParameter: {fileID: 0}
floatParameter: 0
intParameter: 0
messageOptions: 0
fileFormatVersion: 2
guid: 5ee8ce777d6cb89459716b5e56ad39a5
NativeFormatImporter:
externalObjects: {}
mainObjectFileID: 0
userData:
assetBundleName:
assetBundleVariant:
fileFormatVersion: 2
guid: 835686e6351dbb84fb2e9150838327a4
NativeFormatImporter:
externalObjects: {}
mainObjectFileID: 0
userData:
assetBundleName:
assetBundleVariant:
This source diff could not be displayed because it is too large. You can view the blob instead.
fileFormatVersion: 2
guid: c3a674b0eeac5d24b988ad5ad0f379e5
NativeFormatImporter:
externalObjects: {}
mainObjectFileID: 0
userData:
assetBundleName:
assetBundleVariant:
fileFormatVersion: 2
guid: 826af287e1ba56b4eaf76a578a33e101
guid: 81d79700b64760c4496fc796cf2acc00
folderAsset: yes
DefaultImporter:
externalObjects: {}
......
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!1101 &-8306793983816526677
AnimatorStateTransition:
m_ObjectHideFlags: 1
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_Name:
m_Conditions: []
m_DstStateMachine: {fileID: 0}
m_DstState: {fileID: -340101015679708446}
m_Solo: 0
m_Mute: 0
m_IsExit: 0
serializedVersion: 3
m_TransitionDuration: 0.25
m_TransitionOffset: 0
m_ExitTime: 0.8636364
m_HasExitTime: 1
m_HasFixedDuration: 1
m_InterruptionSource: 0
m_OrderedInterruption: 1
m_CanTransitionToSelf: 1
--- !u!1107 &-8002753567531812254
AnimatorStateMachine:
serializedVersion: 5
......@@ -33,16 +11,16 @@ AnimatorStateMachine:
m_ChildStates:
- serializedVersion: 1
m_State: {fileID: -7856523028850394630}
m_Position: {x: 250, y: 30, z: 0}
- serializedVersion: 1
m_State: {fileID: 2416042625615780993}
m_Position: {x: 510, y: 30, z: 0}
m_Position: {x: -180, y: 200, z: 0}
- serializedVersion: 1
m_State: {fileID: 4471307210666310047}
m_Position: {x: 250, y: 170, z: 0}
m_Position: {x: -220, y: 320, z: 0}
- serializedVersion: 1
m_State: {fileID: -340101015679708446}
m_Position: {x: 520, y: 170, z: 0}
m_Position: {x: 30, y: 460, z: 0}
- serializedVersion: 1
m_State: {fileID: -5355840141299690807}
m_Position: {x: 30, y: 330, z: 0}
m_ChildStateMachines: []
m_AnyStateTransitions: []
m_EntryTransitions: []
......@@ -50,9 +28,9 @@ AnimatorStateMachine:
m_StateMachineBehaviours: []
m_AnyStatePosition: {x: 50, y: 20, z: 0}
m_EntryPosition: {x: 50, y: 120, z: 0}
m_ExitPosition: {x: 800, y: 120, z: 0}
m_ExitPosition: {x: 80, y: 620, z: 0}
m_ParentStateMachinePosition: {x: 800, y: 20, z: 0}
m_DefaultState: {fileID: -7856523028850394630}
m_DefaultState: {fileID: -5355840141299690807}
--- !u!1102 &-7856523028850394630
AnimatorState:
serializedVersion: 5
......@@ -60,11 +38,11 @@ AnimatorState:
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_Name: Running2
m_Name: Running
m_Speed: 1
m_CycleOffset: 0
m_Transitions:
- {fileID: 7435512687331368735}
- {fileID: 9215743797728680209}
m_StateMachineBehaviours: []
m_Position: {x: 50, y: 50, z: 0}
m_IKOnFeet: 0
......@@ -80,36 +58,46 @@ AnimatorState:
m_MirrorParameter:
m_CycleOffsetParameter:
m_TimeParameter:
--- !u!1101 &-4818862182480953434
AnimatorStateTransition:
--- !u!1102 &-5355840141299690807
AnimatorState:
serializedVersion: 5
m_ObjectHideFlags: 1
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_Name:
m_Conditions: []
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.6428572
m_HasExitTime: 1
m_HasFixedDuration: 1
m_InterruptionSource: 0
m_OrderedInterruption: 1
m_CanTransitionToSelf: 1
--- !u!1101 &-1711718038297474370
m_Name: Idle
m_Speed: 1
m_CycleOffset: 0
m_Transitions:
- {fileID: -1573847190218674684}
- {fileID: 8852921774420047574}
- {fileID: 6084528436147092541}
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: 5ee8ce777d6cb89459716b5e56ad39a5, type: 2}
m_Tag:
m_SpeedParameter:
m_MirrorParameter:
m_CycleOffsetParameter:
m_TimeParameter:
--- !u!1101 &-1573847190218674684
AnimatorStateTransition:
m_ObjectHideFlags: 1
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_Name:
m_Conditions: []
m_Conditions:
- m_ConditionMode: 3
m_ConditionEvent: MoveSpeed
m_EventTreshold: 0.2
m_DstStateMachine: {fileID: 0}
m_DstState: {fileID: -7856523028850394630}
m_Solo: 0
......@@ -118,8 +106,8 @@ AnimatorStateTransition:
serializedVersion: 3
m_TransitionDuration: 0.25
m_TransitionOffset: 0
m_ExitTime: 0.89285713
m_HasExitTime: 1
m_ExitTime: 0.75
m_HasExitTime: 0
m_HasFixedDuration: 1
m_InterruptionSource: 0
m_OrderedInterruption: 1
......@@ -135,7 +123,7 @@ AnimatorState:
m_Speed: 1
m_CycleOffset: 0
m_Transitions:
- {fileID: -1711718038297474370}
- {fileID: 4032888935653943640}
m_StateMachineBehaviours: []
m_Position: {x: 50, y: 50, z: 0}
m_IKOnFeet: 0
......@@ -159,7 +147,25 @@ AnimatorController:
m_PrefabAsset: {fileID: 0}
m_Name: Running2
serializedVersion: 5
m_AnimatorParameters: []
m_AnimatorParameters:
- m_Name: MoveSpeed
m_Type: 1
m_DefaultFloat: 0
m_DefaultInt: 0
m_DefaultBool: 0
m_Controller: {fileID: 0}
- m_Name: LegSweep
m_Type: 4
m_DefaultFloat: 0
m_DefaultInt: 0
m_DefaultBool: 0
m_Controller: {fileID: 0}
- m_Name: HurricaneKick
m_Type: 4
m_DefaultFloat: 0
m_DefaultInt: 0
m_DefaultBool: 0
m_Controller: {fileID: 0}
m_AnimatorLayers:
- serializedVersion: 5
m_Name: Base Layer
......@@ -173,33 +179,31 @@ AnimatorController:
m_IKPass: 0
m_SyncedLayerAffectsTiming: 0
m_Controller: {fileID: 9100000}
--- !u!1102 &2416042625615780993
AnimatorState:
serializedVersion: 5
--- !u!1101 &4032888935653943640
AnimatorStateTransition:
m_ObjectHideFlags: 1
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_Name: Running (1)
m_Speed: 1
m_CycleOffset: 0
m_Transitions:
- {fileID: -4818862182480953434}
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: 835686e6351dbb84fb2e9150838327a4, type: 2}
m_Tag:
m_SpeedParameter:
m_MirrorParameter:
m_CycleOffsetParameter:
m_TimeParameter:
m_Name:
m_Conditions:
- m_ConditionMode: 2
m_ConditionEvent: LegSweep
m_EventTreshold: 0
m_DstStateMachine: {fileID: 0}
m_DstState: {fileID: -5355840141299690807}
m_Solo: 0
m_Mute: 0
m_IsExit: 0
serializedVersion: 3
m_TransitionDuration: 0.25
m_TransitionOffset: 0
m_ExitTime: 0.89285713
m_HasExitTime: 1
m_HasFixedDuration: 1
m_InterruptionSource: 0
m_OrderedInterruption: 1
m_CanTransitionToSelf: 1
--- !u!1102 &4471307210666310047
AnimatorState:
serializedVersion: 5
......@@ -211,7 +215,7 @@ AnimatorState:
m_Speed: 1
m_CycleOffset: 0
m_Transitions:
- {fileID: -8306793983816526677}
- {fileID: 6957880257579340654}
m_StateMachineBehaviours: []
m_Position: {x: 50, y: 50, z: 0}
m_IKOnFeet: 0
......@@ -227,25 +231,103 @@ AnimatorState:
m_MirrorParameter:
m_CycleOffsetParameter:
m_TimeParameter:
--- !u!1101 &7435512687331368735
--- !u!1101 &6084528436147092541
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: HurricaneKick
m_EventTreshold: 0
m_DstStateMachine: {fileID: 0}
m_DstState: {fileID: 2416042625615780993}
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.6428572
m_ExitTime: 0.75
m_HasExitTime: 1
m_HasFixedDuration: 1
m_InterruptionSource: 0
m_OrderedInterruption: 1
m_CanTransitionToSelf: 1
--- !u!1101 &6957880257579340654
AnimatorStateTransition:
m_ObjectHideFlags: 1
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_Name:
m_Conditions:
- m_ConditionMode: 2
m_ConditionEvent: HurricaneKick
m_EventTreshold: 0
m_DstStateMachine: {fileID: 0}
m_DstState: {fileID: -5355840141299690807}
m_Solo: 0
m_Mute: 0
m_IsExit: 0
serializedVersion: 3
m_TransitionDuration: 0.03374338
m_TransitionOffset: 0
m_ExitTime: 0.9815945
m_HasExitTime: 1
m_HasFixedDuration: 1
m_InterruptionSource: 0
m_OrderedInterruption: 1
m_CanTransitionToSelf: 1
--- !u!1101 &8852921774420047574
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: LegSweep
m_EventTreshold: 0
m_DstStateMachine: {fileID: 0}
m_DstState: {fileID: -340101015679708446}
m_Solo: 0
m_Mute: 0
m_IsExit: 0
serializedVersion: 3
m_TransitionDuration: 0.25
m_TransitionOffset: 0
m_ExitTime: 0.75
m_HasExitTime: 0
m_HasFixedDuration: 1
m_InterruptionSource: 0
m_OrderedInterruption: 1
m_CanTransitionToSelf: 1
--- !u!1101 &9215743797728680209
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_DstStateMachine: {fileID: 0}
m_DstState: {fileID: -5355840141299690807}
m_Solo: 0
m_Mute: 0
m_IsExit: 0
serializedVersion: 3
m_TransitionDuration: 0.25
m_TransitionOffset: 0
m_ExitTime: 0.6428572
m_HasExitTime: 0
m_HasFixedDuration: 1
m_InterruptionSource: 0
m_OrderedInterruption: 1
m_CanTransitionToSelf: 1
......@@ -377,37 +377,37 @@ AnimatorController:
m_DefaultFloat: 0
m_DefaultInt: 0
m_DefaultBool: 0
m_Controller: {fileID: 0}
m_Controller: {fileID: 9100000}
- m_Name: MoveSpeed
m_Type: 1
m_DefaultFloat: 0
m_DefaultInt: 0
m_DefaultBool: 0
m_Controller: {fileID: 0}
m_Controller: {fileID: 9100000}
- m_Name: Push
m_Type: 4
m_DefaultFloat: 0
m_DefaultInt: 0
m_DefaultBool: 0
m_Controller: {fileID: 0}
m_Controller: {fileID: 9100000}
- m_Name: Grounded
m_Type: 4
m_DefaultFloat: 0
m_DefaultInt: 0
m_DefaultBool: 0
m_Controller: {fileID: 0}
m_Controller: {fileID: 9100000}
- m_Name: Vertigo
m_Type: 4
m_DefaultFloat: 0
m_DefaultInt: 0
m_DefaultBool: 0
m_Controller: {fileID: 0}
m_Controller: {fileID: 9100000}
- m_Name: Power
m_Type: 1
m_DefaultFloat: 1.001
m_DefaultInt: 0
m_DefaultBool: 0
m_Controller: {fileID: 0}
m_Controller: {fileID: 9100000}
m_AnimatorLayers:
- serializedVersion: 5
m_Name: Base Layer
......@@ -507,7 +507,7 @@ AnimatorState:
m_MirrorParameterActive: 0
m_CycleOffsetParameterActive: 0
m_TimeParameterActive: 0
m_Motion: {fileID: 7400000, guid: a83e0d41eb2e07b499aadfa1041bf9f7, type: 2}
m_Motion: {fileID: 7400000, guid: 257806efffd780a47a539f43ca6c11a6, type: 2}
m_Tag:
m_SpeedParameter:
m_MirrorParameter:
......
......@@ -33,7 +33,36 @@ ModelImporter:
animationWrapMode: 0
extraExposedTransformPaths: []
extraUserProperties: []
clipAnimations: []
clipAnimations:
- serializedVersion: 16
name: mixamo.com
takeName: mixamo.com
internalID: 0
firstFrame: 0
lastFrame: 70
wrapMode: 0
orientationOffsetY: 0
level: 0
cycleOffset: 0
loop: 0
hasAdditiveReferencePose: 0
loopTime: 0
loopBlend: 0
loopBlendOrientation: 0
loopBlendPositionY: 0
loopBlendPositionXZ: 0
keepOriginalOrientation: 0
keepOriginalPositionY: 1
keepOriginalPositionXZ: 0
heightFromFeet: 0
mirror: 0
bodyMask: 01000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000
curves: []
events: []
transformMask: []
maskType: 3
maskSource: {instanceID: 0}
additiveReferencePoseFrame: 0
isReadable: 0
meshes:
lODScreenPercentages: []
......
......@@ -72,93 +72,6 @@ ModelImporter:
maskType: 3
maskSource: {instanceID: 0}
additiveReferencePoseFrame: 0
- serializedVersion: 16
name: RunForward
takeName: mixamo.com
internalID: 0
firstFrame: 0
lastFrame: 10.6
wrapMode: 0
orientationOffsetY: 0
level: 0
cycleOffset: 0
loop: 0
hasAdditiveReferencePose: 0
loopTime: 1
loopBlend: 1
loopBlendOrientation: 0
loopBlendPositionY: 0
loopBlendPositionXZ: 0
keepOriginalOrientation: 0
keepOriginalPositionY: 1
keepOriginalPositionXZ: 0
heightFromFeet: 0
mirror: 0
bodyMask: 01000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000
curves: []
events: []
transformMask: []
maskType: 3
maskSource: {instanceID: 0}
additiveReferencePoseFrame: 0
- serializedVersion: 16
name: RunMid
takeName: mixamo.com
internalID: 0
firstFrame: 10.6
lastFrame: 15.1
wrapMode: 0
orientationOffsetY: 0
level: 0
cycleOffset: 0
loop: 0
hasAdditiveReferencePose: 0
loopTime: 1
loopBlend: 0
loopBlendOrientation: 0
loopBlendPositionY: 0
loopBlendPositionXZ: 0
keepOriginalOrientation: 0
keepOriginalPositionY: 1
keepOriginalPositionXZ: 0
heightFromFeet: 0
mirror: 0
bodyMask: 01000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000
curves: []
events: []
transformMask: []
maskType: 3
maskSource: {instanceID: 0}
additiveReferencePoseFrame: 0
- serializedVersion: 16
name: RunEnd
takeName: mixamo.com
internalID: 0
firstFrame: 15.1
lastFrame: 21
wrapMode: 0
orientationOffsetY: 0
level: 0
cycleOffset: 0
loop: 0
hasAdditiveReferencePose: 0
loopTime: 1
loopBlend: 0
loopBlendOrientation: 0
loopBlendPositionY: 0
loopBlendPositionXZ: 0
keepOriginalOrientation: 0
keepOriginalPositionY: 1
keepOriginalPositionXZ: 0
heightFromFeet: 0
mirror: 0
bodyMask: 01000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000
curves: []
events: []
transformMask: []
maskType: 3
maskSource: {instanceID: 0}
additiveReferencePoseFrame: 0
isReadable: 0
meshes:
lODScreenPercentages: []
......
This source diff could not be displayed because it is too large. You can view the blob instead.
fileFormatVersion: 2
guid: 51ed687bb072734498c2f3309d5b7130
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:
fileFormatVersion: 2
guid: ad329a5ffd0e2be4fbbf6363c1cf04d1
ModelImporter:
serializedVersion: 19300
internalIDToNameTable:
- first:
74: -203655887218126122
second: mixamo.com
externalObjects: {}
materials:
materialImportMode: 1
materialName: 0
materialSearch: 1
materialLocation: 1
animations:
legacyGenerateAnimations: 4
bakeSimulation: 0
resampleCurves: 1
optimizeGameObjects: 0
motionNodeName:
rigImportErrors:
rigImportWarnings:
animationImportErrors:
animationImportWarnings:
animationRetargetingWarnings:
animationDoRetargetingWarnings: 0
importAnimatedCustomProperties: 0
importConstraints: 0
animationCompression: 1
animationRotationError: 0.5
animationPositionError: 0.5
animationScaleError: 0.5
animationWrapMode: 0
extraExposedTransformPaths: []
extraUserProperties: []
clipAnimations: []
isReadable: 0
meshes:
lODScreenPercentages: []
globalScale: 1
meshCompression: 0
addColliders: 0
useSRGBMaterialColor: 1
sortHierarchyByName: 1
importVisibility: 1
importBlendShapes: 1
importCameras: 1
importLights: 1
swapUVChannels: 0
generateSecondaryUV: 0
useFileUnits: 1
keepQuads: 0
weldVertices: 1
preserveHierarchy: 0
skinWeightsMode: 0
maxBonesPerVertex: 4
minBoneWeight: 0.001
meshOptimizationFlags: -1
indexFormat: 0
secondaryUVAngleDistortion: 8
secondaryUVAreaDistortion: 15.000001
secondaryUVHardAngle: 88
secondaryUVPackMargin: 4
useFileScale: 1
tangentSpace:
normalSmoothAngle: 60
normalImportMode: 0
tangentImportMode: 3
normalCalculationMode: 4
legacyComputeAllNormalsFromSmoothingGroupsWhenMeshHasBlendShapes: 0
blendShapeNormalImportMode: 1
normalSmoothingSource: 0
referencedClips: []
importAnimation: 1
humanDescription:
serializedVersion: 3
human: []
skeleton: []
armTwist: 0.5
foreArmTwist: 0.5
upperLegTwist: 0.5
legTwist: 0.5
armStretch: 0.05
legStretch: 0.05
feetSpacing: 0
globalScale: 1
rootMotionBoneName:
hasTranslationDoF: 0
hasExtraRoot: 0
skeletonHasParents: 1
lastHumanDescriptionAvatarSource: {instanceID: 0}
autoGenerateAvatarMappingIfUnspecified: 1
animationType: 2
humanoidOversampling: 1
avatarSetup: 0
additionalBone: 0
userData:
assetBundleName:
assetBundleVariant:
This source diff could not be displayed because it is too large. You can view the blob instead.
fileFormatVersion: 2
guid: ffae3f44d0f830c4faf01048e7958567
NativeFormatImporter:
externalObjects: {}
mainObjectFileID: 0
userData:
assetBundleName:
assetBundleVariant:
fileFormatVersion: 2
guid: d0dbcf1030270c644825a38c2a4baf3d
ModelImporter:
serializedVersion: 19300
internalIDToNameTable:
- first:
74: -203655887218126122
second: mixamo.com
externalObjects: {}
materials:
materialImportMode: 1
materialName: 0
materialSearch: 1
materialLocation: 1
animations:
legacyGenerateAnimations: 4
bakeSimulation: 0
resampleCurves: 1
optimizeGameObjects: 0
motionNodeName:
rigImportErrors:
rigImportWarnings:
animationImportErrors:
animationImportWarnings:
animationRetargetingWarnings:
animationDoRetargetingWarnings: 0
importAnimatedCustomProperties: 0
importConstraints: 0
animationCompression: 1
animationRotationError: 0.5
animationPositionError: 0.5
animationScaleError: 0.5
animationWrapMode: 0
extraExposedTransformPaths: []
extraUserProperties: []
clipAnimations: []
isReadable: 0
meshes:
lODScreenPercentages: []
globalScale: 1
meshCompression: 0
addColliders: 0
useSRGBMaterialColor: 1
sortHierarchyByName: 1
importVisibility: 1
importBlendShapes: 1
importCameras: 1
importLights: 1
swapUVChannels: 0
generateSecondaryUV: 0
useFileUnits: 1
keepQuads: 0
weldVertices: 1
preserveHierarchy: 0
skinWeightsMode: 0
maxBonesPerVertex: 4
minBoneWeight: 0.001
meshOptimizationFlags: -1
indexFormat: 0
secondaryUVAngleDistortion: 8
secondaryUVAreaDistortion: 15.000001
secondaryUVHardAngle: 88
secondaryUVPackMargin: 4
useFileScale: 1
tangentSpace:
normalSmoothAngle: 60
normalImportMode: 0
tangentImportMode: 3
normalCalculationMode: 4
legacyComputeAllNormalsFromSmoothingGroupsWhenMeshHasBlendShapes: 0
blendShapeNormalImportMode: 1
normalSmoothingSource: 0
referencedClips: []
importAnimation: 1
humanDescription:
serializedVersion: 3
human: []
skeleton: []
armTwist: 0.5
foreArmTwist: 0.5
upperLegTwist: 0.5
legTwist: 0.5
armStretch: 0.05
legStretch: 0.05
feetSpacing: 0
globalScale: 1
rootMotionBoneName:
hasTranslationDoF: 0
hasExtraRoot: 0
skeletonHasParents: 1
lastHumanDescriptionAvatarSource: {instanceID: 0}
autoGenerateAvatarMappingIfUnspecified: 1
animationType: 2
humanoidOversampling: 1
avatarSetup: 0
additionalBone: 0
userData:
assetBundleName:
assetBundleVariant:
fileFormatVersion: 2
guid: a83e0d41eb2e07b499aadfa1041bf9f7
NativeFormatImporter:
externalObjects: {}
mainObjectFileID: 0
userData:
assetBundleName:
assetBundleVariant:
This diff is collapsed.
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!1107 &-8623709172497609324
AnimatorStateMachine:
serializedVersion: 5
m_ObjectHideFlags: 1
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_Name: Base Layer
m_ChildStates:
- serializedVersion: 1
m_State: {fileID: 5095978937089661629}
m_Position: {x: 280, y: -70, z: 0}
m_ChildStateMachines: []
m_AnyStateTransitions: []
m_EntryTransitions: []
m_StateMachineTransitions: {}
m_StateMachineBehaviours: []
m_AnyStatePosition: {x: 110, y: -320, z: 0}
m_EntryPosition: {x: 110, y: -210, z: 0}
m_ExitPosition: {x: 300, y: 240, z: 0}
m_ParentStateMachinePosition: {x: 800, y: 20, z: 0}
m_DefaultState: {fileID: 5095978937089661629}
--- !u!91 &9100000
AnimatorController:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_Name: AnimatorControllerPlayer
serializedVersion: 5
m_AnimatorParameters:
- m_Name: Blend
m_Type: 1
m_DefaultFloat: 0
m_DefaultInt: 0
m_DefaultBool: 0
m_Controller: {fileID: 9100000}
- m_Name: MoveSpeed
m_Type: 1
m_DefaultFloat: 0
m_DefaultInt: 0
m_DefaultBool: 0
m_Controller: {fileID: 9100000}
- m_Name: Grounded
m_Type: 4
m_DefaultFloat: 0
m_DefaultInt: 0
m_DefaultBool: 0
m_Controller: {fileID: 9100000}
m_AnimatorLayers:
- serializedVersion: 5
m_Name: Base Layer
m_StateMachine: {fileID: -8623709172497609324}
m_Mask: {fileID: 0}
m_Motions: []
m_Behaviours: []
m_BlendingMode: 0
m_SyncedLayerIndex: -1
m_DefaultWeight: 0
m_IKPass: 0
m_SyncedLayerAffectsTiming: 0
m_Controller: {fileID: 9100000}
--- !u!1102 &5095978937089661629
AnimatorState:
serializedVersion: 5
m_ObjectHideFlags: 1
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_Name: Running
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: ffae3f44d0f830c4faf01048e7958567, type: 2}
m_Tag:
m_SpeedParameter:
m_MirrorParameter:
m_CycleOffsetParameter:
m_TimeParameter:
fileFormatVersion: 2
guid: f709e8dc6e3dec64885141ab1ecdf487
NativeFormatImporter:
externalObjects: {}
mainObjectFileID: 0
userData:
assetBundleName:
assetBundleVariant:
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!1102 &-5642794074313696729
AnimatorState:
serializedVersion: 5
m_ObjectHideFlags: 1
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_Name: New State
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: 0}
m_Tag:
m_SpeedParameter:
m_MirrorParameter:
m_CycleOffsetParameter:
m_TimeParameter:
--- !u!1107 &-5054787022844395735
AnimatorStateMachine:
serializedVersion: 5
m_ObjectHideFlags: 1
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_Name: Base Layer
m_ChildStates:
- serializedVersion: 1
m_State: {fileID: -5642794074313696729}
m_Position: {x: 30, y: 60, z: 0}
m_ChildStateMachines: []
m_AnyStateTransitions: []
m_EntryTransitions: []
m_StateMachineTransitions: {}
m_StateMachineBehaviours: []
m_AnyStatePosition: {x: 40, y: -120, z: 0}
m_EntryPosition: {x: 50, y: -40, z: 0}
m_ExitPosition: {x: 50, y: 250, z: 0}
m_ParentStateMachinePosition: {x: 800, y: 20, z: 0}
m_DefaultState: {fileID: -5642794074313696729}
--- !u!91 &9100000
AnimatorController:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_Name: AnimatorControllerPlayerTest
serializedVersion: 5
m_AnimatorParameters: []
m_AnimatorLayers:
- serializedVersion: 5
m_Name: Base Layer
m_StateMachine: {fileID: -5054787022844395735}
m_Mask: {fileID: 0}
m_Motions: []
m_Behaviours: []
m_BlendingMode: 0
m_SyncedLayerIndex: -1
m_DefaultWeight: 0
m_IKPass: 0
m_SyncedLayerAffectsTiming: 0
m_Controller: {fileID: 9100000}
fileFormatVersion: 2
guid: a60a49f19b8b9b149aa0edc3706d53dd
NativeFormatImporter:
externalObjects: {}
mainObjectFileID: 0
userData:
assetBundleName:
assetBundleVariant:
This diff is collapsed.
fileFormatVersion: 2
guid: c22c482d4ec5f344c8c8cc5bfe208b04
PrefabImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!1 &4046205740538686783
--- !u!1 &7483224581113721909
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
......@@ -8,132 +8,119 @@ GameObject:
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 4046205740538686782}
- component: {fileID: 4046205740538686780}
- component: {fileID: 4046205740538686781}
- component: {fileID: 1126372128848782493}
m_Layer: 5
m_Name: 100c
- component: {fileID: 7483224581113721908}
- component: {fileID: 7483224581113721905}
- component: {fileID: 7483224581113721910}
- component: {fileID: 7483224581113721911}
- component: {fileID: 7483224581113721904}
- component: {fileID: 3660001483418988012}
m_Layer: 0
m_Name: HurricaneKickTrigger
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!224 &4046205740538686782
RectTransform:
--- !u!4 &7483224581113721908
Transform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 4046205740538686783}
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_GameObject: {fileID: 7483224581113721909}
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: 0, y: 0.429, z: -0.426}
m_LocalScale: {x: 0.26094243, y: 1.0665408, z: 1.0888398}
m_Children: []
m_Father: {fileID: 2490371539985674704}
m_Father: {fileID: 0}
m_RootOrder: 0
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: 201.353, y: 52.68376}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!222 &4046205740538686780
CanvasRenderer:
--- !u!33 &7483224581113721905
MeshFilter:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 4046205740538686783}
m_CullTransparentMesh: 0
--- !u!114 &4046205740538686781
MonoBehaviour:
m_GameObject: {fileID: 7483224581113721909}
m_Mesh: {fileID: 10202, guid: 0000000000000000e000000000000000, type: 0}
--- !u!23 &7483224581113721910
MeshRenderer:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 4046205740538686783}
m_GameObject: {fileID: 7483224581113721909}
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: 21300000, guid: bafdcfb8288258542bb1c6643e182b33, type: 3}
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!225 &1126372128848782493
CanvasGroup:
m_CastShadows: 1
m_ReceiveShadows: 1
m_DynamicOccludee: 1
m_MotionVectors: 1
m_LightProbeUsage: 1
m_ReflectionProbeUsage: 1
m_RayTracingMode: 2
m_RenderingLayerMask: 1
m_RendererPriority: 0
m_Materials:
- {fileID: 10303, guid: 0000000000000000f000000000000000, type: 0}
m_StaticBatchInfo:
firstSubMesh: 0
subMeshCount: 0
m_StaticBatchRoot: {fileID: 0}
m_ProbeAnchor: {fileID: 0}
m_LightProbeVolumeOverride: {fileID: 0}
m_ScaleInLightmap: 1
m_ReceiveGI: 1
m_PreserveUVs: 0
m_IgnoreNormalsForChartDetection: 0
m_ImportantGI: 0
m_StitchLightmapSeams: 1
m_SelectedEditorRenderState: 3
m_MinimumChartSize: 4
m_AutoUVMaxDistance: 0.5
m_AutoUVMaxAngle: 89
m_LightmapParameters: {fileID: 0}
m_SortingLayerID: 0
m_SortingLayer: 0
m_SortingOrder: 0
--- !u!65 &7483224581113721911
BoxCollider:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 4046205740538686783}
m_GameObject: {fileID: 7483224581113721909}
m_Material: {fileID: 0}
m_IsTrigger: 1
m_Enabled: 1
m_Alpha: 1
m_Interactable: 1
m_BlocksRaycasts: 1
m_IgnoreParentGroups: 0
--- !u!1 &4370743840750312403
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 2490371539985674704}
- component: {fileID: 886163293}
m_Layer: 5
m_Name: 100cPrefab
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!224 &2490371539985674704
RectTransform:
serializedVersion: 2
m_Size: {x: 1, y: 1, z: 1}
m_Center: {x: 0, y: 0, z: 0}
--- !u!54 &7483224581113721904
Rigidbody:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 4370743840750312403}
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: 4046205740538686782}
m_Father: {fileID: 0}
m_RootOrder: 0
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: 100, y: 100}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!114 &886163293
m_GameObject: {fileID: 7483224581113721909}
serializedVersion: 2
m_Mass: 1
m_Drag: 0
m_AngularDrag: 0.05
m_UseGravity: 0
m_IsKinematic: 1
m_Interpolate: 0
m_Constraints: 0
m_CollisionDetection: 0
--- !u!114 &3660001483418988012
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 4370743840750312403}
m_GameObject: {fileID: 7483224581113721909}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: a6a0ceff3c3394f408a399bd1ea3c52b, type: 3}
m_Script: {fileID: 11500000, guid: ef81be844606ed34c938fde6479bf1a4, type: 3}
m_Name:
m_EditorClassIdentifier:
value: 100
hitEffects: {fileID: 19809874, guid: acee4f4e191fea8479aad0b4b8e1dc18, type: 3}
fileFormatVersion: 2
guid: 13cf4ffbaee8b5345aae4334d263f620
guid: c39652e3caad45045b94236a228064ef
PrefabImporter:
externalObjects: {}
userData:
......
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!1 &5269546135792715193
--- !u!1 &6039842180593449807
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
......@@ -8,47 +8,48 @@ GameObject:
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 8219168610341880517}
- component: {fileID: 1737222737952525463}
- component: {fileID: 5716962406456944129}
- component: {fileID: 1237059291370167449}
- component: {fileID: 6039842180593449806}
- component: {fileID: 6039842180593449779}
- component: {fileID: 6039842180593449804}
- component: {fileID: 6039842180593449805}
- component: {fileID: 6039842180593449778}
- component: {fileID: -7834055581323771778}
m_Layer: 0
m_Name: Gold_light3 (1)
m_Name: LegSweepTrigger
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!4 &8219168610341880517
--- !u!4 &6039842180593449806
Transform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 5269546135792715193}
m_LocalRotation: {x: -0, y: -0, z: -0, w: 1}
m_LocalPosition: {x: 1, y: 2, z: 0}
m_LocalScale: {x: 1, y: 1, z: 1}
m_Children:
- {fileID: 8858257297076126146}
m_GameObject: {fileID: 6039842180593449807}
m_LocalRotation: {x: -0.31653008, y: -0.019398104, z: 0.021550622, w: 0.9481393}
m_LocalPosition: {x: -0.014041255, y: 0.25684795, z: -0.050959602}
m_LocalScale: {x: 0.15305078, y: 1, z: 0.23619002}
m_Children: []
m_Father: {fileID: 0}
m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!33 &1737222737952525463
m_LocalEulerAnglesHint: {x: -36.826, y: -3.6120002, z: 3.8070002}
--- !u!33 &6039842180593449779
MeshFilter:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 5269546135792715193}
m_Mesh: {fileID: 4300000, guid: 44042356cd03d904fa501e1014eef3c8, type: 3}
--- !u!23 &5716962406456944129
m_GameObject: {fileID: 6039842180593449807}
m_Mesh: {fileID: 10202, guid: 0000000000000000e000000000000000, type: 0}
--- !u!23 &6039842180593449804
MeshRenderer:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 5269546135792715193}
m_GameObject: {fileID: 6039842180593449807}
m_Enabled: 1
m_CastShadows: 1
m_ReceiveShadows: 1
......@@ -60,7 +61,7 @@ MeshRenderer:
m_RenderingLayerMask: 1
m_RendererPriority: 0
m_Materials:
- {fileID: 2100000, guid: 8347c77f52941f44b94ad5ed92c337a7, type: 2}
- {fileID: 10303, guid: 0000000000000000f000000000000000, type: 0}
m_StaticBatchInfo:
firstSubMesh: 0
subMeshCount: 0
......@@ -81,92 +82,45 @@ MeshRenderer:
m_SortingLayerID: 0
m_SortingLayer: 0
m_SortingOrder: 0
--- !u!114 &1237059291370167449
--- !u!65 &6039842180593449805
BoxCollider:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 6039842180593449807}
m_Material: {fileID: 0}
m_IsTrigger: 1
m_Enabled: 1
serializedVersion: 2
m_Size: {x: 1, y: 1, z: 1}
m_Center: {x: 0, y: 0, z: 0}
--- !u!54 &6039842180593449778
Rigidbody:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 6039842180593449807}
serializedVersion: 2
m_Mass: 1
m_Drag: 0
m_AngularDrag: 0.05
m_UseGravity: 0
m_IsKinematic: 1
m_Interpolate: 0
m_Constraints: 0
m_CollisionDetection: 0
--- !u!114 &-7834055581323771778
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 5269546135792715193}
m_GameObject: {fileID: 6039842180593449807}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: d96c51ee2498d904bb6f7047db052b83, type: 3}
m_Script: {fileID: 11500000, guid: ef81be844606ed34c938fde6479bf1a4, type: 3}
m_Name:
m_EditorClassIdentifier:
Spinswitch: 1
speed: 100
--- !u!1001 &589609591371752542
PrefabInstance:
m_ObjectHideFlags: 0
serializedVersion: 2
m_Modification:
m_TransformParent: {fileID: 8219168610341880517}
m_Modifications:
- target: {fileID: 8268728593117055556, guid: 73a66a7fcb0f88a4c8de8e2f99f95e4e,
type: 3}
propertyPath: m_Name
value: FireFliesBlue (2)
objectReference: {fileID: 0}
- target: {fileID: 8268728593117111708, guid: 73a66a7fcb0f88a4c8de8e2f99f95e4e,
type: 3}
propertyPath: m_LocalPosition.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 8268728593117111708, guid: 73a66a7fcb0f88a4c8de8e2f99f95e4e,
type: 3}
propertyPath: m_LocalPosition.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 8268728593117111708, guid: 73a66a7fcb0f88a4c8de8e2f99f95e4e,
type: 3}
propertyPath: m_LocalPosition.z
value: 0
objectReference: {fileID: 0}
- target: {fileID: 8268728593117111708, guid: 73a66a7fcb0f88a4c8de8e2f99f95e4e,
type: 3}
propertyPath: m_LocalRotation.x
value: -0
objectReference: {fileID: 0}
- target: {fileID: 8268728593117111708, guid: 73a66a7fcb0f88a4c8de8e2f99f95e4e,
type: 3}
propertyPath: m_LocalRotation.y
value: -0
objectReference: {fileID: 0}
- target: {fileID: 8268728593117111708, guid: 73a66a7fcb0f88a4c8de8e2f99f95e4e,
type: 3}
propertyPath: m_LocalRotation.z
value: -0
objectReference: {fileID: 0}
- target: {fileID: 8268728593117111708, guid: 73a66a7fcb0f88a4c8de8e2f99f95e4e,
type: 3}
propertyPath: m_LocalRotation.w
value: 1
objectReference: {fileID: 0}
- target: {fileID: 8268728593117111708, guid: 73a66a7fcb0f88a4c8de8e2f99f95e4e,
type: 3}
propertyPath: m_RootOrder
value: 0
objectReference: {fileID: 0}
- target: {fileID: 8268728593117111708, guid: 73a66a7fcb0f88a4c8de8e2f99f95e4e,
type: 3}
propertyPath: m_LocalEulerAnglesHint.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 8268728593117111708, guid: 73a66a7fcb0f88a4c8de8e2f99f95e4e,
type: 3}
propertyPath: m_LocalEulerAnglesHint.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 8268728593117111708, guid: 73a66a7fcb0f88a4c8de8e2f99f95e4e,
type: 3}
propertyPath: m_LocalEulerAnglesHint.z
value: 0
objectReference: {fileID: 0}
m_RemovedComponents: []
m_SourcePrefab: {fileID: 100100000, guid: 73a66a7fcb0f88a4c8de8e2f99f95e4e, type: 3}
--- !u!4 &8858257297076126146 stripped
Transform:
m_CorrespondingSourceObject: {fileID: 8268728593117111708, guid: 73a66a7fcb0f88a4c8de8e2f99f95e4e,
type: 3}
m_PrefabInstance: {fileID: 589609591371752542}
m_PrefabAsset: {fileID: 0}
hitEffects: {fileID: 19809874, guid: acee4f4e191fea8479aad0b4b8e1dc18, type: 3}
fileFormatVersion: 2
guid: a39c5b66435a6f1449286a498397b4c2
guid: 29fd706081f881e4ea22d5db8f524859
PrefabImporter:
externalObjects: {}
userData:
......
This diff is collapsed.
fileFormatVersion: 2
guid: ced113a30c4314745a413e31d2efb72b
PrefabImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:
This diff is collapsed.
fileFormatVersion: 2
guid: e7088326d56f59d4a84692ff9dbee505
PrefabImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:
......@@ -194,6 +194,7 @@ public class AIMove : MonoBehaviour
{
return;
}
Grounded = characterController.isGrounded;
if (!Grounded)
{
SpeedY += -9.8f * 5 * Time.deltaTime;
......@@ -224,10 +225,12 @@ public class AIMove : MonoBehaviour
//去推墙
if (targetWall == null)
{
//按路径返回
targetObj = pathPos0;
//print("改变状态为回到起点1");
aiState = AIState.TurnBackToPathPos0;
////按路径返回
//targetObj = pathPos0;
////print("改变状态为回到起点1");
//aiState = AIState.TurnBackToPathPos0;
targetObj = GameObject.FindGameObjectWithTag("Boss");
}
else
{
......
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public enum AttackType
{
Null = 0,
LegSweep = 1,
HurricaneKick = 2
}
public class BossAttack : MonoBehaviour
{
[Header("扫腿攻击")]
public Transform RightThigh;//右腿
public GameObject LegSweepTrigger; //攻击
private GameObject TempLegSweepObj;
[Header("旋腿攻击")]
public Transform LeftThigh;//左腿
public GameObject HurricaneKickTrigger; //攻击
private GameObject TempHurricaneKickObj;
public AttackType attackType = AttackType.Null;
// Start is called before the first frame update
void Start()
{
}
// Update is called once per frame
void Update()
{
switch (attackType)
{
case AttackType.Null:
if (TempLegSweepObj != null) Destroy(TempLegSweepObj);
if (TempHurricaneKickObj != null) Destroy(TempHurricaneKickObj);
break;
case AttackType.LegSweep:
if (TempLegSweepObj == null)
{
TempLegSweepObj = Instantiate(LegSweepTrigger, RightThigh);
}
break;
case AttackType.HurricaneKick:
if (TempHurricaneKickObj == null)
{
TempHurricaneKickObj = Instantiate(HurricaneKickTrigger, LeftThigh);
}
break;
default:
Debug.LogError(attackType);
break;
}
}
public void ChangeAttackType(int i)
{
attackType = (AttackType)i;
print("改变boss攻击状态为:"+attackType);
}
}
fileFormatVersion: 2
guid: 97a7f57c37cfd1246987f6898574ae3f
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class BossAttackDamageRange : MonoBehaviour
{
[Header("打人特效")]
public ParticleSystem hitEffects;
private ParticleSystem ps;
void Start()
{
}
// Update is called once per frame
void Update()
{
}
private void OnTriggerEnter(Collider other)
{
Vector3 hitPos = other.bounds.ClosestPoint(transform.position);//触发点
if (other.tag == "Player")
{
other.gameObject.GetComponentInChildren<PlayerMove>().Hurt(0.5f);
ps = Instantiate(hitEffects, hitPos, transform.rotation);
ps.gameObject.AddComponent<DestroyMySel>();
Handheld.Vibrate();//手机震动
}
else if (other.tag == "Competitor")
{
other.gameObject.GetComponentInChildren<AIMove>().Hurt(0.5f);
ps = Instantiate(hitEffects, hitPos, transform.rotation);
ps.gameObject.AddComponent<DestroyMySel>();
Handheld.Vibrate();//手机震动
}
}
}
fileFormatVersion: 2
guid: ef81be844606ed34c938fde6479bf1a4
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class BossAttackRangeTrigger : MonoBehaviour
{
public GameObject Boss;
private BossMove bossMove;
void Start()
{
bossMove = Boss.GetComponentInChildren<BossMove>();
}
// Update is called once per frame
void Update()
{
}
private void OnTriggerEnter(Collider other)
{
if (other.tag == "Player"||other.tag== "Competitor")
{
bossMove.AwakeBoss(other.gameObject);
}
}
private void OnTriggerExit(Collider other)
{
if (other.tag == "Boss")
{
print("boss回去");
bossMove.GoSleep();
}
}
}
fileFormatVersion: 2
guid: ab280b9adeebf024db7d640cdce1005b
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:
using System.Collections.Generic;
using UnityEngine;
public class BossMove : MonoBehaviour
{
[Header("控制移动")]
[Tooltip("控制向前的速度。")]
public float VSpeed = 10.0f;
public int life = 30;
public int MaxLife = 30;
public float scale = 1;
public float MinScale = 0.2f;
[Header("目标")]
public List<GameObject> targetList;
//控制移动的中间变量
private float xDelta = 0.0f;
private float yDelta = 0;
private float zDelta = 0;
private float SpeedY = 0;//相当于重力
//状态
[HideInInspector]
public float MoveSpeed = 0.0f;
private bool Grounded = false;
private Animator animator;//动画
private CharacterController characterController;
private GameObject targetObj;
private float timer = 0.0f;
public GameObject BirthplacePos;//出生点
private BossAttack bossAttack;
public int EnemyNumber = 0;
public float Timer1 = 5;
public bool isDeltaTime = false;
public enum BossState
{
Sleep=0, //睡着
GotoTarget=1, //朝着目标点移动
GoBackToSleep=2 //返回碎觉点
}
public BossState bossState= BossState.Sleep;
void Start()
{
characterController = GetComponentInChildren<CharacterController>();
//获取animator组件
animator = GetComponentInChildren<Animator>();
bossAttack = GetComponentInChildren<BossAttack>();
}
private void OnTriggerEnter(Collider other)
{
if (other.tag == "Player"|| other.tag == "Competitor")
{
//print("加一");
EnemyNumber++;
}
}
private void OnTriggerExit(Collider other)
{
if (other.tag == "Player"|| other.tag == "Competitor")
{
//print("减一");
EnemyNumber--;
}
}
private void Scale(float x, float y, float z)
{
transform.localScale = new Vector3(x, y, x);
}
//受到伤害
public void Hurt(int hurt)
{
life-=hurt;
if (life <=0)
{
//Boos死亡
Destroy(gameObject);
}
else
{
scale=MinScale+ (1 - MinScale) / MaxLife * life;
}
Scale(scale, scale, scale);
}
private void FixedUpdate()
{
//print("游戏是否开始:"+ BattleCtrl.instance.isStartBattle);
//print("游戏是否结束:"+ BattleCtrl.instance.isEndBattle);
if (isDeltaTime)
{
Timer1 += Time.deltaTime;
if (Timer1 > 5)
{
Timer1 = 5;
isDeltaTime = false;
}
}
if (!BattleCtrl.instance.isStartBattle)
{
return;
}
if (BattleCtrl.instance.isEndBattle)
{
return;
}
Grounded = characterController.isGrounded;
if (!Grounded)
{
SpeedY += -9.8f * 5 * Time.deltaTime;
}
yDelta = SpeedY * Time.deltaTime;
switch (bossState)
{
case BossState.Sleep:
targetObj = null;
break;
case BossState.GotoTarget:
timer += Time.deltaTime;
if (targetObj == null || timer >= 1)
{
//每隔1秒刷新最近目标。
timer = 0;
targetObj = GetTargetObj();
}
break;
case BossState.GoBackToSleep:
targetObj = BirthplacePos;
if(Vector3.Distance(new Vector3(transform.position.x,0, transform.position.z), new Vector3(BirthplacePos.transform.position.x,0, BirthplacePos.transform.position.z)) < 0.2f)
{
bossState = BossState.Sleep;
targetObj = null;
}
break;
default:Debug.LogError(bossState);
break;
}
if (targetObj != null)
{
Vector3 speed = Vector3.zero;
Vector3 pos1 = new Vector3(transform.position.x, 0, transform.position.z);
Vector3 pos2 = new Vector3(targetObj.transform.position.x, 0, targetObj.transform.position.z);
speed = (pos2 - pos1).normalized * VSpeed;
xDelta = speed.x * Time.deltaTime;
zDelta = speed.z * Time.deltaTime;
if (Vector3.Distance(pos1, pos2) < 10f)
{
xDelta = 0;
zDelta = 0;
if (EnemyNumber >= 2&& !isDeltaTime)
{
Timer1 -= Time.deltaTime;
if (Timer1 <= 0) isDeltaTime = true; //旋转5秒等待5秒
print("11111111111111");
animator.SetBool("HurricaneKick", true);
animator.SetBool("LegSweep", false);
bossAttack.attackType = AttackType.HurricaneKick;
}
else
{
print("2222222222222");
animator.SetBool("HurricaneKick", false);
animator.SetBool("LegSweep", true);
bossAttack.attackType = AttackType.LegSweep;
}
}
else
{
animator.SetBool("LegSweep", false);
animator.SetBool("HurricaneKick", false);
bossAttack.attackType = AttackType.Null;
}
}
else
{
xDelta = 0;
zDelta = 0;
}
Move();
}
public void Move()
{
float angle = Vector3.Angle(Vector3.forward, new Vector3(xDelta, 0, zDelta));
if (xDelta < 0)
{
angle = -Mathf.Abs(angle);
}
transform.localEulerAngles = new Vector3(0, angle, 0);
//print("AI开始移动:"+ new Vector3(xDelta, yDelta, zDelta));
characterController.Move(new Vector3(xDelta, yDelta, zDelta));//移动
//移动
MoveSpeed = Vector3.Distance(Vector3.zero, characterController.velocity);
//是否在地面
Grounded = characterController.isGrounded;
animator.SetFloat("MoveSpeed", MoveSpeed);
animator.SetBool("Grounded", Grounded);
}
//唤醒boss
public void AwakeBoss(GameObject obj)
{
targetObj = obj;
bossState = BossState.GotoTarget;
}
public void GoSleep()
{
bossState = BossState.GoBackToSleep;
}
//获取目标点
public GameObject GetTargetObj()
{
if (targetList.Count == 0)
{
return null;
}
//排序,距离从小到大。
targetList = DoRankingFun(targetList, transform.position);
return targetList[0];
}
//冒泡排序距离从小到大。
public List<GameObject> DoRankingFun(List<GameObject> list, Vector3 pos)
{
GameObject temp = null;
for (int i = 0; i < list.Count; i++)
{
for (int j = 0; j < list.Count - i - 1; j++)
{
if (System.Math.Round(Vector3.Distance(list[j].transform.position, pos), 1) > System.Math.Round(Vector3.Distance(list[j + 1].transform.position, pos), 1)) //保留一位小数
{
temp = list[j];
list[j] = list[j + 1];
list[j + 1] = temp;
}
}
}
return list;
}
private void OnDestroy()
{
}
}
fileFormatVersion: 2
guid: 84702bfc4a5b7144eb8b6090d62adfd3
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:
......@@ -9,9 +9,10 @@ public class Food : MonoBehaviour
public GameObject targetObj;
private float xDelta = 0;
private float zDelta = 0;
private RandomFood randomFood;
private void Start()
{
randomFood = transform.parent.parent.GetComponent<RandomFood>();
}
//private void OnTriggerEnter(Collider other)
......@@ -44,6 +45,6 @@ public class Food : MonoBehaviour
private void OnDestroy()
{
RandomFood.instance.AddFoodPos(transform.parent);
randomFood.AddFoodPos(transform.parent);
}
}
......@@ -14,10 +14,8 @@ public class RandomFood : MonoBehaviour
//没有食物的point
[HideInInspector]
public List<Transform> residueFoodPoint;
public static RandomFood instance;
private void Awake()
{
instance = this;
residueFoodPoint = new List<Transform>(foodPoint);
}
void Start()
......@@ -36,8 +34,9 @@ public class RandomFood : MonoBehaviour
complementFood();
}
gameObject.GetComponentsInChildren<Food>();
GameObject[] currFoods= GameObject.FindGameObjectsWithTag("Food");
if (currFoods.Length == 0)
Food[] currentFoods= GetComponentsInChildren<Food>();
//GameObject[] currFoods= GameObject.FindGameObjectsWithTag("Food");
if (currentFoods.Length == 0)
{
timer = 0;
GenerateRandomFood(foodNumber);
......@@ -81,8 +80,9 @@ public class RandomFood : MonoBehaviour
/// </summary>
public void complementFood()
{
GameObject[] currFoods = GameObject.FindGameObjectsWithTag("Food");
int addFood = foodNumber - currFoods.Length;
//GameObject[] currFoods = GameObject.FindGameObjectsWithTag("Food");
Food[] currentFoods = GetComponentsInChildren<Food>();
int addFood = foodNumber - currentFoods.Length;
//print("生成食物:"+ addFood);
GenerateRandomFood(addFood);
}
......
......@@ -5,7 +5,7 @@ using UnityEngine;
public class AttackTrigger : MonoBehaviour
{
public Animator animator;
public string OtherTag = "Competitor";
public List<string> OtherTagList = new List<string> { "Competitor","Boss" };
public GameObject targetWall;
//伤害帧
public bool isCauseDamage = false;
......@@ -26,7 +26,7 @@ public class AttackTrigger : MonoBehaviour
private void OnTriggerEnter(Collider other)
{
//print("进入。" + other.name);
if (other.tag == OtherTag)//if (other.tag == "Competitor")
if (OtherTagList.Contains(other.tag))//if (other.tag == "Competitor")
{
ChangeAnimationPunchState(true);
}
......@@ -39,7 +39,7 @@ public class AttackTrigger : MonoBehaviour
private void OnTriggerStay(Collider other)
{
ParticleSystem ps;
if (other.tag == OtherTag&&isCauseDamage)
if (OtherTagList.Contains(other.tag) && isCauseDamage)
{
//print(other.name+"受到伤害:");
if (other.tag == "Player")
......@@ -57,6 +57,13 @@ public class AttackTrigger : MonoBehaviour
ps.gameObject.AddComponent<DestroyMySel>();
Handheld.Vibrate();//手机震动
}
else if (other.tag == "Boss")
{
other.gameObject.GetComponentInChildren<BossMove>().Hurt(1);
ps = Instantiate(hitEffects, hitPos.transform.position, hitPos.transform.rotation);
ps.gameObject.AddComponent<DestroyMySel>();
Handheld.Vibrate();//手机震动
}
}
}
......@@ -64,7 +71,7 @@ public class AttackTrigger : MonoBehaviour
{
//print(other.name);
//print("退出。"+ other.name);
if (other.tag == OtherTag)
if (OtherTagList.Contains(other.tag))
{
ChangeAnimationPunchState(false);
}
......
......@@ -83,6 +83,7 @@ public class PlayerMove : MonoBehaviour
Destroy(other.gameObject);
}
//print("1111" + other.gameObject.tag + "+" + other.gameObject.name);
}
......@@ -247,6 +248,7 @@ public class PlayerMove : MonoBehaviour
yDelta = 0;
zDelta = 0;
//不在地面上给物体添加一个模拟重力
Grounded = characterController.isGrounded;
if (!Grounded)
{
_vertSpeed += -9.8f * 5 * Time.deltaTime;
......@@ -366,13 +368,14 @@ public class PlayerMove : MonoBehaviour
children.transform.localEulerAngles = new Vector3(0, angle, 0);
//transform.rotation = Quaternion.Euler(0, angle, 0);//转向
characterController.Move(new Vector3(xDelta, yDelta, zDelta));//移动
}
else
{
characterController.Move(new Vector3(0,0,0));
}
//print("Player开始移动:" + new Vector3(xDelta, yDelta, zDelta));
characterController.Move(new Vector3(xDelta, yDelta, zDelta));//移动
//移动
MoveSpeed = Vector3.Distance(Vector3.zero, characterController.velocity);
......
......@@ -15,6 +15,7 @@ TagManager:
- Prop
- Enemy_Vertigo
- Food
- Boss
layers:
- Default
- TransparentFX
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment