From eb6e1bc0ff0273a1f33a41f1c4a4c390795b6b4a Mon Sep 17 00:00:00 2001 From: JoshuaReason Date: Sun, 27 Jan 2019 10:48:09 +1100 Subject: [PATCH] Added Character Animations --- Assets/Animations.meta | 8 + .../Animations/CharacterController.controller | 186 +++ .../CharacterController.controller.meta | 8 + Assets/Animations/Character_Animate.fbx | 3 + Assets/Animations/Character_Animate.fbx.meta | 174 +++ .../Character_IdleCharacter_Idle.fbx | 3 + .../Character_IdleCharacter_Idle.fbx.meta | 201 +++ Assets/Animations/Character_PickUp.fbx | 3 + Assets/Animations/Character_PickUp.fbx.meta | 201 +++ Assets/Animations/TestWalk.fbx | 3 + Assets/Animations/TestWalk.fbx.meta | 201 +++ Assets/LocalPlayer.cs | 65 +- Assets/Prefabs/RealLocalPlayer.prefab | 1378 ++++++++++++++++- Assets/Scipts/CharacterMovement.cs | 17 - Assets/Scipts/Map.cs | 45 +- .../Multiplayer/Client/ClientManager.cs | 2 +- Assets/Scipts/Player.cs | 61 +- Assets/Shaders.meta | 8 + Assets/WorldAssets.meta | 8 + Assets/WorldAssets/Models.meta | 8 + ProjectSettings/EditorBuildSettings.asset | 4 +- ProjectSettings/GraphicsSettings.asset | 4 +- ProjectSettings/UnityConnectSettings.asset | 4 +- 23 files changed, 2505 insertions(+), 90 deletions(-) create mode 100644 Assets/Animations.meta create mode 100644 Assets/Animations/CharacterController.controller create mode 100644 Assets/Animations/CharacterController.controller.meta create mode 100644 Assets/Animations/Character_Animate.fbx create mode 100644 Assets/Animations/Character_Animate.fbx.meta create mode 100644 Assets/Animations/Character_IdleCharacter_Idle.fbx create mode 100644 Assets/Animations/Character_IdleCharacter_Idle.fbx.meta create mode 100644 Assets/Animations/Character_PickUp.fbx create mode 100644 Assets/Animations/Character_PickUp.fbx.meta create mode 100644 Assets/Animations/TestWalk.fbx create mode 100644 Assets/Animations/TestWalk.fbx.meta create mode 100644 Assets/Shaders.meta create mode 100644 Assets/WorldAssets.meta create mode 100644 Assets/WorldAssets/Models.meta diff --git a/Assets/Animations.meta b/Assets/Animations.meta new file mode 100644 index 0000000..edc1765 --- /dev/null +++ b/Assets/Animations.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: f5bfebef26f4d804b9cad1b10ac3ad07 +folderAsset: yes +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Animations/CharacterController.controller b/Assets/Animations/CharacterController.controller new file mode 100644 index 0000000..d879a1f --- /dev/null +++ b/Assets/Animations/CharacterController.controller @@ -0,0 +1,186 @@ +%YAML 1.1 +%TAG !u! tag:unity3d.com,2011: +--- !u!91 &9100000 +AnimatorController: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_Name: CharacterController + serializedVersion: 5 + m_AnimatorParameters: + - m_Name: WalkSpeed + m_Type: 1 + m_DefaultFloat: 0 + m_DefaultInt: 0 + m_DefaultBool: 0 + m_Controller: {fileID: 0} + - m_Name: PickUp + m_Type: 9 + m_DefaultFloat: 0 + m_DefaultInt: 0 + m_DefaultBool: 0 + m_Controller: {fileID: 0} + m_AnimatorLayers: + - serializedVersion: 5 + m_Name: Base Layer + m_StateMachine: {fileID: 1107254025396549500} + 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!206 &206623138559818834 +BlendTree: + m_ObjectHideFlags: 1 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_Name: Blend Tree + m_Childs: + - serializedVersion: 2 + m_Motion: {fileID: 7400000, guid: bd9a5f058e048cd49a4ca8566dd4d8e7, type: 3} + m_Threshold: 0 + m_Position: {x: 0, y: 0} + m_TimeScale: 1 + m_CycleOffset: 0 + m_DirectBlendParameter: WalkSpeed + m_Mirror: 0 + - serializedVersion: 2 + m_Motion: {fileID: 7400000, guid: 5e6441716cdffff40b7d37472b58522d, type: 3} + m_Threshold: 1 + m_Position: {x: 0, y: 0} + m_TimeScale: 1 + m_CycleOffset: 0 + m_DirectBlendParameter: WalkSpeed + m_Mirror: 0 + m_BlendParameter: WalkSpeed + m_BlendParameterY: Blend + m_MinThreshold: 0 + m_MaxThreshold: 1 + m_UseAutomaticThresholds: 1 + m_NormalizedBlendValues: 0 + m_BlendType: 0 +--- !u!1101 &1101485998117681898 +AnimatorStateTransition: + m_ObjectHideFlags: 1 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_Name: + m_Conditions: [] + m_DstStateMachine: {fileID: 0} + m_DstState: {fileID: 1102422810112928228} + m_Solo: 0 + m_Mute: 0 + m_IsExit: 0 + serializedVersion: 3 + m_TransitionDuration: 0.25 + m_TransitionOffset: 0 + m_ExitTime: 0.8397436 + m_HasExitTime: 1 + m_HasFixedDuration: 1 + m_InterruptionSource: 0 + m_OrderedInterruption: 1 + m_CanTransitionToSelf: 1 +--- !u!1101 &1101516048483575740 +AnimatorStateTransition: + m_ObjectHideFlags: 1 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_Name: + m_Conditions: + - m_ConditionMode: 1 + m_ConditionEvent: PickUp + m_EventTreshold: 0 + m_DstStateMachine: {fileID: 0} + m_DstState: {fileID: 1102570402557220086} + m_Solo: 0 + m_Mute: 0 + m_IsExit: 0 + serializedVersion: 3 + m_TransitionDuration: 0.04112649 + m_TransitionOffset: 0 + m_ExitTime: 0.8913044 + m_HasExitTime: 0 + m_HasFixedDuration: 1 + m_InterruptionSource: 0 + m_OrderedInterruption: 1 + m_CanTransitionToSelf: 1 +--- !u!1102 &1102422810112928228 +AnimatorState: + serializedVersion: 5 + m_ObjectHideFlags: 1 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_Name: Blend Tree + m_Speed: 1 + m_CycleOffset: 0 + m_Transitions: + - {fileID: 1101516048483575740} + 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: 206623138559818834} + m_Tag: + m_SpeedParameter: + m_MirrorParameter: + m_CycleOffsetParameter: + m_TimeParameter: +--- !u!1102 &1102570402557220086 +AnimatorState: + serializedVersion: 5 + m_ObjectHideFlags: 1 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_Name: PickUp + m_Speed: 1 + m_CycleOffset: 0 + m_Transitions: + - {fileID: 1101485998117681898} + 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: c6fb98988f1ee6a43948c501b2e31c89, type: 3} + m_Tag: + m_SpeedParameter: + m_MirrorParameter: + m_CycleOffsetParameter: + m_TimeParameter: +--- !u!1107 &1107254025396549500 +AnimatorStateMachine: + serializedVersion: 5 + m_ObjectHideFlags: 1 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_Name: Base Layer + m_ChildStates: + - serializedVersion: 1 + m_State: {fileID: 1102422810112928228} + m_Position: {x: 472.30035, y: 273.0841, z: 0} + - serializedVersion: 1 + m_State: {fileID: 1102570402557220086} + m_Position: {x: 468, y: 408, z: 0} + m_ChildStateMachines: [] + m_AnyStateTransitions: [] + m_EntryTransitions: [] + m_StateMachineTransitions: {} + 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_ParentStateMachinePosition: {x: 800, y: 20, z: 0} + m_DefaultState: {fileID: 1102422810112928228} diff --git a/Assets/Animations/CharacterController.controller.meta b/Assets/Animations/CharacterController.controller.meta new file mode 100644 index 0000000..404f2b6 --- /dev/null +++ b/Assets/Animations/CharacterController.controller.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: b8ccd80bd1d70dd44a5d8a54d14a16c2 +NativeFormatImporter: + externalObjects: {} + mainObjectFileID: 9100000 + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Animations/Character_Animate.fbx b/Assets/Animations/Character_Animate.fbx new file mode 100644 index 0000000..387572d --- /dev/null +++ b/Assets/Animations/Character_Animate.fbx @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:7219c608304eeec56a75fd8202c60d6801cb9e99fc3f0ec38e918c05a01a68b9 +size 324176 diff --git a/Assets/Animations/Character_Animate.fbx.meta b/Assets/Animations/Character_Animate.fbx.meta new file mode 100644 index 0000000..2d80d2a --- /dev/null +++ b/Assets/Animations/Character_Animate.fbx.meta @@ -0,0 +1,174 @@ +fileFormatVersion: 2 +guid: 236e7961efac5a74bb87438b563e964a +ModelImporter: + serializedVersion: 23 + fileIDToRecycleName: + 100000: Arms + 100002: Body + 100004: Button + 100006: //RootNode + 100008: Character_Bear1 + 100010: CTRL_Main + 100012: Hat1 + 100014: Legs + 100016: QuickRigCharacter_Hips + 100018: QuickRigCharacter_LeftArm + 100020: QuickRigCharacter_LeftForeArm + 100022: QuickRigCharacter_LeftLeg + 100024: QuickRigCharacter_LeftLeg1 + 100026: QuickRigCharacter_LeftUpLeg + 100028: QuickRigCharacter_LeftUpLeg1 + 100030: QuickRigCharacter_Neck + 100032: QuickRigCharacter_Reference + 100034: QuickRigCharacter_RightArm + 100036: QuickRigCharacter_RightForeArm + 100038: QuickRigCharacter_Spine + 100040: QuickRigCharacter_Spine1 + 100042: QuickRigCharacter_Spine2 + 100044: Scarf + 100046: Scarf_1 + 100048: Scarf_2 + 100050: Scarf_2 1 + 100052: Scarf_3 + 100054: Scarf_3 1 + 100056: Scarf_4 + 100058: Scarf_4 1 + 100060: Scarf_5 + 100062: Scarf_5 1 + 100064: Scarf_6 + 400000: Arms + 400002: Body + 400004: Button + 400006: //RootNode + 400008: Character_Bear1 + 400010: CTRL_Main + 400012: Hat1 + 400014: Legs + 400016: QuickRigCharacter_Hips + 400018: QuickRigCharacter_LeftArm + 400020: QuickRigCharacter_LeftForeArm + 400022: QuickRigCharacter_LeftLeg + 400024: QuickRigCharacter_LeftLeg1 + 400026: QuickRigCharacter_LeftUpLeg + 400028: QuickRigCharacter_LeftUpLeg1 + 400030: QuickRigCharacter_Neck + 400032: QuickRigCharacter_Reference + 400034: QuickRigCharacter_RightArm + 400036: QuickRigCharacter_RightForeArm + 400038: QuickRigCharacter_Spine + 400040: QuickRigCharacter_Spine1 + 400042: QuickRigCharacter_Spine2 + 400044: Scarf + 400046: Scarf_1 + 400048: Scarf_2 + 400050: Scarf_2 1 + 400052: Scarf_3 + 400054: Scarf_3 1 + 400056: Scarf_4 + 400058: Scarf_4 1 + 400060: Scarf_5 + 400062: Scarf_5 1 + 400064: Scarf_6 + 2100000: Pants + 2100002: lambert1 + 2100004: Shirt1 + 2100006: Scarf1 + 2100008: Black + 2100010: BearHat1 + 2100012: White + 4300000: Legs + 4300002: Arms + 4300004: Scarf + 4300006: Button + 4300008: Hat1 + 4300010: Body + 9500000: //RootNode + 13700000: Arms + 13700002: Body + 13700004: Button + 13700006: Hat1 + 13700008: Legs + 13700010: Scarf + externalObjects: {} + materials: + importMaterials: 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: 1 + meshes: + lODScreenPercentages: [] + globalScale: 50 + meshCompression: 0 + addColliders: 0 + importVisibility: 1 + importBlendShapes: 1 + importCameras: 1 + importLights: 1 + swapUVChannels: 0 + generateSecondaryUV: 0 + useFileUnits: 1 + optimizeMeshForGPU: 1 + keepQuads: 0 + weldVertices: 1 + preserveHierarchy: 0 + indexFormat: 0 + secondaryUVAngleDistortion: 8 + secondaryUVAreaDistortion: 15.000001 + secondaryUVHardAngle: 88 + secondaryUVPackMargin: 4 + useFileScale: 1 + previousCalculatedGlobalScale: 0.35 + hasPreviousCalculatedGlobalScale: 1 + tangentSpace: + normalSmoothAngle: 60 + normalImportMode: 0 + tangentImportMode: 3 + normalCalculationMode: 4 + importAnimation: 1 + copyAvatar: 0 + humanDescription: + serializedVersion: 2 + human: [] + skeleton: [] + armTwist: 0.5 + foreArmTwist: 0.5 + upperLegTwist: 0.5 + legTwist: 0.5 + armStretch: 0.05 + legStretch: 0.05 + feetSpacing: 0 + rootMotionBoneName: + rootMotionBoneRotation: {x: 0, y: 0, z: 0, w: 1} + hasTranslationDoF: 0 + hasExtraRoot: 0 + skeletonHasParents: 1 + lastHumanDescriptionAvatarSource: {instanceID: 0} + animationType: 2 + humanoidOversampling: 1 + additionalBone: 0 + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Animations/Character_IdleCharacter_Idle.fbx b/Assets/Animations/Character_IdleCharacter_Idle.fbx new file mode 100644 index 0000000..e502310 --- /dev/null +++ b/Assets/Animations/Character_IdleCharacter_Idle.fbx @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:22125e705e8ed81ecdd7593b9157956ae5e372a3b45d274699694204afc6c4aa +size 371680 diff --git a/Assets/Animations/Character_IdleCharacter_Idle.fbx.meta b/Assets/Animations/Character_IdleCharacter_Idle.fbx.meta new file mode 100644 index 0000000..5f0350e --- /dev/null +++ b/Assets/Animations/Character_IdleCharacter_Idle.fbx.meta @@ -0,0 +1,201 @@ +fileFormatVersion: 2 +guid: bd9a5f058e048cd49a4ca8566dd4d8e7 +ModelImporter: + serializedVersion: 23 + fileIDToRecycleName: + 100000: Arms + 100002: Body + 100004: Button + 100006: Character_Bear1 + 100008: //RootNode + 100010: Hat1 + 100012: Legs + 100014: QuickRigCharacter_Hips + 100016: QuickRigCharacter_LeftArm + 100018: QuickRigCharacter_LeftForeArm + 100020: QuickRigCharacter_LeftLeg + 100022: QuickRigCharacter_LeftLeg1 + 100024: QuickRigCharacter_LeftUpLeg + 100026: QuickRigCharacter_LeftUpLeg1 + 100028: QuickRigCharacter_Neck + 100030: QuickRigCharacter_Reference + 100032: QuickRigCharacter_RightArm + 100034: QuickRigCharacter_RightForeArm + 100036: QuickRigCharacter_Spine + 100038: QuickRigCharacter_Spine1 + 100040: QuickRigCharacter_Spine2 + 100042: Scarf + 100044: Scarf_1 + 100046: Scarf_2 + 100048: Scarf_2 1 + 100050: Scarf_3 + 100052: Scarf_3 1 + 100054: Scarf_4 + 100056: Scarf_4 1 + 100058: Scarf_5 + 100060: Scarf_5 1 + 100062: Scarf_6 + 400000: Arms + 400002: Body + 400004: Button + 400006: Character_Bear1 + 400008: //RootNode + 400010: Hat1 + 400012: Legs + 400014: QuickRigCharacter_Hips + 400016: QuickRigCharacter_LeftArm + 400018: QuickRigCharacter_LeftForeArm + 400020: QuickRigCharacter_LeftLeg + 400022: QuickRigCharacter_LeftLeg1 + 400024: QuickRigCharacter_LeftUpLeg + 400026: QuickRigCharacter_LeftUpLeg1 + 400028: QuickRigCharacter_Neck + 400030: QuickRigCharacter_Reference + 400032: QuickRigCharacter_RightArm + 400034: QuickRigCharacter_RightForeArm + 400036: QuickRigCharacter_Spine + 400038: QuickRigCharacter_Spine1 + 400040: QuickRigCharacter_Spine2 + 400042: Scarf + 400044: Scarf_1 + 400046: Scarf_2 + 400048: Scarf_2 1 + 400050: Scarf_3 + 400052: Scarf_3 1 + 400054: Scarf_4 + 400056: Scarf_4 1 + 400058: Scarf_5 + 400060: Scarf_5 1 + 400062: Scarf_6 + 2100000: Pants + 2100002: lambert1 + 2100004: Shirt1 + 2100006: Scarf1 + 2100008: Black + 2100010: BearHat1 + 2100012: White + 4300000: Legs + 4300002: Arms + 4300004: Scarf + 4300006: Button + 4300008: Hat1 + 4300010: Body + 7400000: Character_Idle + 9500000: //RootNode + 13700000: Arms + 13700002: Body + 13700004: Button + 13700006: Hat1 + 13700008: Legs + 13700010: Scarf + externalObjects: {} + materials: + importMaterials: 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: + - serializedVersion: 16 + name: Character_Idle + takeName: Character_Idle + firstFrame: 1 + lastFrame: 77 + 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: 1 + meshes: + lODScreenPercentages: [] + globalScale: 35 + meshCompression: 0 + addColliders: 0 + importVisibility: 1 + importBlendShapes: 1 + importCameras: 1 + importLights: 1 + swapUVChannels: 0 + generateSecondaryUV: 0 + useFileUnits: 1 + optimizeMeshForGPU: 1 + keepQuads: 0 + weldVertices: 1 + preserveHierarchy: 0 + indexFormat: 0 + secondaryUVAngleDistortion: 8 + secondaryUVAreaDistortion: 15.000001 + secondaryUVHardAngle: 88 + secondaryUVPackMargin: 4 + useFileScale: 1 + previousCalculatedGlobalScale: 0.01 + hasPreviousCalculatedGlobalScale: 1 + tangentSpace: + normalSmoothAngle: 60 + normalImportMode: 0 + tangentImportMode: 3 + normalCalculationMode: 4 + importAnimation: 1 + copyAvatar: 0 + humanDescription: + serializedVersion: 2 + human: [] + skeleton: [] + armTwist: 0.5 + foreArmTwist: 0.5 + upperLegTwist: 0.5 + legTwist: 0.5 + armStretch: 0.05 + legStretch: 0.05 + feetSpacing: 0 + rootMotionBoneName: + rootMotionBoneRotation: {x: 0, y: 0, z: 0, w: 1} + hasTranslationDoF: 0 + hasExtraRoot: 0 + skeletonHasParents: 1 + lastHumanDescriptionAvatarSource: {instanceID: 0} + animationType: 2 + humanoidOversampling: 1 + additionalBone: 0 + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Animations/Character_PickUp.fbx b/Assets/Animations/Character_PickUp.fbx new file mode 100644 index 0000000..7bc29b1 --- /dev/null +++ b/Assets/Animations/Character_PickUp.fbx @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:867f281ed46a41b1583f5bd36b6d43da974ce26fe0898c9a03678591e1d9538d +size 337120 diff --git a/Assets/Animations/Character_PickUp.fbx.meta b/Assets/Animations/Character_PickUp.fbx.meta new file mode 100644 index 0000000..7ca54a2 --- /dev/null +++ b/Assets/Animations/Character_PickUp.fbx.meta @@ -0,0 +1,201 @@ +fileFormatVersion: 2 +guid: c6fb98988f1ee6a43948c501b2e31c89 +ModelImporter: + serializedVersion: 23 + fileIDToRecycleName: + 100000: Arms + 100002: Body + 100004: Button + 100006: Character_Bear1 + 100008: //RootNode + 100010: Hat1 + 100012: Legs + 100014: QuickRigCharacter_Hips + 100016: QuickRigCharacter_LeftArm + 100018: QuickRigCharacter_LeftForeArm + 100020: QuickRigCharacter_LeftLeg + 100022: QuickRigCharacter_LeftLeg1 + 100024: QuickRigCharacter_LeftUpLeg + 100026: QuickRigCharacter_LeftUpLeg1 + 100028: QuickRigCharacter_Neck + 100030: QuickRigCharacter_Reference + 100032: QuickRigCharacter_RightArm + 100034: QuickRigCharacter_RightForeArm + 100036: QuickRigCharacter_Spine + 100038: QuickRigCharacter_Spine1 + 100040: QuickRigCharacter_Spine2 + 100042: Scarf + 100044: Scarf_1 + 100046: Scarf_2 + 100048: Scarf_2 1 + 100050: Scarf_3 + 100052: Scarf_3 1 + 100054: Scarf_4 + 100056: Scarf_4 1 + 100058: Scarf_5 + 100060: Scarf_5 1 + 100062: Scarf_6 + 400000: Arms + 400002: Body + 400004: Button + 400006: Character_Bear1 + 400008: //RootNode + 400010: Hat1 + 400012: Legs + 400014: QuickRigCharacter_Hips + 400016: QuickRigCharacter_LeftArm + 400018: QuickRigCharacter_LeftForeArm + 400020: QuickRigCharacter_LeftLeg + 400022: QuickRigCharacter_LeftLeg1 + 400024: QuickRigCharacter_LeftUpLeg + 400026: QuickRigCharacter_LeftUpLeg1 + 400028: QuickRigCharacter_Neck + 400030: QuickRigCharacter_Reference + 400032: QuickRigCharacter_RightArm + 400034: QuickRigCharacter_RightForeArm + 400036: QuickRigCharacter_Spine + 400038: QuickRigCharacter_Spine1 + 400040: QuickRigCharacter_Spine2 + 400042: Scarf + 400044: Scarf_1 + 400046: Scarf_2 + 400048: Scarf_2 1 + 400050: Scarf_3 + 400052: Scarf_3 1 + 400054: Scarf_4 + 400056: Scarf_4 1 + 400058: Scarf_5 + 400060: Scarf_5 1 + 400062: Scarf_6 + 2100000: Pants + 2100002: lambert1 + 2100004: Shirt1 + 2100006: Scarf1 + 2100008: Black + 2100010: BearHat1 + 2100012: White + 4300000: Legs + 4300002: Arms + 4300004: Scarf + 4300006: Button + 4300008: Hat1 + 4300010: Body + 7400000: Pickup + 9500000: //RootNode + 13700000: Arms + 13700002: Body + 13700004: Button + 13700006: Hat1 + 13700008: Legs + 13700010: Scarf + externalObjects: {} + materials: + importMaterials: 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: + - serializedVersion: 16 + name: Pickup + takeName: TestWalk + firstFrame: 1 + lastFrame: 40 + 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: 1 + meshes: + lODScreenPercentages: [] + globalScale: 35 + meshCompression: 0 + addColliders: 0 + importVisibility: 1 + importBlendShapes: 1 + importCameras: 1 + importLights: 1 + swapUVChannels: 0 + generateSecondaryUV: 0 + useFileUnits: 1 + optimizeMeshForGPU: 1 + keepQuads: 0 + weldVertices: 1 + preserveHierarchy: 0 + indexFormat: 0 + secondaryUVAngleDistortion: 8 + secondaryUVAreaDistortion: 15.000001 + secondaryUVHardAngle: 88 + secondaryUVPackMargin: 4 + useFileScale: 1 + previousCalculatedGlobalScale: 0.01 + hasPreviousCalculatedGlobalScale: 1 + tangentSpace: + normalSmoothAngle: 60 + normalImportMode: 0 + tangentImportMode: 3 + normalCalculationMode: 4 + importAnimation: 1 + copyAvatar: 0 + humanDescription: + serializedVersion: 2 + human: [] + skeleton: [] + armTwist: 0.5 + foreArmTwist: 0.5 + upperLegTwist: 0.5 + legTwist: 0.5 + armStretch: 0.05 + legStretch: 0.05 + feetSpacing: 0 + rootMotionBoneName: + rootMotionBoneRotation: {x: 0, y: 0, z: 0, w: 1} + hasTranslationDoF: 0 + hasExtraRoot: 0 + skeletonHasParents: 1 + lastHumanDescriptionAvatarSource: {instanceID: 0} + animationType: 2 + humanoidOversampling: 1 + additionalBone: 0 + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Animations/TestWalk.fbx b/Assets/Animations/TestWalk.fbx new file mode 100644 index 0000000..7bfcb2b --- /dev/null +++ b/Assets/Animations/TestWalk.fbx @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:5a6248b5e77e287ffa0fb877e3c6c21f8a4fbbd3f4e8befc2f54a02a34b41787 +size 321536 diff --git a/Assets/Animations/TestWalk.fbx.meta b/Assets/Animations/TestWalk.fbx.meta new file mode 100644 index 0000000..ee9b8e7 --- /dev/null +++ b/Assets/Animations/TestWalk.fbx.meta @@ -0,0 +1,201 @@ +fileFormatVersion: 2 +guid: 5e6441716cdffff40b7d37472b58522d +ModelImporter: + serializedVersion: 23 + fileIDToRecycleName: + 100000: Arms + 100002: Body + 100004: Button + 100006: Character_Bear1 + 100008: Hat1 + 100010: Legs + 100012: QuickRigCharacter_Hips + 100014: QuickRigCharacter_LeftArm + 100016: QuickRigCharacter_LeftForeArm + 100018: QuickRigCharacter_LeftLeg + 100020: QuickRigCharacter_LeftLeg1 + 100022: QuickRigCharacter_LeftUpLeg + 100024: QuickRigCharacter_LeftUpLeg1 + 100026: QuickRigCharacter_Neck + 100028: QuickRigCharacter_Reference + 100030: QuickRigCharacter_RightArm + 100032: QuickRigCharacter_RightForeArm + 100034: QuickRigCharacter_Spine + 100036: QuickRigCharacter_Spine1 + 100038: QuickRigCharacter_Spine2 + 100040: Scarf + 100042: Scarf_1 + 100044: Scarf_2 + 100046: Scarf_2 1 + 100048: Scarf_3 + 100050: Scarf_3 1 + 100052: Scarf_4 + 100054: Scarf_4 1 + 100056: Scarf_5 + 100058: Scarf_5 1 + 100060: Scarf_6 + 100062: //RootNode + 400000: Arms + 400002: Body + 400004: Button + 400006: Character_Bear1 + 400008: Hat1 + 400010: Legs + 400012: QuickRigCharacter_Hips + 400014: QuickRigCharacter_LeftArm + 400016: QuickRigCharacter_LeftForeArm + 400018: QuickRigCharacter_LeftLeg + 400020: QuickRigCharacter_LeftLeg1 + 400022: QuickRigCharacter_LeftUpLeg + 400024: QuickRigCharacter_LeftUpLeg1 + 400026: QuickRigCharacter_Neck + 400028: QuickRigCharacter_Reference + 400030: QuickRigCharacter_RightArm + 400032: QuickRigCharacter_RightForeArm + 400034: QuickRigCharacter_Spine + 400036: QuickRigCharacter_Spine1 + 400038: QuickRigCharacter_Spine2 + 400040: Scarf + 400042: Scarf_1 + 400044: Scarf_2 + 400046: Scarf_2 1 + 400048: Scarf_3 + 400050: Scarf_3 1 + 400052: Scarf_4 + 400054: Scarf_4 1 + 400056: Scarf_5 + 400058: Scarf_5 1 + 400060: Scarf_6 + 400062: //RootNode + 2100000: Pants + 2100002: lambert1 + 2100004: Shirt1 + 2100006: Scarf1 + 2100008: Black + 2100010: BearHat1 + 2100012: White + 4300000: Legs + 4300002: Arms + 4300004: Scarf + 4300006: Button + 4300008: Hat1 + 4300010: Body + 7400000: TestWalk + 9500000: //RootNode + 13700000: Arms + 13700002: Body + 13700004: Button + 13700006: Hat1 + 13700008: Legs + 13700010: Scarf + externalObjects: {} + materials: + importMaterials: 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: + - serializedVersion: 16 + name: TestWalk + takeName: TestWalk + firstFrame: 1 + lastFrame: 24 + 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: 1 + meshes: + lODScreenPercentages: [] + globalScale: 35 + meshCompression: 0 + addColliders: 0 + importVisibility: 1 + importBlendShapes: 1 + importCameras: 1 + importLights: 1 + swapUVChannels: 0 + generateSecondaryUV: 0 + useFileUnits: 1 + optimizeMeshForGPU: 1 + keepQuads: 0 + weldVertices: 1 + preserveHierarchy: 0 + indexFormat: 0 + secondaryUVAngleDistortion: 8 + secondaryUVAreaDistortion: 15.000001 + secondaryUVHardAngle: 88 + secondaryUVPackMargin: 4 + useFileScale: 1 + previousCalculatedGlobalScale: 0.01 + hasPreviousCalculatedGlobalScale: 1 + tangentSpace: + normalSmoothAngle: 60 + normalImportMode: 0 + tangentImportMode: 3 + normalCalculationMode: 4 + importAnimation: 1 + copyAvatar: 0 + humanDescription: + serializedVersion: 2 + human: [] + skeleton: [] + armTwist: 0.5 + foreArmTwist: 0.5 + upperLegTwist: 0.5 + legTwist: 0.5 + armStretch: 0.05 + legStretch: 0.05 + feetSpacing: 0 + rootMotionBoneName: + rootMotionBoneRotation: {x: 0, y: 0, z: 0, w: 1} + hasTranslationDoF: 0 + hasExtraRoot: 0 + skeletonHasParents: 1 + lastHumanDescriptionAvatarSource: {instanceID: 0} + animationType: 2 + humanoidOversampling: 1 + additionalBone: 0 + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/LocalPlayer.cs b/Assets/LocalPlayer.cs index 671aab7..ea579dd 100644 --- a/Assets/LocalPlayer.cs +++ b/Assets/LocalPlayer.cs @@ -2,14 +2,75 @@ using System.Collections.Generic; using UnityEngine; -public class LocalPlayer : MonoBehaviour { +public class LocalPlayer : Player { public CharacterController charControl; - private void Update() + public Animator Animator; + + public float Speed = 5; + + private float animWalkSpeed = 0; + + protected override void Update() + { + ApplyGravity(); + ApplyInput(); + Teleport(); + + base.Update(); + } + + private void ApplyGravity() { if (!charControl.isGrounded) { charControl.SimpleMove(new Vector3(0.0f, -5.0f * Time.deltaTime, 0.0f)); } } + + private void ApplyInput() + { + if (Input.GetMouseButton(0)) + { + Vector3 mousePos = new Vector3(Input.mousePosition.x, 0.0f, Input.mousePosition.y); + Vector3 screenCentre = new Vector3(Screen.width / 2, 0.0F, Screen.height / 2); + Vector3 movePos = mousePos - screenCentre; + + movePos.x = movePos.x / Screen.width; + movePos.z = movePos.z / Screen.height; + charControl.Move(movePos * Speed * Time.deltaTime); + + animWalkSpeed = Mathf.Clamp01(movePos.magnitude * 3); + + playerModel.transform.LookAt(playerModel.transform.position + movePos, Vector3.up); + }else if (animWalkSpeed > 0) + { + animWalkSpeed -= 0.1f; + } + + Animator.SetFloat("WalkSpeed", animWalkSpeed); + } + + void Teleport() + { + if (map == null) + return; + + if (transform.position.x > map.maxX) + { + transform.position = new Vector3(map.minX, transform.position.y, transform.position.z); + } + else if (transform.position.x < map.minX) + { + transform.position = new Vector3(map.maxX, transform.position.y, transform.position.z); + } + if (transform.position.z > map.maxZ) + { + transform.position = new Vector3(transform.position.x, transform.position.y, map.minZ); + } + else if (transform.position.z < map.minZ) + { + transform.position = new Vector3(transform.position.x, transform.position.y, map.maxZ); + } + } } diff --git a/Assets/Prefabs/RealLocalPlayer.prefab b/Assets/Prefabs/RealLocalPlayer.prefab index 8336fac..a0d2132 100644 --- a/Assets/Prefabs/RealLocalPlayer.prefab +++ b/Assets/Prefabs/RealLocalPlayer.prefab @@ -11,6 +11,22 @@ Prefab: m_SourcePrefab: {fileID: 0} m_RootGameObject: {fileID: 1067952265812482} m_IsPrefabAsset: 1 +--- !u!1 &1028887017548132 +GameObject: + m_ObjectHideFlags: 1 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInternal: {fileID: 100100000} + serializedVersion: 6 + m_Component: + - component: {fileID: 4364263376082706} + - component: {fileID: 137331015404511728} + m_Layer: 0 + m_Name: Hat1 + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 --- !u!1 &1051260791432954 GameObject: m_ObjectHideFlags: 0 @@ -28,6 +44,21 @@ GameObject: m_NavMeshLayer: 0 m_StaticEditorFlags: 0 m_IsActive: 1 +--- !u!1 &1054996312957492 +GameObject: + m_ObjectHideFlags: 1 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInternal: {fileID: 100100000} + serializedVersion: 6 + m_Component: + - component: {fileID: 4619634556964828} + m_Layer: 0 + m_Name: QuickRigCharacter_LeftArm + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 --- !u!1 &1067952265812482 GameObject: m_ObjectHideFlags: 0 @@ -47,6 +78,66 @@ GameObject: m_NavMeshLayer: 0 m_StaticEditorFlags: 0 m_IsActive: 1 +--- !u!1 &1111910683643132 +GameObject: + m_ObjectHideFlags: 1 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInternal: {fileID: 100100000} + serializedVersion: 6 + m_Component: + - component: {fileID: 4853654911370208} + m_Layer: 0 + m_Name: QuickRigCharacter_Spine1 + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!1 &1148681107994234 +GameObject: + m_ObjectHideFlags: 1 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInternal: {fileID: 100100000} + serializedVersion: 6 + m_Component: + - component: {fileID: 4961668216880254} + m_Layer: 0 + m_Name: Scarf_6 + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!1 &1157121213751884 +GameObject: + m_ObjectHideFlags: 1 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInternal: {fileID: 100100000} + serializedVersion: 6 + m_Component: + - component: {fileID: 4519560232272136} + m_Layer: 0 + m_Name: QuickRigCharacter_Reference + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!1 &1176672300518954 +GameObject: + m_ObjectHideFlags: 1 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInternal: {fileID: 100100000} + serializedVersion: 6 + m_Component: + - component: {fileID: 4208425260803850} + m_Layer: 0 + m_Name: QuickRigCharacter_Spine2 + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 --- !u!1 &1179267592805742 GameObject: m_ObjectHideFlags: 0 @@ -64,48 +155,921 @@ GameObject: m_Icon: {fileID: 0} m_NavMeshLayer: 0 m_StaticEditorFlags: 0 + m_IsActive: 0 +--- !u!1 &1248987147432892 +GameObject: + m_ObjectHideFlags: 1 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInternal: {fileID: 100100000} + serializedVersion: 6 + m_Component: + - component: {fileID: 4384976764600694} + m_Layer: 0 + m_Name: QuickRigCharacter_Neck + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 m_IsActive: 1 ---- !u!4 &4512070522708648 +--- !u!1 &1249842829276258 +GameObject: + m_ObjectHideFlags: 1 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInternal: {fileID: 100100000} + serializedVersion: 6 + m_Component: + - component: {fileID: 4798883035588600} + m_Layer: 0 + m_Name: Character_Bear1 + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!1 &1285753582470474 +GameObject: + m_ObjectHideFlags: 1 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInternal: {fileID: 100100000} + serializedVersion: 6 + m_Component: + - component: {fileID: 4920555598864728} + m_Layer: 0 + m_Name: CTRL_Main + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!1 &1288769506270402 +GameObject: + m_ObjectHideFlags: 1 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInternal: {fileID: 100100000} + serializedVersion: 6 + m_Component: + - component: {fileID: 4785797031157858} + m_Layer: 0 + m_Name: QuickRigCharacter_RightForeArm + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!1 &1302839497662934 +GameObject: + m_ObjectHideFlags: 1 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInternal: {fileID: 100100000} + serializedVersion: 6 + m_Component: + - component: {fileID: 4760581410735474} + m_Layer: 0 + m_Name: Scarf_3 + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!1 &1314390447957172 +GameObject: + m_ObjectHideFlags: 1 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInternal: {fileID: 100100000} + serializedVersion: 6 + m_Component: + - component: {fileID: 4474580132004946} + - component: {fileID: 137210552615090714} + m_Layer: 0 + m_Name: Arms + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!1 &1336133695099398 +GameObject: + m_ObjectHideFlags: 1 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInternal: {fileID: 100100000} + serializedVersion: 6 + m_Component: + - component: {fileID: 4408489500112242} + m_Layer: 0 + m_Name: QuickRigCharacter_LeftUpLeg1 + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!1 &1360718946895478 +GameObject: + m_ObjectHideFlags: 1 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInternal: {fileID: 100100000} + serializedVersion: 6 + m_Component: + - component: {fileID: 4252689420942128} + m_Layer: 0 + m_Name: QuickRigCharacter_RightArm + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!1 &1384908896585800 +GameObject: + m_ObjectHideFlags: 1 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInternal: {fileID: 100100000} + serializedVersion: 6 + m_Component: + - component: {fileID: 4440538630431904} + m_Layer: 0 + m_Name: Scarf_3 1 + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!1 &1396313680850944 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInternal: {fileID: 100100000} + serializedVersion: 6 + m_Component: + - component: {fileID: 4517359647573962} + - component: {fileID: 95598162639253862} + m_Layer: 0 + m_Name: Character_Animate + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!1 &1453342201519188 +GameObject: + m_ObjectHideFlags: 1 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInternal: {fileID: 100100000} + serializedVersion: 6 + m_Component: + - component: {fileID: 4824088707146020} + m_Layer: 0 + m_Name: Scarf_4 + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!1 &1471416446039638 +GameObject: + m_ObjectHideFlags: 1 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInternal: {fileID: 100100000} + serializedVersion: 6 + m_Component: + - component: {fileID: 4888752888024702} + - component: {fileID: 137719734779905762} + m_Layer: 0 + m_Name: Scarf + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!1 &1523359548917698 +GameObject: + m_ObjectHideFlags: 1 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInternal: {fileID: 100100000} + serializedVersion: 6 + m_Component: + - component: {fileID: 4133169614437654} + m_Layer: 0 + m_Name: QuickRigCharacter_Hips + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!1 &1536837845830486 +GameObject: + m_ObjectHideFlags: 1 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInternal: {fileID: 100100000} + serializedVersion: 6 + m_Component: + - component: {fileID: 4873974547240056} + m_Layer: 0 + m_Name: Scarf_5 1 + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!1 &1548538913689992 +GameObject: + m_ObjectHideFlags: 1 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInternal: {fileID: 100100000} + serializedVersion: 6 + m_Component: + - component: {fileID: 4464823547002644} + m_Layer: 0 + m_Name: Scarf_2 1 + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!1 &1650334069000048 +GameObject: + m_ObjectHideFlags: 1 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInternal: {fileID: 100100000} + serializedVersion: 6 + m_Component: + - component: {fileID: 4521407888221436} + m_Layer: 0 + m_Name: Scarf_2 + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!1 &1666301920471922 +GameObject: + m_ObjectHideFlags: 1 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInternal: {fileID: 100100000} + serializedVersion: 6 + m_Component: + - component: {fileID: 4452057767870780} + - component: {fileID: 137639050362458478} + m_Layer: 0 + m_Name: Button + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!1 &1727476390056622 +GameObject: + m_ObjectHideFlags: 1 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInternal: {fileID: 100100000} + serializedVersion: 6 + m_Component: + - component: {fileID: 4426743730865306} + m_Layer: 0 + m_Name: QuickRigCharacter_LeftLeg + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!1 &1744622615907896 +GameObject: + m_ObjectHideFlags: 1 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInternal: {fileID: 100100000} + serializedVersion: 6 + m_Component: + - component: {fileID: 4867830890147088} + m_Layer: 0 + m_Name: QuickRigCharacter_LeftForeArm + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!1 &1813069178044290 +GameObject: + m_ObjectHideFlags: 1 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInternal: {fileID: 100100000} + serializedVersion: 6 + m_Component: + - component: {fileID: 4956544777357826} + m_Layer: 0 + m_Name: QuickRigCharacter_Spine + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!1 &1842275424480946 +GameObject: + m_ObjectHideFlags: 1 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInternal: {fileID: 100100000} + serializedVersion: 6 + m_Component: + - component: {fileID: 4810318775949966} + - component: {fileID: 137690959340717416} + m_Layer: 0 + m_Name: Legs + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!1 &1862302805159184 +GameObject: + m_ObjectHideFlags: 1 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInternal: {fileID: 100100000} + serializedVersion: 6 + m_Component: + - component: {fileID: 4790371868776964} + m_Layer: 0 + m_Name: Scarf_5 + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!1 &1868422439918376 +GameObject: + m_ObjectHideFlags: 1 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInternal: {fileID: 100100000} + serializedVersion: 6 + m_Component: + - component: {fileID: 4525979743300070} + m_Layer: 0 + m_Name: Scarf_1 + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!1 &1913415542872042 +GameObject: + m_ObjectHideFlags: 1 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInternal: {fileID: 100100000} + serializedVersion: 6 + m_Component: + - component: {fileID: 4262658285790220} + - component: {fileID: 137868054317092780} + m_Layer: 0 + m_Name: Body + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!1 &1936140953969800 +GameObject: + m_ObjectHideFlags: 1 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInternal: {fileID: 100100000} + serializedVersion: 6 + m_Component: + - component: {fileID: 4968927688228516} + m_Layer: 0 + m_Name: QuickRigCharacter_LeftLeg1 + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!1 &1979022855062906 +GameObject: + m_ObjectHideFlags: 1 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInternal: {fileID: 100100000} + serializedVersion: 6 + m_Component: + - component: {fileID: 4687652199116560} + m_Layer: 0 + m_Name: Scarf_4 1 + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!1 &1983377920104090 +GameObject: + m_ObjectHideFlags: 1 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInternal: {fileID: 100100000} + serializedVersion: 6 + m_Component: + - component: {fileID: 4905676484530646} + m_Layer: 0 + m_Name: QuickRigCharacter_LeftUpLeg + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!4 &4133169614437654 +Transform: + m_ObjectHideFlags: 1 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInternal: {fileID: 100100000} + m_GameObject: {fileID: 1523359548917698} + m_LocalRotation: {x: 0.49291024, y: -0.5069906, z: -0.49291024, w: 0.5069906} + m_LocalPosition: {x: 6.326927e-17, y: 0.4906843, z: 0.1592311} + m_LocalScale: {x: 1, y: 1, z: 1} + m_Children: + - {fileID: 4905676484530646} + - {fileID: 4408489500112242} + - {fileID: 4956544777357826} + m_Father: {fileID: 4519560232272136} + m_RootOrder: 0 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!4 &4208425260803850 +Transform: + m_ObjectHideFlags: 1 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInternal: {fileID: 100100000} + m_GameObject: {fileID: 1176672300518954} + m_LocalRotation: {x: 2.7755576e-17, y: 2.7755576e-17, z: 0.00515891, w: 0.9999867} + m_LocalPosition: {x: -0.19145043, y: 0.011402679, z: 1.946949e-17} + m_LocalScale: {x: 1, y: 1, z: 1} + m_Children: + - {fileID: 4619634556964828} + - {fileID: 4384976764600694} + - {fileID: 4252689420942128} + - {fileID: 4525979743300070} + - {fileID: 4961668216880254} + m_Father: {fileID: 4853654911370208} + m_RootOrder: 0 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!4 &4252689420942128 +Transform: + m_ObjectHideFlags: 1 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInternal: {fileID: 100100000} + m_GameObject: {fileID: 1360718946895478} + m_LocalRotation: {x: 0.56294626, y: 0.33969474, z: -0.13351852, w: 0.7415334} + m_LocalPosition: {x: -0.043812815, y: 0.03496897, z: -0.30810288} + m_LocalScale: {x: 1, y: 1, z: 1} + m_Children: + - {fileID: 4785797031157858} + m_Father: {fileID: 4208425260803850} + m_RootOrder: 2 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!4 &4262658285790220 +Transform: + m_ObjectHideFlags: 1 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInternal: {fileID: 100100000} + m_GameObject: {fileID: 1913415542872042} + m_LocalRotation: {x: 0, y: -0, z: -0, w: 1} + m_LocalPosition: {x: -0, y: 0, z: 0} + m_LocalScale: {x: 1, y: 1, z: 1} + m_Children: [] + m_Father: {fileID: 4798883035588600} + m_RootOrder: 1 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!4 &4364263376082706 +Transform: + m_ObjectHideFlags: 1 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInternal: {fileID: 100100000} + m_GameObject: {fileID: 1028887017548132} + m_LocalRotation: {x: 0.015248634, y: -0, z: -0, w: 0.9998838} + m_LocalPosition: {x: -0, y: 0.00031755824, z: -0.010409048} + m_LocalScale: {x: 1.0760801, y: 1.0760801, z: 1.0760801} + m_Children: [] + m_Father: {fileID: 4798883035588600} + m_RootOrder: 3 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!4 &4384976764600694 +Transform: + m_ObjectHideFlags: 1 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInternal: {fileID: 100100000} + m_GameObject: {fileID: 1248987147432892} + m_LocalRotation: {x: -5.551115e-17, y: 2.7755576e-17, z: -0.058704283, w: 0.9982754} + m_LocalPosition: {x: -0.77753323, y: 0.25348136, z: -8.176908e-17} + m_LocalScale: {x: 1, y: 1, z: 1} + m_Children: [] + m_Father: {fileID: 4208425260803850} + m_RootOrder: 1 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!4 &4408489500112242 +Transform: + m_ObjectHideFlags: 1 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInternal: {fileID: 100100000} + m_GameObject: {fileID: 1336133695099398} + m_LocalRotation: {x: -0.016175827, y: 0.0017551694, z: 0.99890125, w: -0.043949492} + m_LocalPosition: {x: -0.0076330733, y: 0.002027477, z: -0.17079821} + m_LocalScale: {x: 1, y: 1, z: 1} + m_Children: + - {fileID: 4968927688228516} + m_Father: {fileID: 4133169614437654} + m_RootOrder: 1 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!4 &4426743730865306 +Transform: + m_ObjectHideFlags: 1 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInternal: {fileID: 100100000} + m_GameObject: {fileID: 1727476390056622} + m_LocalRotation: {x: -0.001151651, y: 0.000106072825, z: -0.09286601, w: 0.995678} + m_LocalPosition: {x: -0.4887491, y: 0.04873775, z: -0.016855082} + m_LocalScale: {x: 1, y: 1, z: 1} + m_Children: [] + m_Father: {fileID: 4905676484530646} + m_RootOrder: 0 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!4 &4440538630431904 +Transform: + m_ObjectHideFlags: 1 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInternal: {fileID: 100100000} + m_GameObject: {fileID: 1384908896585800} + m_LocalRotation: {x: 2.7755576e-17, y: 9.63521e-35, z: 0.03396915, w: 0.9994229} + m_LocalPosition: {x: -0.20143366, y: 0.00008517926, z: 0.029123122} + m_LocalScale: {x: 1, y: 1, z: 1} + m_Children: + - {fileID: 4687652199116560} + m_Father: {fileID: 4464823547002644} + m_RootOrder: 0 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!4 &4452057767870780 +Transform: + m_ObjectHideFlags: 1 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInternal: {fileID: 100100000} + m_GameObject: {fileID: 1666301920471922} + m_LocalRotation: {x: 0.015248634, y: -0, z: -0, w: 0.9998838} + m_LocalPosition: {x: -0, y: -0.03317913, z: -0.02538986} + m_LocalScale: {x: 1.0760801, y: 1.0760801, z: 1.0760801} + m_Children: [] + m_Father: {fileID: 4798883035588600} + m_RootOrder: 2 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!4 &4464823547002644 +Transform: + m_ObjectHideFlags: 1 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInternal: {fileID: 100100000} + m_GameObject: {fileID: 1548538913689992} + m_LocalRotation: {x: -4.816683e-35, y: -2.775558e-17, z: 0.02776635, w: 0.9996145} + m_LocalPosition: {x: -0.219591, y: -0.01677158, z: 0.072550364} + m_LocalScale: {x: 1, y: 1, z: 1} + m_Children: + - {fileID: 4440538630431904} + m_Father: {fileID: 4961668216880254} + m_RootOrder: 0 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!4 &4474580132004946 +Transform: + m_ObjectHideFlags: 1 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInternal: {fileID: 100100000} + m_GameObject: {fileID: 1314390447957172} + m_LocalRotation: {x: 0.0047325795, y: 0.03924202, z: -0.24528554, w: 0.96864474} + m_LocalPosition: {x: -0.3942568, y: -0.13903163, z: -0.0024578096} + m_LocalScale: {x: 0.34065366, y: 0.6922961, z: 0.34065366} + m_Children: [] + m_Father: {fileID: 4798883035588600} + m_RootOrder: 0 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!4 &4512070522708648 +Transform: + m_ObjectHideFlags: 1 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInternal: {fileID: 100100000} + m_GameObject: {fileID: 1051260791432954} + m_LocalRotation: {x: 0.38268343, y: 0, z: 0, w: 0.92387956} + m_LocalPosition: {x: 0, y: 13.1, z: -13.08} + m_LocalScale: {x: 1, y: 1, z: 1} + m_Children: [] + m_Father: {fileID: 4713031430525266} + m_RootOrder: 1 + m_LocalEulerAnglesHint: {x: 45, y: 0, z: 0} +--- !u!4 &4517359647573962 +Transform: + m_ObjectHideFlags: 1 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInternal: {fileID: 100100000} + m_GameObject: {fileID: 1396313680850944} + m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} + m_LocalPosition: {x: 0, y: 0.109, z: 0} + m_LocalScale: {x: 1, y: 1, z: 1} + m_Children: + - {fileID: 4798883035588600} + - {fileID: 4920555598864728} + - {fileID: 4519560232272136} + m_Father: {fileID: 4713031430525266} + m_RootOrder: 0 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!4 &4519560232272136 +Transform: + m_ObjectHideFlags: 1 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInternal: {fileID: 100100000} + m_GameObject: {fileID: 1157121213751884} + m_LocalRotation: {x: 0, y: -0, z: -0, w: 1} + m_LocalPosition: {x: 0.00000004172325, y: -1.063646, z: -0.14979656} + m_LocalScale: {x: 1, y: 1, z: 1} + m_Children: + - {fileID: 4133169614437654} + m_Father: {fileID: 4517359647573962} + m_RootOrder: 2 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!4 &4521407888221436 +Transform: + m_ObjectHideFlags: 1 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInternal: {fileID: 100100000} + m_GameObject: {fileID: 1650334069000048} + m_LocalRotation: {x: -4.816683e-35, y: -2.775558e-17, z: 0.02776635, w: 0.9996145} + m_LocalPosition: {x: -0.17913738, y: 0.017797891, z: 0.06383003} + m_LocalScale: {x: 1, y: 1, z: 1} + m_Children: + - {fileID: 4760581410735474} + m_Father: {fileID: 4525979743300070} + m_RootOrder: 0 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!4 &4525979743300070 +Transform: + m_ObjectHideFlags: 1 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInternal: {fileID: 100100000} + m_GameObject: {fileID: 1868422439918376} + m_LocalRotation: {x: -4.8590194e-17, y: -1.1236984e-16, z: 0.9178635, w: 0.3968962} + m_LocalPosition: {x: -0.08728049, y: -0.2513243, z: -0.20841032} + m_LocalScale: {x: 1, y: 1, z: 1} + m_Children: + - {fileID: 4521407888221436} + m_Father: {fileID: 4208425260803850} + m_RootOrder: 3 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!4 &4619634556964828 +Transform: + m_ObjectHideFlags: 1 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInternal: {fileID: 100100000} + m_GameObject: {fileID: 1054996312957492} + m_LocalRotation: {x: 0.2549609, y: 0.79318905, z: -0.47772717, w: 0.27860892} + m_LocalPosition: {x: -0.043812796, y: 0.034968965, z: 0.3081028} + m_LocalScale: {x: 1, y: 1, z: 1} + m_Children: + - {fileID: 4867830890147088} + m_Father: {fileID: 4208425260803850} + m_RootOrder: 0 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!4 &4687652199116560 +Transform: + m_ObjectHideFlags: 1 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInternal: {fileID: 100100000} + m_GameObject: {fileID: 1979022855062906} + m_LocalRotation: {x: 2.7755576e-17, y: -1.3877788e-17, z: 0.013517839, w: 0.9999086} + m_LocalPosition: {x: -0.18864079, y: 0.0024716284, z: 0.004846057} + m_LocalScale: {x: 1, y: 1, z: 1} + m_Children: + - {fileID: 4873974547240056} + m_Father: {fileID: 4440538630431904} + m_RootOrder: 0 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!4 &4713031430525266 +Transform: + m_ObjectHideFlags: 1 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInternal: {fileID: 100100000} + m_GameObject: {fileID: 1067952265812482} + m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} + m_LocalPosition: {x: -25.3366, y: 284.32065, z: 36.91977} + m_LocalScale: {x: 1, y: 1, z: 1} + m_Children: + - {fileID: 4517359647573962} + - {fileID: 4512070522708648} + - {fileID: 4779689365592612} + m_Father: {fileID: 0} + m_RootOrder: 0 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!4 &4760581410735474 +Transform: + m_ObjectHideFlags: 1 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInternal: {fileID: 100100000} + m_GameObject: {fileID: 1302839497662934} + m_LocalRotation: {x: 2.7755576e-17, y: 9.63521e-35, z: 0.03396915, w: 0.9994229} + m_LocalPosition: {x: -0.20143366, y: 0.00008517926, z: 0.04030638} + m_LocalScale: {x: 1, y: 1, z: 1} + m_Children: + - {fileID: 4824088707146020} + m_Father: {fileID: 4521407888221436} + m_RootOrder: 0 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!4 &4779689365592612 +Transform: + m_ObjectHideFlags: 1 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInternal: {fileID: 100100000} + m_GameObject: {fileID: 1179267592805742} + m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} + m_LocalPosition: {x: 0, y: -1, z: 0} + m_LocalScale: {x: 1, y: 1, z: 1} + m_Children: [] + m_Father: {fileID: 4713031430525266} + m_RootOrder: 2 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!4 &4785797031157858 +Transform: + m_ObjectHideFlags: 1 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInternal: {fileID: 100100000} + m_GameObject: {fileID: 1288769506270402} + m_LocalRotation: {x: 0, y: 0, z: -0.21828038, w: 0.9758861} + m_LocalPosition: {x: 0.36739933, y: 0.05992735, z: 0.12278154} + m_LocalScale: {x: 1, y: 1, z: 1} + m_Children: [] + m_Father: {fileID: 4252689420942128} + m_RootOrder: 0 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!4 &4790371868776964 +Transform: + m_ObjectHideFlags: 1 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInternal: {fileID: 100100000} + m_GameObject: {fileID: 1862302805159184} + m_LocalRotation: {x: 0.3434014, y: 0.6181225, z: -0.3434014, w: 0.6181225} + m_LocalPosition: {x: -0.14381467, y: -2.41441e-16, z: -0.028806822} + m_LocalScale: {x: 1, y: 1, z: 1} + m_Children: [] + m_Father: {fileID: 4824088707146020} + m_RootOrder: 0 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!4 &4798883035588600 +Transform: + m_ObjectHideFlags: 1 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInternal: {fileID: 100100000} + m_GameObject: {fileID: 1249842829276258} + 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: 4474580132004946} + - {fileID: 4262658285790220} + - {fileID: 4452057767870780} + - {fileID: 4364263376082706} + - {fileID: 4810318775949966} + - {fileID: 4888752888024702} + m_Father: {fileID: 4517359647573962} + m_RootOrder: 0 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!4 &4810318775949966 +Transform: + m_ObjectHideFlags: 1 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInternal: {fileID: 100100000} + m_GameObject: {fileID: 1842275424480946} + m_LocalRotation: {x: 0, y: -0, z: -0, w: 1} + m_LocalPosition: {x: -0.16340882, y: -0.8213423, z: 0.019443067} + m_LocalScale: {x: 0.34065366, y: 0.6922961, z: 0.34065366} + m_Children: [] + m_Father: {fileID: 4798883035588600} + m_RootOrder: 4 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!4 &4824088707146020 +Transform: + m_ObjectHideFlags: 1 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInternal: {fileID: 100100000} + m_GameObject: {fileID: 1453342201519188} + m_LocalRotation: {x: 2.7755576e-17, y: -1.3877788e-17, z: 0.013517839, w: 0.9999086} + m_LocalPosition: {x: -0.1324478, y: -0.00605061, z: -0.004054983} + m_LocalScale: {x: 1, y: 1, z: 1} + m_Children: + - {fileID: 4790371868776964} + m_Father: {fileID: 4760581410735474} + m_RootOrder: 0 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!4 &4853654911370208 Transform: m_ObjectHideFlags: 1 m_CorrespondingSourceObject: {fileID: 0} m_PrefabInternal: {fileID: 100100000} - m_GameObject: {fileID: 1051260791432954} - m_LocalRotation: {x: 0.7071068, y: -0, z: -0, w: 0.7071068} - m_LocalPosition: {x: 0, y: 18, z: 0} + m_GameObject: {fileID: 1111910683643132} + m_LocalRotation: {x: 0, y: -0, z: -0, w: 1} + m_LocalPosition: {x: -0.1797538, y: -0.011948183, z: -4.4956016e-17} + m_LocalScale: {x: 1, y: 1, z: 1} + m_Children: + - {fileID: 4208425260803850} + m_Father: {fileID: 4956544777357826} + m_RootOrder: 0 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!4 &4867830890147088 +Transform: + m_ObjectHideFlags: 1 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInternal: {fileID: 100100000} + m_GameObject: {fileID: 1744622615907896} + m_LocalRotation: {x: 0, y: 0, z: -0.21828038, w: 0.9758861} + m_LocalPosition: {x: -0.39725262, y: 0.10435712, z: 0.022807112} m_LocalScale: {x: 1, y: 1, z: 1} m_Children: [] - m_Father: {fileID: 4713031430525266} + m_Father: {fileID: 4619634556964828} m_RootOrder: 0 - m_LocalEulerAnglesHint: {x: 90, y: 0, z: 0} ---- !u!4 &4713031430525266 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!4 &4873974547240056 Transform: m_ObjectHideFlags: 1 m_CorrespondingSourceObject: {fileID: 0} m_PrefabInternal: {fileID: 100100000} - m_GameObject: {fileID: 1067952265812482} - m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} - m_LocalPosition: {x: -0, y: 1, z: 0} + m_GameObject: {fileID: 1536837845830486} + m_LocalRotation: {x: 0.3434014, y: 0.6181225, z: -0.3434014, w: 0.6181225} + m_LocalPosition: {x: -0.14381467, y: -2.4004694e-16, z: -0.022217637} + m_LocalScale: {x: 1, y: 1, z: 1} + m_Children: [] + m_Father: {fileID: 4687652199116560} + m_RootOrder: 0 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!4 &4888752888024702 +Transform: + m_ObjectHideFlags: 1 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInternal: {fileID: 100100000} + m_GameObject: {fileID: 1471416446039638} + m_LocalRotation: {x: 0, y: -0, z: -0, w: 1} + m_LocalPosition: {x: -0, y: 0, z: 0} + m_LocalScale: {x: 1.0385888, y: 1.0385888, z: 1.0385888} + m_Children: [] + m_Father: {fileID: 4798883035588600} + m_RootOrder: 5 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!4 &4905676484530646 +Transform: + m_ObjectHideFlags: 1 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInternal: {fileID: 100100000} + m_GameObject: {fileID: 1983377920104090} + m_LocalRotation: {x: -0.016175827, y: 0.0017551694, z: 0.99890125, w: -0.043949492} + m_LocalPosition: {x: -0.007631946, y: 0.002027453, z: 0.17079824} m_LocalScale: {x: 1, y: 1, z: 1} m_Children: - - {fileID: 4512070522708648} - - {fileID: 4779689365592612} - m_Father: {fileID: 0} + - {fileID: 4426743730865306} + m_Father: {fileID: 4133169614437654} m_RootOrder: 0 m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} ---- !u!4 &4779689365592612 +--- !u!4 &4920555598864728 Transform: m_ObjectHideFlags: 1 m_CorrespondingSourceObject: {fileID: 0} m_PrefabInternal: {fileID: 100100000} - m_GameObject: {fileID: 1179267592805742} - m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} - m_LocalPosition: {x: 0, y: -1, z: 0} + m_GameObject: {fileID: 1285753582470474} + m_LocalRotation: {x: 0, y: -0, z: -0, w: 1} + m_LocalPosition: {x: -0, y: -0.42975983, z: 0} m_LocalScale: {x: 1, y: 1, z: 1} m_Children: [] - m_Father: {fileID: 4713031430525266} + m_Father: {fileID: 4517359647573962} m_RootOrder: 1 m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!4 &4956544777357826 +Transform: + m_ObjectHideFlags: 1 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInternal: {fileID: 100100000} + m_GameObject: {fileID: 1813069178044290} + m_LocalRotation: {x: 0, y: 0, z: 0.035322197, w: 0.999376} + m_LocalPosition: {x: -0.1729561, y: -0.0066331974, z: -3.9864418e-17} + m_LocalScale: {x: 1, y: 1, z: 1} + m_Children: + - {fileID: 4853654911370208} + m_Father: {fileID: 4133169614437654} + m_RootOrder: 2 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!4 &4961668216880254 +Transform: + m_ObjectHideFlags: 1 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInternal: {fileID: 100100000} + m_GameObject: {fileID: 1148681107994234} + m_LocalRotation: {x: -4.8590194e-17, y: -1.1236984e-16, z: 0.9178635, w: 0.3968962} + m_LocalPosition: {x: -0.08728049, y: -0.2513243, z: -0.36185086} + m_LocalScale: {x: 1, y: 1, z: 1} + m_Children: + - {fileID: 4464823547002644} + m_Father: {fileID: 4208425260803850} + m_RootOrder: 4 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!4 &4968927688228516 +Transform: + m_ObjectHideFlags: 1 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInternal: {fileID: 100100000} + m_GameObject: {fileID: 1936140953969800} + m_LocalRotation: {x: -0.001151651, y: 0.000106072825, z: -0.09286601, w: 0.995678} + m_LocalPosition: {x: -0.4887511, y: 0.048737742, z: 0.016764512} + m_LocalScale: {x: 1, y: 1, z: 1} + m_Children: [] + m_Father: {fileID: 4408489500112242} + m_RootOrder: 0 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} --- !u!20 &20867366751424052 Camera: m_ObjectHideFlags: 1 @@ -152,7 +1116,7 @@ MeshRenderer: m_CorrespondingSourceObject: {fileID: 0} m_PrefabInternal: {fileID: 100100000} m_GameObject: {fileID: 1179267592805742} - m_Enabled: 1 + m_Enabled: 0 m_CastShadows: 1 m_ReceiveShadows: 1 m_DynamicOccludee: 1 @@ -207,6 +1171,24 @@ AudioListener: m_PrefabInternal: {fileID: 100100000} m_GameObject: {fileID: 1051260791432954} m_Enabled: 1 +--- !u!95 &95598162639253862 +Animator: + serializedVersion: 3 + m_ObjectHideFlags: 1 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInternal: {fileID: 100100000} + m_GameObject: {fileID: 1396313680850944} + m_Enabled: 1 + m_Avatar: {fileID: 9000000, guid: 236e7961efac5a74bb87438b563e964a, type: 3} + m_Controller: {fileID: 9100000, guid: b8ccd80bd1d70dd44a5d8a54d14a16c2, type: 2} + m_CullingMode: 1 + m_UpdateMode: 0 + m_ApplyRootMotion: 0 + m_LinearVelocityBlending: 0 + m_WarningMessage: + m_HasTransformHierarchy: 1 + m_AllowConstantClipSamplingOptimization: 1 + m_KeepAnimatorControllerStateOnDisable: 0 --- !u!114 &114144325375728200 MonoBehaviour: m_ObjectHideFlags: 1 @@ -219,6 +1201,9 @@ MonoBehaviour: m_Name: m_EditorClassIdentifier: charControl: {fileID: 143426586791887808} + Animator: {fileID: 95598162639253862} + Model: {fileID: 4517359647573962} + Speed: 5 --- !u!114 &114470274098260950 MonoBehaviour: m_ObjectHideFlags: 1 @@ -246,6 +1231,361 @@ MonoBehaviour: m_Name: m_EditorClassIdentifier: moveIncrement: 0.01 +--- !u!137 &137210552615090714 +SkinnedMeshRenderer: + m_ObjectHideFlags: 1 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInternal: {fileID: 100100000} + m_GameObject: {fileID: 1314390447957172} + m_Enabled: 1 + m_CastShadows: 1 + m_ReceiveShadows: 1 + m_DynamicOccludee: 1 + m_MotionVectors: 1 + m_LightProbeUsage: 1 + m_ReflectionProbeUsage: 1 + m_RenderingLayerMask: 4294967295 + m_Materials: + - {fileID: 2100002, guid: 236e7961efac5a74bb87438b563e964a, type: 3} + - {fileID: 2100004, guid: 236e7961efac5a74bb87438b563e964a, type: 3} + m_StaticBatchInfo: + firstSubMesh: 0 + subMeshCount: 0 + m_StaticBatchRoot: {fileID: 0} + m_ProbeAnchor: {fileID: 0} + m_LightProbeVolumeOverride: {fileID: 0} + m_ScaleInLightmap: 1 + m_PreserveUVs: 0 + m_IgnoreNormalsForChartDetection: 0 + m_ImportantGI: 0 + m_StitchLightmapSeams: 0 + 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 + serializedVersion: 2 + m_Quality: 0 + m_UpdateWhenOffscreen: 0 + m_SkinnedMotionVectors: 1 + m_Mesh: {fileID: 4300002, guid: 236e7961efac5a74bb87438b563e964a, type: 3} + m_Bones: + - {fileID: 4956544777357826} + - {fileID: 4853654911370208} + - {fileID: 4208425260803850} + - {fileID: 4619634556964828} + - {fileID: 4867830890147088} + - {fileID: 4252689420942128} + - {fileID: 4785797031157858} + - {fileID: 4525979743300070} + - {fileID: 4961668216880254} + m_BlendShapeWeights: [] + m_RootBone: {fileID: 4956544777357826} + m_AABB: + m_Center: {x: -0.33047295, y: 0.043980047, z: 0.01753509} + m_Extent: {x: 0.3279633, y: 0.20668222, z: 0.6718084} + m_DirtyAABB: 0 +--- !u!137 &137331015404511728 +SkinnedMeshRenderer: + m_ObjectHideFlags: 1 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInternal: {fileID: 100100000} + m_GameObject: {fileID: 1028887017548132} + m_Enabled: 1 + m_CastShadows: 1 + m_ReceiveShadows: 1 + m_DynamicOccludee: 1 + m_MotionVectors: 1 + m_LightProbeUsage: 1 + m_ReflectionProbeUsage: 1 + m_RenderingLayerMask: 4294967295 + m_Materials: + - {fileID: 2100008, guid: 236e7961efac5a74bb87438b563e964a, type: 3} + - {fileID: 2100010, guid: 236e7961efac5a74bb87438b563e964a, type: 3} + - {fileID: 2100012, guid: 236e7961efac5a74bb87438b563e964a, type: 3} + m_StaticBatchInfo: + firstSubMesh: 0 + subMeshCount: 0 + m_StaticBatchRoot: {fileID: 0} + m_ProbeAnchor: {fileID: 0} + m_LightProbeVolumeOverride: {fileID: 0} + m_ScaleInLightmap: 1 + m_PreserveUVs: 0 + m_IgnoreNormalsForChartDetection: 0 + m_ImportantGI: 0 + m_StitchLightmapSeams: 0 + 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 + serializedVersion: 2 + m_Quality: 0 + m_UpdateWhenOffscreen: 0 + m_SkinnedMotionVectors: 1 + m_Mesh: {fileID: 4300008, guid: 236e7961efac5a74bb87438b563e964a, type: 3} + m_Bones: + - {fileID: 4956544777357826} + - {fileID: 4853654911370208} + - {fileID: 4208425260803850} + - {fileID: 4384976764600694} + - {fileID: 4619634556964828} + - {fileID: 4867830890147088} + - {fileID: 4252689420942128} + - {fileID: 4525979743300070} + - {fileID: 4961668216880254} + - {fileID: 4464823547002644} + m_BlendShapeWeights: [] + m_RootBone: {fileID: 4956544777357826} + m_AABB: + m_Center: {x: -0.8690541, y: 0.077085346, z: 0.000000059604645} + m_Extent: {x: 0.5182178, y: 0.4918932, z: 0.5233914} + m_DirtyAABB: 0 +--- !u!137 &137639050362458478 +SkinnedMeshRenderer: + m_ObjectHideFlags: 1 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInternal: {fileID: 100100000} + m_GameObject: {fileID: 1666301920471922} + m_Enabled: 1 + m_CastShadows: 1 + m_ReceiveShadows: 1 + m_DynamicOccludee: 1 + m_MotionVectors: 1 + m_LightProbeUsage: 1 + m_ReflectionProbeUsage: 1 + m_RenderingLayerMask: 4294967295 + m_Materials: + - {fileID: 2100008, guid: 236e7961efac5a74bb87438b563e964a, type: 3} + m_StaticBatchInfo: + firstSubMesh: 0 + subMeshCount: 0 + m_StaticBatchRoot: {fileID: 0} + m_ProbeAnchor: {fileID: 0} + m_LightProbeVolumeOverride: {fileID: 0} + m_ScaleInLightmap: 1 + m_PreserveUVs: 0 + m_IgnoreNormalsForChartDetection: 0 + m_ImportantGI: 0 + m_StitchLightmapSeams: 0 + 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 + serializedVersion: 2 + m_Quality: 0 + m_UpdateWhenOffscreen: 0 + m_SkinnedMotionVectors: 1 + m_Mesh: {fileID: 4300006, guid: 236e7961efac5a74bb87438b563e964a, type: 3} + m_Bones: + - {fileID: 4133169614437654} + - {fileID: 4956544777357826} + - {fileID: 4853654911370208} + - {fileID: 4208425260803850} + - {fileID: 4619634556964828} + m_BlendShapeWeights: [] + m_RootBone: {fileID: 4133169614437654} + m_AABB: + m_Center: {x: -0.50517607, y: 0.3117954, z: 0.20342821} + m_Extent: {x: 0.06340426, y: 0.04164651, z: 0.05042243} + m_DirtyAABB: 0 +--- !u!137 &137690959340717416 +SkinnedMeshRenderer: + m_ObjectHideFlags: 1 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInternal: {fileID: 100100000} + m_GameObject: {fileID: 1842275424480946} + m_Enabled: 1 + m_CastShadows: 1 + m_ReceiveShadows: 1 + m_DynamicOccludee: 1 + m_MotionVectors: 1 + m_LightProbeUsage: 1 + m_ReflectionProbeUsage: 1 + m_RenderingLayerMask: 4294967295 + m_Materials: + - {fileID: 2100000, guid: 236e7961efac5a74bb87438b563e964a, type: 3} + m_StaticBatchInfo: + firstSubMesh: 0 + subMeshCount: 0 + m_StaticBatchRoot: {fileID: 0} + m_ProbeAnchor: {fileID: 0} + m_LightProbeVolumeOverride: {fileID: 0} + m_ScaleInLightmap: 1 + m_PreserveUVs: 0 + m_IgnoreNormalsForChartDetection: 0 + m_ImportantGI: 0 + m_StitchLightmapSeams: 0 + 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 + serializedVersion: 2 + m_Quality: 0 + m_UpdateWhenOffscreen: 0 + m_SkinnedMotionVectors: 1 + m_Mesh: {fileID: 4300000, guid: 236e7961efac5a74bb87438b563e964a, type: 3} + m_Bones: + - {fileID: 4133169614437654} + - {fileID: 4905676484530646} + - {fileID: 4426743730865306} + - {fileID: 4956544777357826} + - {fileID: 4408489500112242} + - {fileID: 4968927688228516} + m_BlendShapeWeights: [] + m_RootBone: {fileID: 4133169614437654} + m_AABB: + m_Center: {x: 0.24371573, y: 0.02523416, z: 0.0076791346} + m_Extent: {x: 0.25608483, y: 0.10623738, z: 0.25138792} + m_DirtyAABB: 0 +--- !u!137 &137719734779905762 +SkinnedMeshRenderer: + m_ObjectHideFlags: 1 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInternal: {fileID: 100100000} + m_GameObject: {fileID: 1471416446039638} + m_Enabled: 1 + m_CastShadows: 1 + m_ReceiveShadows: 1 + m_DynamicOccludee: 1 + m_MotionVectors: 1 + m_LightProbeUsage: 1 + m_ReflectionProbeUsage: 1 + m_RenderingLayerMask: 4294967295 + m_Materials: + - {fileID: 2100006, guid: 236e7961efac5a74bb87438b563e964a, type: 3} + m_StaticBatchInfo: + firstSubMesh: 0 + subMeshCount: 0 + m_StaticBatchRoot: {fileID: 0} + m_ProbeAnchor: {fileID: 0} + m_LightProbeVolumeOverride: {fileID: 0} + m_ScaleInLightmap: 1 + m_PreserveUVs: 0 + m_IgnoreNormalsForChartDetection: 0 + m_ImportantGI: 0 + m_StitchLightmapSeams: 0 + 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 + serializedVersion: 2 + m_Quality: 0 + m_UpdateWhenOffscreen: 0 + m_SkinnedMotionVectors: 1 + m_Mesh: {fileID: 4300004, guid: 236e7961efac5a74bb87438b563e964a, type: 3} + m_Bones: + - {fileID: 4133169614437654} + - {fileID: 4956544777357826} + - {fileID: 4853654911370208} + - {fileID: 4208425260803850} + - {fileID: 4619634556964828} + - {fileID: 4252689420942128} + - {fileID: 4525979743300070} + - {fileID: 4521407888221436} + - {fileID: 4760581410735474} + - {fileID: 4824088707146020} + - {fileID: 4961668216880254} + - {fileID: 4464823547002644} + - {fileID: 4440538630431904} + - {fileID: 4687652199116560} + - {fileID: 4408489500112242} + m_BlendShapeWeights: [] + m_RootBone: {fileID: 4133169614437654} + m_AABB: + m_Center: {x: -0.53568417, y: -0.14932062, z: -0.00011366606} + m_Extent: {x: 0.570417, y: 0.64701664, z: 0.43320328} + m_DirtyAABB: 0 +--- !u!137 &137868054317092780 +SkinnedMeshRenderer: + m_ObjectHideFlags: 1 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInternal: {fileID: 100100000} + m_GameObject: {fileID: 1913415542872042} + m_Enabled: 1 + m_CastShadows: 1 + m_ReceiveShadows: 1 + m_DynamicOccludee: 1 + m_MotionVectors: 1 + m_LightProbeUsage: 1 + m_ReflectionProbeUsage: 1 + m_RenderingLayerMask: 4294967295 + m_Materials: + - {fileID: 2100008, guid: 236e7961efac5a74bb87438b563e964a, type: 3} + - {fileID: 2100000, guid: 236e7961efac5a74bb87438b563e964a, type: 3} + - {fileID: 2100004, guid: 236e7961efac5a74bb87438b563e964a, type: 3} + - {fileID: 2100002, guid: 236e7961efac5a74bb87438b563e964a, type: 3} + m_StaticBatchInfo: + firstSubMesh: 0 + subMeshCount: 0 + m_StaticBatchRoot: {fileID: 0} + m_ProbeAnchor: {fileID: 0} + m_LightProbeVolumeOverride: {fileID: 0} + m_ScaleInLightmap: 1 + m_PreserveUVs: 0 + m_IgnoreNormalsForChartDetection: 0 + m_ImportantGI: 0 + m_StitchLightmapSeams: 0 + 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 + serializedVersion: 2 + m_Quality: 0 + m_UpdateWhenOffscreen: 0 + m_SkinnedMotionVectors: 1 + m_Mesh: {fileID: 4300010, guid: 236e7961efac5a74bb87438b563e964a, type: 3} + m_Bones: + - {fileID: 4133169614437654} + - {fileID: 4905676484530646} + - {fileID: 4426743730865306} + - {fileID: 4956544777357826} + - {fileID: 4853654911370208} + - {fileID: 4208425260803850} + - {fileID: 4384976764600694} + - {fileID: 4619634556964828} + - {fileID: 4867830890147088} + - {fileID: 4252689420942128} + - {fileID: 4785797031157858} + - {fileID: 4525979743300070} + - {fileID: 4521407888221436} + - {fileID: 4760581410735474} + - {fileID: 4824088707146020} + - {fileID: 4790371868776964} + - {fileID: 4961668216880254} + - {fileID: 4464823547002644} + - {fileID: 4440538630431904} + - {fileID: 4687652199116560} + - {fileID: 4408489500112242} + - {fileID: 4968927688228516} + m_BlendShapeWeights: [] + m_RootBone: {fileID: 4133169614437654} + m_AABB: + m_Center: {x: -0.519328, y: 0.027136385, z: 0.000000029802322} + m_Extent: {x: 0.847224, y: 0.46376148, z: 0.39873067} + m_DirtyAABB: 0 --- !u!143 &143426586791887808 CharacterController: m_ObjectHideFlags: 1 diff --git a/Assets/Scipts/CharacterMovement.cs b/Assets/Scipts/CharacterMovement.cs index 9db2585..b1274f2 100644 --- a/Assets/Scipts/CharacterMovement.cs +++ b/Assets/Scipts/CharacterMovement.cs @@ -23,23 +23,6 @@ public class CharacterMovement : MonoBehaviour { cam = localPlayer.GetComponentInChildren(); } - - //Public movement functions :) - - private void Update() - { - if (Input.GetMouseButton(0)) - { - Vector3 mousePos = new Vector3(Input.mousePosition.x, 0.0f, Input.mousePosition.y); - Vector3 screenCentre = new Vector3(Screen.width / 2, 0.0F, Screen.height / 2); - Vector3 movePos = mousePos - screenCentre; - - movePos.x = movePos.x / Screen.width; - movePos.z = movePos.z / Screen.height; - localPlayer.GetComponent().Move(movePos * Speed * Time.deltaTime); - Debug.Log("Movepos" + movePos + " speed " + Speed); - } - } public bool CheckNearby() { for (int i = 0; i < Players.Count; i++) diff --git a/Assets/Scipts/Map.cs b/Assets/Scipts/Map.cs index 9e49f62..b88c0d9 100644 --- a/Assets/Scipts/Map.cs +++ b/Assets/Scipts/Map.cs @@ -39,27 +39,10 @@ public class Map : MonoBehaviour //Create dummy players for the world wrapping void CreateDummys() { - foreach (GameObject Player in Players) { Player PS = Player.GetComponent(); - Transform PT = Player.transform; - Transform model = PT.Find("Model"); - PS.dummies.Add(Instantiate(model, new Vector3(PT.position.x -TileSize * MapDimensions.x, PT.position.y, PT.position.z), transform.rotation, PT).gameObject); - PS.dummies.Add(Instantiate(model, new Vector3(PT.position.x + TileSize * MapDimensions.x, PT.position.y, PT.position.z), transform.rotation, PT).gameObject); - PS.dummies.Add(Instantiate(model, new Vector3(PT.position.x, PT.position.y, PT.position.z - TileSize * MapDimensions.y), transform.rotation, PT).gameObject); - PS.dummies.Add(Instantiate(model, new Vector3(PT.position.x, PT.position.y, PT.position.z + TileSize * MapDimensions.y), transform.rotation, PT).gameObject); - - foreach (GameObject dummie in PS.dummies) - { - dummie.transform.parent = model; - foreach (Collider col in dummie.GetComponentsInChildren()) - { - col.enabled = false; - } - - - } + PS.CreateDummies(this); } } @@ -194,32 +177,6 @@ public class Map : MonoBehaviour #endregion - void Update() - { - Teleport(); - } - - void Teleport() - { - Transform PT = LocalPlayer.transform; - if (PT.position.x > maxX) - { - PT.position = new Vector3(minX, PT.position.y, PT.position.z); - } - else if (PT.position.x < minX) - { - PT.position = new Vector3(maxX, PT.position.y, PT.position.z); - } - if (PT.position.z > maxZ) - { - PT.position = new Vector3(PT.position.x, PT.position.y, minZ); - } - else if (PT.position.z < minZ) - { - PT.position = new Vector3(PT.position.x, PT.position.y, maxZ); - } - } - } //EXTRA STUFF, PLEASE IGNORE diff --git a/Assets/Scipts/Multiplayer/Client/ClientManager.cs b/Assets/Scipts/Multiplayer/Client/ClientManager.cs index 31ebcc7..0fedc04 100644 --- a/Assets/Scipts/Multiplayer/Client/ClientManager.cs +++ b/Assets/Scipts/Multiplayer/Client/ClientManager.cs @@ -84,7 +84,7 @@ namespace Multiplayer if (!IsConnected) Debug.Log("Player not connected to server"); - Debug.Log("Sending message to server"); + //Debug.Log("Sending message to server"); Client.SendByChannel(msgType, msg, (int)channel); } diff --git a/Assets/Scipts/Player.cs b/Assets/Scipts/Player.cs index e5e3adc..50de442 100644 --- a/Assets/Scipts/Player.cs +++ b/Assets/Scipts/Player.cs @@ -2,8 +2,67 @@ using System.Collections.Generic; using UnityEngine; -public class Player : MonoBehaviour { +public class Player : MonoBehaviour +{ public List dummies; public Vegetable heldVeggie; + public GameObject playerModel; + protected Map map; + private Animator playerAnim; + private List dummieAnims = new List(); + + public float scale = 0.1f; + + public void Start() + { + playerAnim = playerModel.GetComponent(); + } + + protected virtual void Update() + { + UpdateDummies(); + } + + public void CreateDummies(Map map) + { + this.map = map; + + dummies.Add(Instantiate(playerModel, new Vector3(transform.position.x - map.TileSize * map.MapDimensions.x, transform.position.y, transform.position.z), transform.rotation, transform).gameObject); + dummies.Add(Instantiate(playerModel, new Vector3(transform.position.x + map.TileSize * map.MapDimensions.x, transform.position.y, transform.position.z), transform.rotation, transform).gameObject); + dummies.Add(Instantiate(playerModel, new Vector3(transform.position.x, transform.position.y, transform.position.z - map.TileSize * map.MapDimensions.y), transform.rotation, transform).gameObject); + dummies.Add(Instantiate(playerModel, new Vector3(transform.position.x, transform.position.y, transform.position.z + map.TileSize * map.MapDimensions.y), transform.rotation, transform).gameObject); + + foreach (GameObject dummie in dummies) + { + + Debug.Log(dummie.name); + dummieAnims.Add(dummie.GetComponentInChildren()); + + + foreach (Collider col in dummie.GetComponentsInChildren()) + { + col.enabled = false; + } + } + } + + public void UpdateDummies() + { + dummies[0].transform.position = transform.position - (Vector3.right * (map.TileSize * map.MapDimensions.x * scale)); + dummies[1].transform.position = transform.position + (Vector3.right * (map.TileSize * map.MapDimensions.x * scale)); + dummies[2].transform.position = transform.position - (Vector3.forward * (map.TileSize * map.MapDimensions.y * scale)); + dummies[3].transform.position = transform.position + (Vector3.forward * (map.TileSize * map.MapDimensions.y * scale)); + + int count = 0; + foreach (GameObject dummie in dummies) + { + dummie.transform.rotation = playerModel.transform.rotation; + Debug.Log(dummieAnims[count]); + dummieAnims[count].SetFloat("WalkSpeed", playerAnim.GetFloat("WalkSpeed")); + + if (playerAnim.GetBool("PickUp")) + dummieAnims[count].SetTrigger("PickUp"); + } + } } diff --git a/Assets/Shaders.meta b/Assets/Shaders.meta new file mode 100644 index 0000000..472bf46 --- /dev/null +++ b/Assets/Shaders.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: f87a054963b01dc4c8aa2e3ffedcca21 +folderAsset: yes +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/WorldAssets.meta b/Assets/WorldAssets.meta new file mode 100644 index 0000000..b49880d --- /dev/null +++ b/Assets/WorldAssets.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 7da0e8d0a6415f944aa43dff57b38ae3 +folderAsset: yes +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/WorldAssets/Models.meta b/Assets/WorldAssets/Models.meta new file mode 100644 index 0000000..a4d7756 --- /dev/null +++ b/Assets/WorldAssets/Models.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: c207356b78ec8e8499bb6047218dd104 +folderAsset: yes +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/ProjectSettings/EditorBuildSettings.asset b/ProjectSettings/EditorBuildSettings.asset index 4bf0906..bf377fb 100644 --- a/ProjectSettings/EditorBuildSettings.asset +++ b/ProjectSettings/EditorBuildSettings.asset @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:c64c0a8ab387e76ea0a66bea48669e6993ffdbbc6c34f74a7fabe55bd6e8ca93 -size 552 +oid sha256:005bcacf140480789b85b077d6ce22c77bb09f29062728b3c4d8795d86cd8262 +size 652 diff --git a/ProjectSettings/GraphicsSettings.asset b/ProjectSettings/GraphicsSettings.asset index 8e6914b..1ef7b76 100644 --- a/ProjectSettings/GraphicsSettings.asset +++ b/ProjectSettings/GraphicsSettings.asset @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:f9f8e310e4e28e01748ac4b4549e66da30e7617e70e83b5938b925745203ca4f -size 1937 +oid sha256:d962667a1bdf2dc8449a4c3db3016f5bd41e995c1f6e6215d0eef6109a51cbec +size 2018 diff --git a/ProjectSettings/UnityConnectSettings.asset b/ProjectSettings/UnityConnectSettings.asset index 9550ca1..4e042cf 100644 --- a/ProjectSettings/UnityConnectSettings.asset +++ b/ProjectSettings/UnityConnectSettings.asset @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:71c7f59b462224ebdb7113c7af007fc709ea1f8977c19a5dc5c74fb089ee3704 -size 846 +oid sha256:1f72e17e23719bf17ce5f260c5df3dbbcbc677879471b005e70f11cd4ec69c57 +size 812