Added enemies animations and characters prefabs

maham-dev
nuruznaeem198 2 months ago
parent 17f45c6e19
commit 6efad4bc51

@ -95,11 +95,11 @@ namespace D2D.Gameplay
CurrentPoints -= damagePoints; CurrentPoints -= damagePoints;
LastAttacker = attacker; LastAttacker = attacker;
Spawn(_hitEffect);
Debug.Log("current point" + CurrentPoints);
if (CurrentPoints > 0) if (CurrentPoints > 0)
{ {
Spawn(_hitEffect);
if (_meshRenderer != null) if (_meshRenderer != null)
{ {
@ -113,7 +113,6 @@ namespace D2D.Gameplay
else else
{ {
Died?.Invoke(); Died?.Invoke();
if (_isGrayFadeout) if (_isGrayFadeout)
{ {
GrayFadeoutDeath(); GrayFadeoutDeath();

@ -105,6 +105,6 @@ public class CharactersScript : MonoBehaviour
} }
public void playGame() public void playGame()
{ {
SceneManager.LoadScene(SceneManager.GetActiveScene().buildIndex + 1); SceneManager.LoadScene("Level_1");
} }
} }

@ -31,36 +31,7 @@ ModelImporter:
animationWrapMode: 0 animationWrapMode: 0
extraExposedTransformPaths: [] extraExposedTransformPaths: []
extraUserProperties: [] extraUserProperties: []
clipAnimations: clipAnimations: []
- serializedVersion: 16
name: Scene
takeName: Scene
internalID: -623603649343465320
firstFrame: 1
lastFrame: 62
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.96
isReadable: 0 isReadable: 0
meshes: meshes:
lODScreenPercentages: [] lODScreenPercentages: []

@ -24,14 +24,43 @@ ModelImporter:
animationDoRetargetingWarnings: 0 animationDoRetargetingWarnings: 0
importAnimatedCustomProperties: 0 importAnimatedCustomProperties: 0
importConstraints: 0 importConstraints: 0
animationCompression: 1 animationCompression: 3
animationRotationError: 0.5 animationRotationError: 0.5
animationPositionError: 0.5 animationPositionError: 0.5
animationScaleError: 0.5 animationScaleError: 0.5
animationWrapMode: 0 animationWrapMode: 0
extraExposedTransformPaths: [] extraExposedTransformPaths: []
extraUserProperties: [] extraUserProperties: []
clipAnimations: [] clipAnimations:
- serializedVersion: 16
name: Hip Hop Dancing
takeName: mixamo.com
internalID: -203655887218126122
firstFrame: 0
lastFrame: 413
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 isReadable: 0
meshes: meshes:
lODScreenPercentages: [] lODScreenPercentages: []
@ -81,8 +110,324 @@ ModelImporter:
importAnimation: 1 importAnimation: 1
humanDescription: humanDescription:
serializedVersion: 3 serializedVersion: 3
human: [] human:
skeleton: [] - boneName: mixamorig:Hips
humanName: Hips
limit:
min: {x: 0, y: 0, z: 0}
max: {x: 0, y: 0, z: 0}
value: {x: 0, y: 0, z: 0}
length: 0
modified: 0
- boneName: mixamorig:LeftUpLeg
humanName: LeftUpperLeg
limit:
min: {x: 0, y: 0, z: 0}
max: {x: 0, y: 0, z: 0}
value: {x: 0, y: 0, z: 0}
length: 0
modified: 0
- boneName: mixamorig:RightUpLeg
humanName: RightUpperLeg
limit:
min: {x: 0, y: 0, z: 0}
max: {x: 0, y: 0, z: 0}
value: {x: 0, y: 0, z: 0}
length: 0
modified: 0
- boneName: mixamorig:LeftLeg
humanName: LeftLowerLeg
limit:
min: {x: 0, y: 0, z: 0}
max: {x: 0, y: 0, z: 0}
value: {x: 0, y: 0, z: 0}
length: 0
modified: 0
- boneName: mixamorig:RightLeg
humanName: RightLowerLeg
limit:
min: {x: 0, y: 0, z: 0}
max: {x: 0, y: 0, z: 0}
value: {x: 0, y: 0, z: 0}
length: 0
modified: 0
- boneName: mixamorig:LeftFoot
humanName: LeftFoot
limit:
min: {x: 0, y: 0, z: 0}
max: {x: 0, y: 0, z: 0}
value: {x: 0, y: 0, z: 0}
length: 0
modified: 0
- boneName: mixamorig:RightFoot
humanName: RightFoot
limit:
min: {x: 0, y: 0, z: 0}
max: {x: 0, y: 0, z: 0}
value: {x: 0, y: 0, z: 0}
length: 0
modified: 0
- boneName: mixamorig:Spine
humanName: Spine
limit:
min: {x: 0, y: 0, z: 0}
max: {x: 0, y: 0, z: 0}
value: {x: 0, y: 0, z: 0}
length: 0
modified: 0
- boneName: mixamorig:Spine1
humanName: Chest
limit:
min: {x: 0, y: 0, z: 0}
max: {x: 0, y: 0, z: 0}
value: {x: 0, y: 0, z: 0}
length: 0
modified: 0
- boneName: mixamorig:Neck
humanName: Neck
limit:
min: {x: 0, y: 0, z: 0}
max: {x: 0, y: 0, z: 0}
value: {x: 0, y: 0, z: 0}
length: 0
modified: 0
- boneName: mixamorig:Head
humanName: Head
limit:
min: {x: 0, y: 0, z: 0}
max: {x: 0, y: 0, z: 0}
value: {x: 0, y: 0, z: 0}
length: 0
modified: 0
- boneName: mixamorig:LeftShoulder
humanName: LeftShoulder
limit:
min: {x: 0, y: 0, z: 0}
max: {x: 0, y: 0, z: 0}
value: {x: 0, y: 0, z: 0}
length: 0
modified: 0
- boneName: mixamorig:RightShoulder
humanName: RightShoulder
limit:
min: {x: 0, y: 0, z: 0}
max: {x: 0, y: 0, z: 0}
value: {x: 0, y: 0, z: 0}
length: 0
modified: 0
- boneName: mixamorig:LeftArm
humanName: LeftUpperArm
limit:
min: {x: 0, y: 0, z: 0}
max: {x: 0, y: 0, z: 0}
value: {x: 0, y: 0, z: 0}
length: 0
modified: 0
- boneName: mixamorig:RightArm
humanName: RightUpperArm
limit:
min: {x: 0, y: 0, z: 0}
max: {x: 0, y: 0, z: 0}
value: {x: 0, y: 0, z: 0}
length: 0
modified: 0
- boneName: mixamorig:LeftForeArm
humanName: LeftLowerArm
limit:
min: {x: 0, y: 0, z: 0}
max: {x: 0, y: 0, z: 0}
value: {x: 0, y: 0, z: 0}
length: 0
modified: 0
- boneName: mixamorig:RightForeArm
humanName: RightLowerArm
limit:
min: {x: 0, y: 0, z: 0}
max: {x: 0, y: 0, z: 0}
value: {x: 0, y: 0, z: 0}
length: 0
modified: 0
- boneName: mixamorig:LeftHand
humanName: LeftHand
limit:
min: {x: 0, y: 0, z: 0}
max: {x: 0, y: 0, z: 0}
value: {x: 0, y: 0, z: 0}
length: 0
modified: 0
- boneName: mixamorig:RightHand
humanName: RightHand
limit:
min: {x: 0, y: 0, z: 0}
max: {x: 0, y: 0, z: 0}
value: {x: 0, y: 0, z: 0}
length: 0
modified: 0
- boneName: mixamorig:LeftToeBase
humanName: LeftToes
limit:
min: {x: 0, y: 0, z: 0}
max: {x: 0, y: 0, z: 0}
value: {x: 0, y: 0, z: 0}
length: 0
modified: 0
- boneName: mixamorig:RightToeBase
humanName: RightToes
limit:
min: {x: 0, y: 0, z: 0}
max: {x: 0, y: 0, z: 0}
value: {x: 0, y: 0, z: 0}
length: 0
modified: 0
- boneName: mixamorig:Spine2
humanName: UpperChest
limit:
min: {x: 0, y: 0, z: 0}
max: {x: 0, y: 0, z: 0}
value: {x: 0, y: 0, z: 0}
length: 0
modified: 0
skeleton:
- name: Wizard_Redo_withRig@Hip Hop Dancing(Clone)
parentName:
position: {x: 0, y: 0, z: 0}
rotation: {x: 0, y: 0, z: 0, w: 1}
scale: {x: 1, y: 1, z: 1}
- name: Wizard
parentName: Wizard_Redo_withRig@Hip Hop Dancing(Clone)
position: {x: -0, y: 0, z: 0}
rotation: {x: -0.7071068, y: 0, z: -0, w: 0.7071067}
scale: {x: 22.358072, y: 22.358072, z: 22.358072}
- name: Armature
parentName: Wizard_Redo_withRig@Hip Hop Dancing(Clone)
position: {x: -0, y: 0, z: 0}
rotation: {x: -0.7071068, y: 0, z: -0, w: 0.7071068}
scale: {x: 100, y: 100, z: 100}
- name: mixamorig:Hips
parentName: Armature
position: {x: -4.6566126e-11, y: 0.00014446586, z: 0.0035628171}
rotation: {x: 0.70710677, y: 0.0000000028764109, z: 0.0000000017258464, w: 0.7071069}
scale: {x: 1, y: 0.99999994, z: 0.9999998}
- name: mixamorig:Spine
parentName: mixamorig:Hips
position: {x: -0, y: 0.000687606, z: 0.0000125661545}
rotation: {x: 0.009136318, y: -0.0000000016066348, z: 0.0000000022520952, w: 0.9999583}
scale: {x: 0.9999999, y: 0.9999999, z: 1}
- name: mixamorig:Spine1
parentName: mixamorig:Spine
position: {x: -0, y: 0.00080233975, z: -1.0011717e-10}
rotation: {x: -0, y: -8.654649e-10, z: -0.0000000028321607, w: 1}
scale: {x: 1.0000001, y: 1.0000001, z: 1}
- name: mixamorig:Spine2
parentName: mixamorig:Spine1
position: {x: -0, y: 0.00091696135, z: -4.6566128e-12}
rotation: {x: 8.687426e-18, y: -0.0000000015358212, z: 0.0000000050120272, w: 1}
scale: {x: 1, y: 0.9999999, z: 1}
- name: mixamorig:Neck
parentName: mixamorig:Spine2
position: {x: -0, y: 0.0010315785, z: -1.2107193e-10}
rotation: {x: -0.009136318, y: 8.0331747e-10, z: -0.0000000011260485, w: 0.9999583}
scale: {x: 1, y: 1.0000002, z: 1}
- name: mixamorig:Head
parentName: mixamorig:Neck
position: {x: -0, y: 0.0007643753, z: -0.00023774458}
rotation: {x: 0.000000119209275, y: 0.0000000032542866, z: -0.000000005695002, w: 1}
scale: {x: 1, y: 1, z: 1.0000001}
- name: mixamorig:HeadTop_End
parentName: mixamorig:Head
position: {x: -0, y: 0.0043788604, z: -0.0013619636}
rotation: {x: -0, y: -0, z: 5.614801e-17, w: 1}
scale: {x: 1, y: 1, z: 0.99999994}
- name: mixamorig:LeftShoulder
parentName: mixamorig:Spine2
position: {x: -0.00043921868, y: 0.0008826716, z: 0.0000013715029}
rotation: {x: 0.57550013, y: -0.41146207, z: 0.57370967, w: 0.41274184}
scale: {x: 1, y: 1, z: 1}
- name: mixamorig:LeftArm
parentName: mixamorig:LeftShoulder
position: {x: -4.3510226e-10, y: 0.0009264184, z: -0.0000000029314104}
rotation: {x: -0.13155343, y: -0.006815297, z: 0.0259447, w: 0.9909461}
scale: {x: 1.0000001, y: 1.0000001, z: 1}
- name: mixamorig:LeftForeArm
parentName: mixamorig:LeftArm
position: {x: 5.750917e-10, y: 0.000851285, z: 0.0000000025344342}
rotation: {x: -0.07102725, y: 0.0031653733, z: -0.03707467, w: 0.99678016}
scale: {x: 0.9999999, y: 1.0000001, z: 1.0000005}
- name: mixamorig:LeftHand
parentName: mixamorig:LeftForeArm
position: {x: 9.0221875e-12, y: 0.0016940662, z: -2.1069353e-10}
rotation: {x: 0.055163108, y: 0.0059796856, z: 0.0014736162, w: 0.9984583}
scale: {x: 0.9999999, y: 0.9999996, z: 0.99999964}
- name: mixamorig:RightShoulder
parentName: mixamorig:Spine2
position: {x: 0.00043921496, y: 0.0008826126, z: -0.0000019886438}
rotation: {x: 0.57332385, y: 0.41300702, z: -0.57593215, w: 0.41112918}
scale: {x: 0.99999994, y: 1, z: 1.0000002}
- name: mixamorig:RightArm
parentName: mixamorig:RightShoulder
position: {x: 1.9208527e-11, y: 0.0009264665, z: 0.0000000057782015}
rotation: {x: 0.12382819, y: -0.0023923656, z: 0.013976897, w: -0.99220234}
scale: {x: 1.0000001, y: 1.0000001, z: 0.9999999}
- name: mixamorig:RightForeArm
parentName: mixamorig:RightArm
position: {x: 1.268927e-10, y: 0.00084945594, z: -3.6940037e-10}
rotation: {x: 0.0783268, y: 0.0014323943, z: -0.0182396, w: -0.9967599}
scale: {x: 1, y: 1.0000006, z: 1.0000004}
- name: mixamorig:RightHand
parentName: mixamorig:RightForeArm
position: {x: -9.984433e-11, y: 0.0015588365, z: -0.0000000015721161}
rotation: {x: 0.054873023, y: -0.007834096, z: 0.00910144, w: 0.99842113}
scale: {x: 0.9999999, y: 1.0000001, z: 1.0000004}
- name: mixamorig:LeftUpLeg
parentName: mixamorig:Hips
position: {x: -0.0010205382, y: -0.00038235186, z: 0.000015514524}
rotation: {x: -0.00023846651, y: 0.021823881, z: 0.9997024, w: 0.010899296}
scale: {x: 1.0000005, y: 1.0000002, z: 1.0000012}
- name: mixamorig:LeftLeg
parentName: mixamorig:LeftUpLeg
position: {x: -2.217348e-10, y: 0.0013013834, z: 5.1572946e-10}
rotation: {x: -0.12150412, y: -0.0073919287, z: 0.060276285, w: 0.99073154}
scale: {x: 1.0000007, y: 1.000001, z: 0.99999976}
- name: mixamorig:LeftFoot
parentName: mixamorig:LeftLeg
position: {x: 6.511982e-11, y: 0.0010961046, z: 2.5145708e-10}
rotation: {x: 0.48592016, y: 0.04219211, z: -0.023493629, w: 0.8726681}
scale: {x: 1.0000002, y: 1.0000001, z: 1}
- name: mixamorig:LeftToeBase
parentName: mixamorig:LeftFoot
position: {x: -9.8953025e-12, y: 0.0010434551, z: -1.839362e-10}
rotation: {x: 0.378947, y: -0.05021617, z: 0.020599203, w: 0.9238253}
scale: {x: 1.0000004, y: 1.0000001, z: 1.0000004}
- name: mixamorig:LeftToe_End
parentName: mixamorig:LeftToeBase
position: {x: -6.4774214e-11, y: 0.0004491552, z: -1.6007107e-12}
rotation: {x: 0.000000059604623, y: -0.0000011920924, z: 0.000000018626444, w: 1}
scale: {x: 1, y: 1, z: 1.0000001}
- name: mixamorig:RightUpLeg
parentName: mixamorig:Hips
position: {x: 0.0010205383, y: -0.00038235128, z: 0.00000055082774}
rotation: {x: 0.00025587715, y: 0.023467716, z: 0.99966526, w: -0.0108972415}
scale: {x: 1.0000005, y: 1.0000001, z: 1.0000013}
- name: mixamorig:RightLeg
parentName: mixamorig:RightUpLeg
position: {x: 6.6555456e-10, y: 0.0013015771, z: 4.4952086e-10}
rotation: {x: -0.11251375, y: 0.0068454314, z: -0.06032829, w: 0.99179345}
scale: {x: 0.99999994, y: 1, z: 0.9999998}
- name: mixamorig:RightFoot
parentName: mixamorig:RightLeg
position: {x: -5.653419e-11, y: 0.0010916048, z: -6.984919e-12}
rotation: {x: 0.47108966, y: -0.044161156, z: 0.023622762, w: 0.8806624}
scale: {x: 1.0000004, y: 1.0000005, z: 0.9999999}
- name: mixamorig:RightToeBase
parentName: mixamorig:RightFoot
position: {x: 2.0634615e-10, y: 0.0010299658, z: -1.816079e-10}
rotation: {x: 0.3847082, y: 0.051783238, z: -0.02162276, w: 0.92133087}
scale: {x: 1.0000007, y: 0.9999998, z: 1.0000007}
- name: mixamorig:RightToe_End
parentName: mixamorig:RightToeBase
position: {x: -2.7616806e-11, y: 0.00044806866, z: 1.4551915e-13}
rotation: {x: 0.000000029802319, y: 0.00000045448536, z: -0.000000020489095, w: 1}
scale: {x: 0.9999999, y: 0.9999999, z: 1.0000001}
armTwist: 0.5 armTwist: 0.5
foreArmTwist: 0.5 foreArmTwist: 0.5
upperLegTwist: 0.5 upperLegTwist: 0.5
@ -93,13 +438,13 @@ ModelImporter:
globalScale: 1 globalScale: 1
rootMotionBoneName: rootMotionBoneName:
hasTranslationDoF: 0 hasTranslationDoF: 0
hasExtraRoot: 0 hasExtraRoot: 1
skeletonHasParents: 1 skeletonHasParents: 1
lastHumanDescriptionAvatarSource: {instanceID: 0} lastHumanDescriptionAvatarSource: {instanceID: 0}
autoGenerateAvatarMappingIfUnspecified: 1 autoGenerateAvatarMappingIfUnspecified: 1
animationType: 2 animationType: 3
humanoidOversampling: 1 humanoidOversampling: 1
avatarSetup: 0 avatarSetup: 1
addHumanoidExtraRootOnlyWhenUsingAvatar: 1 addHumanoidExtraRootOnlyWhenUsingAvatar: 1
importBlendShapeDeformPercent: 1 importBlendShapeDeformPercent: 1
remapMaterialsIfMaterialImportModeIsNone: 0 remapMaterialsIfMaterialImportModeIsNone: 0

@ -24,14 +24,43 @@ ModelImporter:
animationDoRetargetingWarnings: 0 animationDoRetargetingWarnings: 0
importAnimatedCustomProperties: 0 importAnimatedCustomProperties: 0
importConstraints: 0 importConstraints: 0
animationCompression: 1 animationCompression: 3
animationRotationError: 0.5 animationRotationError: 0.5
animationPositionError: 0.5 animationPositionError: 0.5
animationScaleError: 0.5 animationScaleError: 0.5
animationWrapMode: 0 animationWrapMode: 0
extraExposedTransformPaths: [] extraExposedTransformPaths: []
extraUserProperties: [] extraUserProperties: []
clipAnimations: [] clipAnimations:
- serializedVersion: 16
name: Bboy Hip Hop Move
takeName: mixamo.com
internalID: -203655887218126122
firstFrame: 0
lastFrame: 66
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 isReadable: 0
meshes: meshes:
lODScreenPercentages: [] lODScreenPercentages: []
@ -81,8 +110,324 @@ ModelImporter:
importAnimation: 1 importAnimation: 1
humanDescription: humanDescription:
serializedVersion: 3 serializedVersion: 3
human: [] human:
skeleton: [] - boneName: mixamorig:Hips
humanName: Hips
limit:
min: {x: 0, y: 0, z: 0}
max: {x: 0, y: 0, z: 0}
value: {x: 0, y: 0, z: 0}
length: 0
modified: 0
- boneName: mixamorig:LeftUpLeg
humanName: LeftUpperLeg
limit:
min: {x: 0, y: 0, z: 0}
max: {x: 0, y: 0, z: 0}
value: {x: 0, y: 0, z: 0}
length: 0
modified: 0
- boneName: mixamorig:RightUpLeg
humanName: RightUpperLeg
limit:
min: {x: 0, y: 0, z: 0}
max: {x: 0, y: 0, z: 0}
value: {x: 0, y: 0, z: 0}
length: 0
modified: 0
- boneName: mixamorig:LeftLeg
humanName: LeftLowerLeg
limit:
min: {x: 0, y: 0, z: 0}
max: {x: 0, y: 0, z: 0}
value: {x: 0, y: 0, z: 0}
length: 0
modified: 0
- boneName: mixamorig:RightLeg
humanName: RightLowerLeg
limit:
min: {x: 0, y: 0, z: 0}
max: {x: 0, y: 0, z: 0}
value: {x: 0, y: 0, z: 0}
length: 0
modified: 0
- boneName: mixamorig:LeftFoot
humanName: LeftFoot
limit:
min: {x: 0, y: 0, z: 0}
max: {x: 0, y: 0, z: 0}
value: {x: 0, y: 0, z: 0}
length: 0
modified: 0
- boneName: mixamorig:RightFoot
humanName: RightFoot
limit:
min: {x: 0, y: 0, z: 0}
max: {x: 0, y: 0, z: 0}
value: {x: 0, y: 0, z: 0}
length: 0
modified: 0
- boneName: mixamorig:Spine
humanName: Spine
limit:
min: {x: 0, y: 0, z: 0}
max: {x: 0, y: 0, z: 0}
value: {x: 0, y: 0, z: 0}
length: 0
modified: 0
- boneName: mixamorig:Spine1
humanName: Chest
limit:
min: {x: 0, y: 0, z: 0}
max: {x: 0, y: 0, z: 0}
value: {x: 0, y: 0, z: 0}
length: 0
modified: 0
- boneName: mixamorig:Neck
humanName: Neck
limit:
min: {x: 0, y: 0, z: 0}
max: {x: 0, y: 0, z: 0}
value: {x: 0, y: 0, z: 0}
length: 0
modified: 0
- boneName: mixamorig:Head
humanName: Head
limit:
min: {x: 0, y: 0, z: 0}
max: {x: 0, y: 0, z: 0}
value: {x: 0, y: 0, z: 0}
length: 0
modified: 0
- boneName: mixamorig:LeftShoulder
humanName: LeftShoulder
limit:
min: {x: 0, y: 0, z: 0}
max: {x: 0, y: 0, z: 0}
value: {x: 0, y: 0, z: 0}
length: 0
modified: 0
- boneName: mixamorig:RightShoulder
humanName: RightShoulder
limit:
min: {x: 0, y: 0, z: 0}
max: {x: 0, y: 0, z: 0}
value: {x: 0, y: 0, z: 0}
length: 0
modified: 0
- boneName: mixamorig:LeftArm
humanName: LeftUpperArm
limit:
min: {x: 0, y: 0, z: 0}
max: {x: 0, y: 0, z: 0}
value: {x: 0, y: 0, z: 0}
length: 0
modified: 0
- boneName: mixamorig:RightArm
humanName: RightUpperArm
limit:
min: {x: 0, y: 0, z: 0}
max: {x: 0, y: 0, z: 0}
value: {x: 0, y: 0, z: 0}
length: 0
modified: 0
- boneName: mixamorig:LeftForeArm
humanName: LeftLowerArm
limit:
min: {x: 0, y: 0, z: 0}
max: {x: 0, y: 0, z: 0}
value: {x: 0, y: 0, z: 0}
length: 0
modified: 0
- boneName: mixamorig:RightForeArm
humanName: RightLowerArm
limit:
min: {x: 0, y: 0, z: 0}
max: {x: 0, y: 0, z: 0}
value: {x: 0, y: 0, z: 0}
length: 0
modified: 0
- boneName: mixamorig:LeftHand
humanName: LeftHand
limit:
min: {x: 0, y: 0, z: 0}
max: {x: 0, y: 0, z: 0}
value: {x: 0, y: 0, z: 0}
length: 0
modified: 0
- boneName: mixamorig:RightHand
humanName: RightHand
limit:
min: {x: 0, y: 0, z: 0}
max: {x: 0, y: 0, z: 0}
value: {x: 0, y: 0, z: 0}
length: 0
modified: 0
- boneName: mixamorig:LeftToeBase
humanName: LeftToes
limit:
min: {x: 0, y: 0, z: 0}
max: {x: 0, y: 0, z: 0}
value: {x: 0, y: 0, z: 0}
length: 0
modified: 0
- boneName: mixamorig:RightToeBase
humanName: RightToes
limit:
min: {x: 0, y: 0, z: 0}
max: {x: 0, y: 0, z: 0}
value: {x: 0, y: 0, z: 0}
length: 0
modified: 0
- boneName: mixamorig:Spine2
humanName: UpperChest
limit:
min: {x: 0, y: 0, z: 0}
max: {x: 0, y: 0, z: 0}
value: {x: 0, y: 0, z: 0}
length: 0
modified: 0
skeleton:
- name: mysto_withRig@Bboy Hip Hop Move(Clone)
parentName:
position: {x: 0, y: 0, z: 0}
rotation: {x: 0, y: 0, z: 0, w: 1}
scale: {x: 1, y: 1, z: 1}
- name: Armature
parentName: mysto_withRig@Bboy Hip Hop Move(Clone)
position: {x: -0, y: 0, z: 0}
rotation: {x: -0.7071068, y: 0, z: -0, w: 0.7071068}
scale: {x: 100, y: 100, z: 100}
- name: mixamorig:Hips
parentName: Armature
position: {x: -7.4505804e-11, y: -0.00035926938, z: 0.0035628171}
rotation: {x: 0.70710677, y: -2.5724406e-10, z: -7.7173207e-10, w: 0.7071069}
scale: {x: 0.9999999, y: 0.9999998, z: 0.9999998}
- name: mixamorig:Spine
parentName: mixamorig:Hips
position: {x: -0, y: 0.000687606, z: 0.0000125661545}
rotation: {x: 0.009136318, y: -0.0000000021793727, z: 3.8372544e-10, w: 0.9999583}
scale: {x: 1.0000001, y: 1.0000001, z: 1.0000001}
- name: mixamorig:Spine1
parentName: mixamorig:Spine
position: {x: -0, y: 0.00080233975, z: -1.0011717e-10}
rotation: {x: -0, y: 0.000000005872973, z: 0.000000002803541, w: 1}
scale: {x: 0.9999999, y: 0.99999994, z: 0.99999994}
- name: mixamorig:Spine2
parentName: mixamorig:Spine1
position: {x: -0, y: 0.00091696135, z: -4.6566128e-12}
rotation: {x: 1.6940664e-17, y: -5.3177455e-11, z: -0.0000000029098972, w: 1}
scale: {x: 1.0000001, y: 0.99999994, z: 0.99999994}
- name: mixamorig:Neck
parentName: mixamorig:Spine2
position: {x: -0, y: 0.0010315785, z: -1.2107193e-10}
rotation: {x: -0.009136318, y: 1.329435e-11, z: 0.0000000014551309, w: 0.9999583}
scale: {x: 1, y: 1.0000002, z: 1}
- name: mixamorig:Head
parentName: mixamorig:Neck
position: {x: -0, y: 0.0007643753, z: -0.00023774458}
rotation: {x: -0, y: -0.0000000014551919, z: -0.0000000036379788, w: 1}
scale: {x: 0.9999999, y: 1, z: 1}
- name: mixamorig:HeadTop_End
parentName: mixamorig:Head
position: {x: -0, y: 0.0043788604, z: -0.0013619636}
rotation: {x: 4.1359026e-25, y: -0, z: -0, w: 1}
scale: {x: 1, y: 1, z: 1}
- name: mixamorig:LeftShoulder
parentName: mixamorig:Spine2
position: {x: -0.00043921868, y: 0.0008826716, z: 0.0000013715029}
rotation: {x: 0.5755002, y: -0.41146207, z: 0.57370967, w: 0.4127418}
scale: {x: 1.0000001, y: 1.0000002, z: 1.0000004}
- name: mixamorig:LeftArm
parentName: mixamorig:LeftShoulder
position: {x: -4.3510226e-10, y: 0.0009264184, z: -0.0000000029314104}
rotation: {x: -0.13155274, y: -0.006815312, z: 0.025945058, w: 0.9909462}
scale: {x: 1.0000001, y: 1, z: 0.9999998}
- name: mixamorig:LeftForeArm
parentName: mixamorig:LeftArm
position: {x: 5.844049e-10, y: 0.00085128506, z: 0.0000000025527698}
rotation: {x: -0.07045289, y: 0.0029740254, z: -0.03913022, w: 0.9967429}
scale: {x: 1.0000001, y: 1.0000004, z: 1.0000001}
- name: mixamorig:LeftHand
parentName: mixamorig:LeftForeArm
position: {x: 1.04773785e-11, y: 0.0018484738, z: 5.2004906e-10}
rotation: {x: 0.058529317, y: 0.005849191, z: 0.007929075, w: 0.99823713}
scale: {x: 1.0000001, y: 1.0000006, z: 1.0000006}
- name: mixamorig:RightShoulder
parentName: mixamorig:Spine2
position: {x: 0.00043921496, y: 0.0008826126, z: -0.0000019886438}
rotation: {x: 0.57332355, y: 0.41300732, z: -0.5759319, w: 0.41112956}
scale: {x: 1.0000001, y: 1.0000002, z: 1.0000005}
- name: mixamorig:RightArm
parentName: mixamorig:RightShoulder
position: {x: 2.4447217e-11, y: 0.00092646637, z: 0.000000006380214}
rotation: {x: 0.12382732, y: -0.002392306, z: 0.013977046, w: -0.9922025}
scale: {x: 0.9999999, y: 1.0000004, z: 1.0000001}
- name: mixamorig:RightForeArm
parentName: mixamorig:RightArm
position: {x: 1.466833e-10, y: 0.00084945624, z: -4.807225e-10}
rotation: {x: 0.07349707, y: 0.0013443939, z: -0.018240612, w: -0.9971277}
scale: {x: 1.0000002, y: 0.9999999, z: 0.99999994}
- name: mixamorig:RightHand
parentName: mixamorig:RightForeArm
position: {x: -1.1741576e-10, y: 0.0018483752, z: -6.0463207e-10}
rotation: {x: 0.059526093, y: -0.007884321, z: 0.01285567, w: 0.9981128}
scale: {x: 0.99999994, y: 1.0000006, z: 1.0000004}
- name: mixamorig:LeftUpLeg
parentName: mixamorig:Hips
position: {x: -0.0010205382, y: -0.00038235186, z: 0.000015514524}
rotation: {x: -0.0002382267, y: 0.021823881, z: 0.9997024, w: 0.010899304}
scale: {x: 1.0000006, y: 1.0000005, z: 1.0000014}
- name: mixamorig:LeftLeg
parentName: mixamorig:LeftUpLeg
position: {x: -3.144123e-10, y: 0.0013013835, z: 5.075295e-10}
rotation: {x: -0.121504106, y: -0.007391933, z: 0.06027634, w: 0.99073154}
scale: {x: 1.0000004, y: 1.0000013, z: 0.99999917}
- name: mixamorig:LeftFoot
parentName: mixamorig:LeftLeg
position: {x: 1.2732926e-11, y: 0.0010961044, z: 2.2584572e-10}
rotation: {x: 0.4859202, y: 0.042192135, z: -0.023493852, w: 0.8726681}
scale: {x: 1.0000001, y: 1.0000002, z: 0.9999999}
- name: mixamorig:LeftToeBase
parentName: mixamorig:LeftFoot
position: {x: -1.6938428e-10, y: 0.0010434551, z: -1.6530975e-10}
rotation: {x: 0.3789469, y: -0.05021711, z: 0.020598665, w: 0.92382526}
scale: {x: 1.0000008, y: 1.0000011, z: 0.99999976}
- name: mixamorig:LeftToe_End
parentName: mixamorig:LeftToeBase
position: {x: -5.270522e-12, y: 0.00044915525, z: 2.6921044e-12}
rotation: {x: -0, y: 0.000000022351735, z: -0, w: 1}
scale: {x: 1.0000004, y: 0.99999976, z: 1.0000001}
- name: mixamorig:RightUpLeg
parentName: mixamorig:Hips
position: {x: 0.0010205383, y: -0.00038235128, z: 0.00000055082774}
rotation: {x: 0.00025553536, y: 0.023467716, z: 0.99966526, w: -0.010897244}
scale: {x: 0.99999994, y: 0.9999998, z: 1.0000014}
- name: mixamorig:RightLeg
parentName: mixamorig:RightUpLeg
position: {x: 6.422442e-10, y: 0.0013015771, z: 4.301264e-10}
rotation: {x: -0.11251361, y: 0.0068454742, z: -0.06032841, w: 0.9917935}
scale: {x: 1.0000001, y: 1.0000011, z: 0.99999875}
- name: mixamorig:RightFoot
parentName: mixamorig:RightLeg
position: {x: -9.822543e-12, y: 0.0010916049, z: 1.16415315e-11}
rotation: {x: 0.47108954, y: -0.044161316, z: 0.02362309, w: 0.8806625}
scale: {x: 1.0000001, y: 0.9999998, z: 1}
- name: mixamorig:RightToeBase
parentName: mixamorig:RightFoot
position: {x: 1.9586878e-10, y: 0.0010299657, z: -7.683411e-11}
rotation: {x: 0.38470834, y: 0.051783513, z: -0.021622514, w: 0.9213308}
scale: {x: 1.0000005, y: 1.0000008, z: 0.9999998}
- name: mixamorig:RightToe_End
parentName: mixamorig:RightToeBase
position: {x: -8.314146e-11, y: 0.00044806875, z: 2.0372681e-12}
rotation: {x: 0.000000089406946, y: -0.000000026077027, z: 0.000000013038513, w: 1}
scale: {x: 1.0000002, y: 1, z: 0.99999994}
- name: Mysto.001
parentName: mysto_withRig@Bboy Hip Hop Move(Clone)
position: {x: -0, y: 0, z: 0}
rotation: {x: -0.7071068, y: 0, z: -0, w: 0.7071067}
scale: {x: 100, y: 100, z: 100}
armTwist: 0.5 armTwist: 0.5
foreArmTwist: 0.5 foreArmTwist: 0.5
upperLegTwist: 0.5 upperLegTwist: 0.5
@ -93,13 +438,13 @@ ModelImporter:
globalScale: 1 globalScale: 1
rootMotionBoneName: rootMotionBoneName:
hasTranslationDoF: 0 hasTranslationDoF: 0
hasExtraRoot: 0 hasExtraRoot: 1
skeletonHasParents: 1 skeletonHasParents: 1
lastHumanDescriptionAvatarSource: {instanceID: 0} lastHumanDescriptionAvatarSource: {instanceID: 0}
autoGenerateAvatarMappingIfUnspecified: 1 autoGenerateAvatarMappingIfUnspecified: 1
animationType: 2 animationType: 3
humanoidOversampling: 1 humanoidOversampling: 1
avatarSetup: 0 avatarSetup: 1
addHumanoidExtraRootOnlyWhenUsingAvatar: 1 addHumanoidExtraRootOnlyWhenUsingAvatar: 1
importBlendShapeDeformPercent: 1 importBlendShapeDeformPercent: 1
remapMaterialsIfMaterialImportModeIsNone: 0 remapMaterialsIfMaterialImportModeIsNone: 0

@ -1047,7 +1047,10 @@ PrefabInstance:
m_RemovedComponents: [] m_RemovedComponents: []
m_RemovedGameObjects: [] m_RemovedGameObjects: []
m_AddedGameObjects: [] m_AddedGameObjects: []
m_AddedComponents: [] m_AddedComponents:
- targetCorrespondingSourceObject: {fileID: 919132149155446097, guid: eba8dcb9cac7c994fa0ed36ac000e0b5, type: 3}
insertIndex: -1
addedObject: {fileID: 719666188}
m_SourcePrefab: {fileID: 100100000, guid: eba8dcb9cac7c994fa0ed36ac000e0b5, type: 3} m_SourcePrefab: {fileID: 100100000, guid: eba8dcb9cac7c994fa0ed36ac000e0b5, type: 3}
--- !u!4 &719666186 stripped --- !u!4 &719666186 stripped
Transform: Transform:
@ -1059,6 +1062,27 @@ GameObject:
m_CorrespondingSourceObject: {fileID: 919132149155446097, guid: eba8dcb9cac7c994fa0ed36ac000e0b5, type: 3} m_CorrespondingSourceObject: {fileID: 919132149155446097, guid: eba8dcb9cac7c994fa0ed36ac000e0b5, type: 3}
m_PrefabInstance: {fileID: 719666185} m_PrefabInstance: {fileID: 719666185}
m_PrefabAsset: {fileID: 0} m_PrefabAsset: {fileID: 0}
--- !u!95 &719666188
Animator:
serializedVersion: 5
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 719666187}
m_Enabled: 1
m_Avatar: {fileID: 9000000, guid: eba8dcb9cac7c994fa0ed36ac000e0b5, type: 3}
m_Controller: {fileID: 9100000, guid: 0e09cad5f1d8dd44e85551cf78cbcbd7, type: 2}
m_CullingMode: 0
m_UpdateMode: 0
m_ApplyRootMotion: 0
m_LinearVelocityBlending: 0
m_StabilizeFeet: 0
m_WarningMessage:
m_HasTransformHierarchy: 1
m_AllowConstantClipSamplingOptimization: 1
m_KeepAnimatorStateOnDisable: 0
m_WriteDefaultValuesOnDisable: 0
--- !u!1001 &767180482 --- !u!1001 &767180482
PrefabInstance: PrefabInstance:
m_ObjectHideFlags: 0 m_ObjectHideFlags: 0
@ -1127,6 +1151,14 @@ PrefabInstance:
propertyPath: m_IsActive propertyPath: m_IsActive
value: 0 value: 0
objectReference: {fileID: 0} objectReference: {fileID: 0}
- target: {fileID: 5866666021909216657, guid: 6123d4aa15b9b6e459f972fa5d0aca61, type: 3}
propertyPath: m_Controller
value:
objectReference: {fileID: 9100000, guid: 0e09cad5f1d8dd44e85551cf78cbcbd7, type: 2}
- target: {fileID: 5866666021909216657, guid: 6123d4aa15b9b6e459f972fa5d0aca61, type: 3}
propertyPath: m_ApplyRootMotion
value: 0
objectReference: {fileID: 0}
m_RemovedComponents: [] m_RemovedComponents: []
m_RemovedGameObjects: [] m_RemovedGameObjects: []
m_AddedGameObjects: [] m_AddedGameObjects: []

File diff suppressed because it is too large Load Diff

@ -14,7 +14,7 @@ PrefabInstance:
objectReference: {fileID: 0} objectReference: {fileID: 0}
- target: {fileID: -8679921383154817045, guid: beca9f74d86230c40a397c54eeeb85f2, type: 3} - target: {fileID: -8679921383154817045, guid: beca9f74d86230c40a397c54eeeb85f2, type: 3}
propertyPath: m_LocalPosition.y propertyPath: m_LocalPosition.y
value: 0 value: -1
objectReference: {fileID: 0} objectReference: {fileID: 0}
- target: {fileID: -8679921383154817045, guid: beca9f74d86230c40a397c54eeeb85f2, type: 3} - target: {fileID: -8679921383154817045, guid: beca9f74d86230c40a397c54eeeb85f2, type: 3}
propertyPath: m_LocalPosition.z propertyPath: m_LocalPosition.z
@ -56,6 +56,14 @@ PrefabInstance:
propertyPath: m_ApplyRootMotion propertyPath: m_ApplyRootMotion
value: 0 value: 0
objectReference: {fileID: 0} objectReference: {fileID: 0}
- target: {fileID: 8632055958874330854, guid: beca9f74d86230c40a397c54eeeb85f2, type: 3}
propertyPath: m_LocalPosition.x
value: 0.221
objectReference: {fileID: 0}
- target: {fileID: 8879528566716807029, guid: beca9f74d86230c40a397c54eeeb85f2, type: 3}
propertyPath: m_LocalPosition.y
value: -0.528
objectReference: {fileID: 0}
m_RemovedComponents: [] m_RemovedComponents: []
m_RemovedGameObjects: [] m_RemovedGameObjects: []
m_AddedGameObjects: [] m_AddedGameObjects: []
@ -106,6 +114,10 @@ PrefabInstance:
serializedVersion: 3 serializedVersion: 3
m_TransformParent: {fileID: 0} m_TransformParent: {fileID: 0}
m_Modifications: m_Modifications:
- target: {fileID: 222793509611741078, guid: a83601dfcee9a0a4bb6bb284cf6cb348, type: 3}
propertyPath: m_Height
value: 1
objectReference: {fileID: 0}
- target: {fileID: 222793509611741078, guid: a83601dfcee9a0a4bb6bb284cf6cb348, type: 3} - target: {fileID: 222793509611741078, guid: a83601dfcee9a0a4bb6bb284cf6cb348, type: 3}
propertyPath: m_Radius propertyPath: m_Radius
value: 0.25 value: 0.25
@ -142,6 +154,10 @@ PrefabInstance:
propertyPath: m_Radius propertyPath: m_Radius
value: 0.25 value: 0.25
objectReference: {fileID: 0} objectReference: {fileID: 0}
- target: {fileID: 4237591272215210788, guid: a83601dfcee9a0a4bb6bb284cf6cb348, type: 3}
propertyPath: m_Center.y
value: -0.72
objectReference: {fileID: 0}
- target: {fileID: 4237591272215210791, guid: a83601dfcee9a0a4bb6bb284cf6cb348, type: 3} - target: {fileID: 4237591272215210791, guid: a83601dfcee9a0a4bb6bb284cf6cb348, type: 3}
propertyPath: _maxPoints propertyPath: _maxPoints
value: 35 value: 35

@ -8,6 +8,14 @@ PrefabInstance:
serializedVersion: 3 serializedVersion: 3
m_TransformParent: {fileID: 0} m_TransformParent: {fileID: 0}
m_Modifications: m_Modifications:
- target: {fileID: 222793509611741078, guid: a83601dfcee9a0a4bb6bb284cf6cb348, type: 3}
propertyPath: m_Height
value: 1.2
objectReference: {fileID: 0}
- target: {fileID: 222793509611741078, guid: a83601dfcee9a0a4bb6bb284cf6cb348, type: 3}
propertyPath: m_BaseOffset
value: 0.52
objectReference: {fileID: 0}
- target: {fileID: 222793509611741078, guid: a83601dfcee9a0a4bb6bb284cf6cb348, type: 3} - target: {fileID: 222793509611741078, guid: a83601dfcee9a0a4bb6bb284cf6cb348, type: 3}
propertyPath: m_AngularSpeed propertyPath: m_AngularSpeed
value: 65 value: 65
@ -24,6 +32,10 @@ PrefabInstance:
propertyPath: m_AnchorMax.y propertyPath: m_AnchorMax.y
value: 0 value: 0
objectReference: {fileID: 0} objectReference: {fileID: 0}
- target: {fileID: 4237591272215210788, guid: a83601dfcee9a0a4bb6bb284cf6cb348, type: 3}
propertyPath: m_Height
value: 1.55
objectReference: {fileID: 0}
- target: {fileID: 4237591272215210791, guid: a83601dfcee9a0a4bb6bb284cf6cb348, type: 3} - target: {fileID: 4237591272215210791, guid: a83601dfcee9a0a4bb6bb284cf6cb348, type: 3}
propertyPath: _maxPoints propertyPath: _maxPoints
value: 2 value: 2

@ -189,7 +189,7 @@ Transform:
m_GameObject: {fileID: 2508792494327918216} m_GameObject: {fileID: 2508792494327918216}
serializedVersion: 2 serializedVersion: 2
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: 0, y: -0.39, z: 0} m_LocalPosition: {x: 0, y: -0.791, z: 0}
m_LocalScale: {x: 1, y: 1, z: 1} m_LocalScale: {x: 1, y: 1, z: 1}
m_ConstrainProportionsScale: 0 m_ConstrainProportionsScale: 0
m_Children: m_Children:
@ -594,9 +594,9 @@ CapsuleCollider:
m_Enabled: 1 m_Enabled: 1
serializedVersion: 2 serializedVersion: 2
m_Radius: 0.5000001 m_Radius: 0.5000001
m_Height: 2 m_Height: 2.19
m_Direction: 1 m_Direction: 1
m_Center: {x: 0.000000059604645, y: 0, z: -0.00000008940697} m_Center: {x: 0.000000059604645, y: 0.17, z: -0.00000008940697}
--- !u!114 &4237591272215210811 --- !u!114 &4237591272215210811
MonoBehaviour: MonoBehaviour:
m_ObjectHideFlags: 0 m_ObjectHideFlags: 0
@ -712,8 +712,8 @@ NavMeshAgent:
m_AutoTraverseOffMeshLink: 1 m_AutoTraverseOffMeshLink: 1
m_AutoBraking: 0 m_AutoBraking: 0
m_AutoRepath: 1 m_AutoRepath: 1
m_Height: 2 m_Height: 1.44
m_BaseOffset: 1 m_BaseOffset: 0.13
m_WalkableMask: 4294967295 m_WalkableMask: 4294967295
m_ObstacleAvoidanceType: 1 m_ObstacleAvoidanceType: 1
--- !u!1 &4342937666539257247 --- !u!1 &4342937666539257247

@ -15,7 +15,7 @@ MonoBehaviour:
Idle: {fileID: -203655887218126122, guid: b7486a34921d59c4a97cc6b29e193e91, type: 3} Idle: {fileID: -203655887218126122, guid: b7486a34921d59c4a97cc6b29e193e91, type: 3}
FallingIdle: {fileID: -203655887218126122, guid: 20415c1fd986f0e45968a137a349218e, type: 3} FallingIdle: {fileID: -203655887218126122, guid: 20415c1fd986f0e45968a137a349218e, type: 3}
Death: {fileID: -203655887218126122, guid: 2ce8e4e48c5274d42970a5a9c032d4fd, type: 3} Death: {fileID: -203655887218126122, guid: 2ce8e4e48c5274d42970a5a9c032d4fd, type: 3}
UnarmedRun: {fileID: -623603649343465320, guid: b010554f0c57d7040b12e9576984c6fb, type: 3} UnarmedRun: {fileID: -623603649343465320, guid: 49a70bb8fa37987479e33b4ae2eb9a87, type: 3}
RunWithRifle: {fileID: -203655887218126122, guid: bab5d3c2ad9e3624c8ccf44fd467d9a2, type: 3} RunWithRifle: {fileID: -203655887218126122, guid: bab5d3c2ad9e3624c8ccf44fd467d9a2, type: 3}
RunWithDouble: {fileID: -8412343837380535855, guid: 4f3a699adcd5eea4495f7311f29070f9, type: 3} RunWithDouble: {fileID: -8412343837380535855, guid: 4f3a699adcd5eea4495f7311f29070f9, type: 3}
RunForward: {fileID: -203655887218126122, guid: e09b58c2d3eeeb64989111771640415d, type: 3} RunForward: {fileID: -203655887218126122, guid: e09b58c2d3eeeb64989111771640415d, type: 3}

@ -1,5 +1,7 @@
using Animancer;
using D2D; using D2D;
using D2D.Utilities; using D2D.Utilities;
using NUnit.Framework;
using UnityEngine; using UnityEngine;
using static D2D.Utilities.CommonGameplayFacade; using static D2D.Utilities.CommonGameplayFacade;
@ -7,7 +9,9 @@ using static D2D.Utilities.CommonGameplayFacade;
public class PistolMember : SquadMember public class PistolMember : SquadMember
{ {
[SerializeField] private float projectileForce = 10f; [SerializeField] private float projectileForce = 10f;
string character;
public GameObject[] charactersArray;
public Avatar[] characterAvatar;
public override void Shoot(Transform target) public override void Shoot(Transform target)
{ {
if (reloadTime > Time.time) if (reloadTime > Time.time)
@ -61,7 +65,30 @@ public class PistolMember : SquadMember
reloadTime = Time.time + memberClass.ReloadDuration; reloadTime = Time.time + memberClass.ReloadDuration;
} }
private void Start()
{
//particleController = GetComponent<ParticleController>();
character = PlayerPrefs.GetString("selectedCharacterKey");
if (character.Contains("mysto"))
{
//FindObjectOfType<ParticleController>().enableParticle(0);
//particleController.enableParticle(0);
charactersArray[0].SetActive(true);
charactersArray[0].GetComponent<AnimancerComponent>().Animator.avatar = characterAvatar[0];
}
else
{
//if (particleController != null)
//{
// particleController.enableParticle(1);
//}
charactersArray[1].SetActive(true);
charactersArray[1].GetComponent<AnimancerComponent>().Animator.avatar = characterAvatar[1];
}
}
private void HitEnemy(Transform other, Transform @object) private void HitEnemy(Transform other, Transform @object)
{ {
if (other.CompareTag(_gameData.hittableTag)) if (other.CompareTag(_gameData.hittableTag))

@ -0,0 +1,116 @@
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!1107 &-9055811386643036808
AnimatorStateMachine:
serializedVersion: 6
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: 832873174607403605}
m_Position: {x: 562.4015, y: 24.87201, z: 0}
- serializedVersion: 1
m_State: {fileID: 2651760264367576034}
m_Position: {x: 530, y: 210, z: 0}
m_ChildStateMachines: []
m_AnyStateTransitions: []
m_EntryTransitions:
- {fileID: 523123511987044599}
m_StateMachineTransitions: {}
m_StateMachineBehaviours: []
m_AnyStatePosition: {x: 50, y: 20, z: 0}
m_EntryPosition: {x: 210, y: 110, z: 0}
m_ExitPosition: {x: 800, y: 120, z: 0}
m_ParentStateMachinePosition: {x: 800, y: 20, z: 0}
m_DefaultState: {fileID: 832873174607403605}
--- !u!91 &9100000
AnimatorController:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_Name: characters
serializedVersion: 5
m_AnimatorParameters: []
m_AnimatorLayers:
- serializedVersion: 5
m_Name: Base Layer
m_StateMachine: {fileID: -9055811386643036808}
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!1109 &523123511987044599
AnimatorTransition:
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: 2651760264367576034}
m_Solo: 0
m_Mute: 0
m_IsExit: 0
serializedVersion: 1
--- !u!1102 &832873174607403605
AnimatorState:
serializedVersion: 6
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: -203655887218126122, guid: 6123d4aa15b9b6e459f972fa5d0aca61, type: 3}
m_Tag:
m_SpeedParameter:
m_MirrorParameter:
m_CycleOffsetParameter:
m_TimeParameter:
--- !u!1102 &2651760264367576034
AnimatorState:
serializedVersion: 6
m_ObjectHideFlags: 1
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_Name: New State 0
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: -203655887218126122, guid: eba8dcb9cac7c994fa0ed36ac000e0b5, type: 3}
m_Tag:
m_SpeedParameter:
m_MirrorParameter:
m_CycleOffsetParameter:
m_TimeParameter:

@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: 0e09cad5f1d8dd44e85551cf78cbcbd7
NativeFormatImporter:
externalObjects: {}
mainObjectFileID: 9100000
userData:
assetBundleName:
assetBundleVariant:
Loading…
Cancel
Save