5 files modified
7 files added
| | |
| | | - serializedVersion: 1 |
| | | m_State: {fileID: -8551537280866366805} |
| | | m_Position: {x: 620, y: 390, z: 0} |
| | | m_ChildStateMachines: [] |
| | | m_ChildStateMachines: |
| | | - serializedVersion: 1 |
| | | m_StateMachine: {fileID: -870871217648341797} |
| | | m_Position: {x: 470, y: -20, z: 0} |
| | | m_AnyStateTransitions: [] |
| | | m_EntryTransitions: [] |
| | | m_StateMachineTransitions: {} |
| | | m_StateMachineBehaviours: [] |
| | | m_AnyStatePosition: {x: 400, y: 310, z: 0} |
| | | m_EntryPosition: {x: 50, y: 120, z: 0} |
| | | m_ExitPosition: {x: 880, y: 120, z: 0} |
| | | m_ParentStateMachinePosition: {x: 800, y: 20, z: 0} |
| | | m_ExitPosition: {x: 990, y: -40, z: 0} |
| | | m_ParentStateMachinePosition: {x: 830, y: 50, z: 0} |
| | | m_DefaultState: {fileID: 68305137226140118} |
| | | --- !u!1101 &-7913474699216770149 |
| | | AnimatorStateTransition: |
| | |
| | | m_InterruptionSource: 1 |
| | | m_OrderedInterruption: 1 |
| | | m_CanTransitionToSelf: 1 |
| | | --- !u!1102 &-7772001631268269027 |
| | | AnimatorState: |
| | | serializedVersion: 6 |
| | | m_ObjectHideFlags: 1 |
| | | m_CorrespondingSourceObject: {fileID: 0} |
| | | m_PrefabInstance: {fileID: 0} |
| | | m_PrefabAsset: {fileID: 0} |
| | | m_Name: player_drill_down |
| | | m_Speed: 1 |
| | | m_CycleOffset: 0 |
| | | m_Transitions: |
| | | - {fileID: -2950863129577728936} |
| | | 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: a4c9d5891f899de4bbc6fdeeb999ecae, type: 2} |
| | | m_Tag: |
| | | m_SpeedParameter: |
| | | m_MirrorParameter: |
| | | m_CycleOffsetParameter: |
| | | m_TimeParameter: |
| | | --- !u!1102 &-7583940583200162132 |
| | | AnimatorState: |
| | | serializedVersion: 6 |
| | |
| | | playOnExit: 0 |
| | | playAfterDelay: 0 |
| | | playDelay: 0.25 |
| | | --- !u!1102 &-5387081852353806967 |
| | | AnimatorState: |
| | | serializedVersion: 6 |
| | | m_ObjectHideFlags: 1 |
| | | m_CorrespondingSourceObject: {fileID: 0} |
| | | m_PrefabInstance: {fileID: 0} |
| | | m_PrefabAsset: {fileID: 0} |
| | | m_Name: player_drill_left_right |
| | | m_Speed: 1 |
| | | m_CycleOffset: 0 |
| | | m_Transitions: |
| | | - {fileID: 3058066229233877499} |
| | | 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: c63f3597f33d4704fa6cc7f8bf2f82f5, type: 2} |
| | | m_Tag: |
| | | m_SpeedParameter: |
| | | m_MirrorParameter: |
| | | m_CycleOffsetParameter: |
| | | m_TimeParameter: |
| | | --- !u!1101 &-4499978992140160781 |
| | | AnimatorStateTransition: |
| | | m_ObjectHideFlags: 1 |
| | | m_CorrespondingSourceObject: {fileID: 0} |
| | | m_PrefabInstance: {fileID: 0} |
| | | m_PrefabAsset: {fileID: 0} |
| | | m_Name: |
| | | m_Conditions: |
| | | - m_ConditionMode: 1 |
| | | m_ConditionEvent: IsDrillingDown |
| | | m_EventTreshold: 0 |
| | | m_DstStateMachine: {fileID: 0} |
| | | m_DstState: {fileID: -7772001631268269027} |
| | | m_Solo: 0 |
| | | m_Mute: 0 |
| | | m_IsExit: 0 |
| | | serializedVersion: 3 |
| | | m_TransitionDuration: 0 |
| | | m_TransitionOffset: 0 |
| | | m_ExitTime: 0.875 |
| | | m_HasExitTime: 0 |
| | | m_HasFixedDuration: 1 |
| | | m_InterruptionSource: 0 |
| | | m_OrderedInterruption: 1 |
| | | m_CanTransitionToSelf: 1 |
| | | --- !u!1107 &-3544671305424738950 |
| | | AnimatorStateMachine: |
| | | serializedVersion: 6 |
| | |
| | | m_ExitPosition: {x: 800, y: 120, z: 0} |
| | | m_ParentStateMachinePosition: {x: 800, y: 20, z: 0} |
| | | m_DefaultState: {fileID: 68305137226140118} |
| | | --- !u!1101 &-2950863129577728936 |
| | | AnimatorStateTransition: |
| | | m_ObjectHideFlags: 1 |
| | | m_CorrespondingSourceObject: {fileID: 0} |
| | | m_PrefabInstance: {fileID: 0} |
| | | m_PrefabAsset: {fileID: 0} |
| | | m_Name: |
| | | m_Conditions: |
| | | - m_ConditionMode: 2 |
| | | m_ConditionEvent: IsDrillingDown |
| | | m_EventTreshold: 0 |
| | | m_DstStateMachine: {fileID: 0} |
| | | m_DstState: {fileID: 0} |
| | | m_Solo: 0 |
| | | m_Mute: 0 |
| | | m_IsExit: 1 |
| | | serializedVersion: 3 |
| | | m_TransitionDuration: 0 |
| | | m_TransitionOffset: 0 |
| | | m_ExitTime: 0 |
| | | m_HasExitTime: 0 |
| | | m_HasFixedDuration: 0 |
| | | m_InterruptionSource: 0 |
| | | m_OrderedInterruption: 1 |
| | | m_CanTransitionToSelf: 1 |
| | | --- !u!1101 &-2498264382210789607 |
| | | AnimatorStateTransition: |
| | | m_ObjectHideFlags: 1 |
| | | m_CorrespondingSourceObject: {fileID: 0} |
| | | m_PrefabInstance: {fileID: 0} |
| | | m_PrefabAsset: {fileID: 0} |
| | | m_Name: |
| | | m_Conditions: |
| | | - m_ConditionMode: 1 |
| | | m_ConditionEvent: IsDrillingDown |
| | | m_EventTreshold: 0 |
| | | m_DstStateMachine: {fileID: 0} |
| | | m_DstState: {fileID: -7772001631268269027} |
| | | m_Solo: 0 |
| | | m_Mute: 0 |
| | | m_IsExit: 0 |
| | | serializedVersion: 3 |
| | | m_TransitionDuration: 0 |
| | | m_TransitionOffset: 0 |
| | | m_ExitTime: 0.875 |
| | | m_HasExitTime: 0 |
| | | m_HasFixedDuration: 1 |
| | | m_InterruptionSource: 0 |
| | | m_OrderedInterruption: 1 |
| | | m_CanTransitionToSelf: 1 |
| | | --- !u!114 &-2493127153716391096 |
| | | MonoBehaviour: |
| | | m_ObjectHideFlags: 1 |
| | |
| | | m_Mute: 0 |
| | | m_IsExit: 0 |
| | | serializedVersion: 3 |
| | | m_TransitionDuration: 0.25 |
| | | m_TransitionDuration: 0 |
| | | m_TransitionOffset: 0 |
| | | m_ExitTime: 0 |
| | | m_HasExitTime: 0 |
| | | m_HasFixedDuration: 1 |
| | | m_HasFixedDuration: 0 |
| | | m_InterruptionSource: 1 |
| | | m_OrderedInterruption: 1 |
| | | m_CanTransitionToSelf: 1 |
| | | --- !u!1107 &-870871217648341797 |
| | | AnimatorStateMachine: |
| | | serializedVersion: 6 |
| | | m_ObjectHideFlags: 1 |
| | | m_CorrespondingSourceObject: {fileID: 0} |
| | | m_PrefabInstance: {fileID: 0} |
| | | m_PrefabAsset: {fileID: 0} |
| | | m_Name: player_drill |
| | | m_ChildStates: |
| | | - serializedVersion: 1 |
| | | m_State: {fileID: -5387081852353806967} |
| | | m_Position: {x: 390, y: 150, z: 0} |
| | | - serializedVersion: 1 |
| | | m_State: {fileID: -7772001631268269027} |
| | | m_Position: {x: 390, y: 50, 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: -5387081852353806967} |
| | | --- !u!91 &9100000 |
| | | AnimatorController: |
| | | m_ObjectHideFlags: 0 |
| | |
| | | m_DefaultFloat: 0 |
| | | m_DefaultInt: 0 |
| | | m_DefaultBool: 0 |
| | | m_Controller: {fileID: 9100000} |
| | | m_Controller: {fileID: 0} |
| | | - m_Name: IsFlying |
| | | m_Type: 4 |
| | | m_DefaultFloat: 0 |
| | | m_DefaultInt: 0 |
| | | m_DefaultBool: 0 |
| | | m_Controller: {fileID: 9100000} |
| | | m_Controller: {fileID: 0} |
| | | - m_Name: IsGrounded |
| | | m_Type: 4 |
| | | m_DefaultFloat: 0 |
| | | m_DefaultInt: 0 |
| | | m_DefaultBool: 0 |
| | | m_Controller: {fileID: 9100000} |
| | | m_Controller: {fileID: 0} |
| | | - m_Name: IsAtWall |
| | | m_Type: 4 |
| | | m_DefaultFloat: 0 |
| | | m_DefaultInt: 0 |
| | | m_DefaultBool: 0 |
| | | m_Controller: {fileID: 9100000} |
| | | m_Controller: {fileID: 0} |
| | | - m_Name: IsAtCeiling |
| | | m_Type: 4 |
| | | m_DefaultFloat: 0 |
| | | m_DefaultInt: 0 |
| | | m_DefaultBool: 0 |
| | | m_Controller: {fileID: 9100000} |
| | | m_Controller: {fileID: 0} |
| | | - m_Name: IsAlive |
| | | m_Type: 4 |
| | | m_DefaultFloat: 0 |
| | | m_DefaultInt: 0 |
| | | m_DefaultBool: 1 |
| | | m_Controller: {fileID: 9100000} |
| | | m_Controller: {fileID: 0} |
| | | - m_Name: CanMove |
| | | m_Type: 4 |
| | | m_DefaultFloat: 0 |
| | | m_DefaultInt: 0 |
| | | m_DefaultBool: 1 |
| | | m_Controller: {fileID: 9100000} |
| | | m_Controller: {fileID: 0} |
| | | - m_Name: IsDrillingDown |
| | | m_Type: 4 |
| | | m_DefaultFloat: 0 |
| | | m_DefaultInt: 0 |
| | | m_DefaultBool: 0 |
| | | m_Controller: {fileID: 0} |
| | | - m_Name: IsDrillingLeftRight |
| | | m_Type: 4 |
| | | m_DefaultFloat: 0 |
| | | m_DefaultInt: 0 |
| | | m_DefaultBool: 0 |
| | | m_Controller: {fileID: 0} |
| | | m_AnimatorLayers: |
| | | - serializedVersion: 5 |
| | | m_Name: Base Layer |
| | |
| | | m_Transitions: |
| | | - {fileID: 7462440421188174382} |
| | | - {fileID: -1567565794043545918} |
| | | - {fileID: 7930423332426791963} |
| | | - {fileID: -4499978992140160781} |
| | | m_StateMachineBehaviours: [] |
| | | m_Position: {x: 50, y: 50, z: 0} |
| | | m_IKOnFeet: 0 |
| | |
| | | m_HasExitTime: 0 |
| | | m_HasFixedDuration: 1 |
| | | m_InterruptionSource: 1 |
| | | m_OrderedInterruption: 1 |
| | | m_CanTransitionToSelf: 1 |
| | | --- !u!1101 &2876837726979659407 |
| | | AnimatorStateTransition: |
| | | m_ObjectHideFlags: 1 |
| | | m_CorrespondingSourceObject: {fileID: 0} |
| | | m_PrefabInstance: {fileID: 0} |
| | | m_PrefabAsset: {fileID: 0} |
| | | m_Name: |
| | | m_Conditions: |
| | | - m_ConditionMode: 1 |
| | | m_ConditionEvent: IsDrillingLeftRight |
| | | m_EventTreshold: 0 |
| | | m_DstStateMachine: {fileID: 0} |
| | | m_DstState: {fileID: -5387081852353806967} |
| | | m_Solo: 0 |
| | | m_Mute: 0 |
| | | m_IsExit: 0 |
| | | serializedVersion: 3 |
| | | m_TransitionDuration: 0 |
| | | m_TransitionOffset: 0 |
| | | m_ExitTime: 0.875 |
| | | m_HasExitTime: 0 |
| | | m_HasFixedDuration: 1 |
| | | m_InterruptionSource: 0 |
| | | m_OrderedInterruption: 1 |
| | | m_CanTransitionToSelf: 1 |
| | | --- !u!1101 &3058066229233877499 |
| | | AnimatorStateTransition: |
| | | m_ObjectHideFlags: 1 |
| | | m_CorrespondingSourceObject: {fileID: 0} |
| | | m_PrefabInstance: {fileID: 0} |
| | | m_PrefabAsset: {fileID: 0} |
| | | m_Name: |
| | | m_Conditions: |
| | | - m_ConditionMode: 2 |
| | | m_ConditionEvent: IsDrillingLeftRight |
| | | m_EventTreshold: 0 |
| | | m_DstStateMachine: {fileID: 0} |
| | | m_DstState: {fileID: 0} |
| | | m_Solo: 0 |
| | | m_Mute: 0 |
| | | m_IsExit: 1 |
| | | serializedVersion: 3 |
| | | m_TransitionDuration: 0 |
| | | m_TransitionOffset: 0 |
| | | m_ExitTime: 0 |
| | | m_HasExitTime: 0 |
| | | m_HasFixedDuration: 0 |
| | | m_InterruptionSource: 0 |
| | | m_OrderedInterruption: 1 |
| | | m_CanTransitionToSelf: 1 |
| | | --- !u!1101 &3484489205103101802 |
| | |
| | | m_Transitions: |
| | | - {fileID: 6280974660787890301} |
| | | - {fileID: -7913474699216770149} |
| | | - {fileID: 2876837726979659407} |
| | | - {fileID: -2498264382210789607} |
| | | m_StateMachineBehaviours: [] |
| | | m_Position: {x: 50, y: 50, z: 0} |
| | | m_IKOnFeet: 0 |
| | |
| | | m_InterruptionSource: 1 |
| | | m_OrderedInterruption: 1 |
| | | m_CanTransitionToSelf: 1 |
| | | --- !u!1101 &7930423332426791963 |
| | | AnimatorStateTransition: |
| | | m_ObjectHideFlags: 1 |
| | | m_CorrespondingSourceObject: {fileID: 0} |
| | | m_PrefabInstance: {fileID: 0} |
| | | m_PrefabAsset: {fileID: 0} |
| | | m_Name: |
| | | m_Conditions: |
| | | - m_ConditionMode: 1 |
| | | m_ConditionEvent: IsDrillingLeftRight |
| | | m_EventTreshold: 0 |
| | | m_DstStateMachine: {fileID: 0} |
| | | m_DstState: {fileID: -5387081852353806967} |
| | | m_Solo: 0 |
| | | m_Mute: 0 |
| | | m_IsExit: 0 |
| | | serializedVersion: 3 |
| | | m_TransitionDuration: 0 |
| | | m_TransitionOffset: 0 |
| | | m_ExitTime: 0.875 |
| | | m_HasExitTime: 0 |
| | | m_HasFixedDuration: 1 |
| | | m_InterruptionSource: 1 |
| | | m_OrderedInterruption: 1 |
| | | m_CanTransitionToSelf: 1 |
| | | --- !u!1102 &7984510369417086179 |
| | | AnimatorState: |
| | | serializedVersion: 6 |
New file |
| | |
| | | fileFormatVersion: 2 |
| | | guid: 5e75bec4ec52c6c44b333e8ad5543e93 |
| | | folderAsset: yes |
| | | DefaultImporter: |
| | | externalObjects: {} |
| | | userData: |
| | | assetBundleName: |
| | | assetBundleVariant: |
New file |
| | |
| | | fileFormatVersion: 2 |
| | | guid: 9b63dee9d78a1b44e9d4f8d91e41057e |
| | | TextureImporter: |
| | | internalIDToNameTable: [] |
| | | externalObjects: {} |
| | | serializedVersion: 12 |
| | | mipmaps: |
| | | mipMapMode: 0 |
| | | enableMipMap: 0 |
| | | sRGBTexture: 1 |
| | | linearTexture: 0 |
| | | fadeOut: 0 |
| | | borderMipMap: 0 |
| | | mipMapsPreserveCoverage: 0 |
| | | alphaTestReferenceValue: 0.5 |
| | | mipMapFadeDistanceStart: 1 |
| | | mipMapFadeDistanceEnd: 3 |
| | | bumpmap: |
| | | convertToNormalMap: 0 |
| | | externalNormalMap: 0 |
| | | heightScale: 0.25 |
| | | normalMapFilter: 0 |
| | | flipGreenChannel: 0 |
| | | isReadable: 0 |
| | | streamingMipmaps: 0 |
| | | streamingMipmapsPriority: 0 |
| | | vTOnly: 0 |
| | | ignoreMipmapLimit: 0 |
| | | grayScaleToAlpha: 0 |
| | | generateCubemap: 6 |
| | | cubemapConvolution: 0 |
| | | seamlessCubemap: 0 |
| | | textureFormat: 1 |
| | | maxTextureSize: 2048 |
| | | textureSettings: |
| | | serializedVersion: 2 |
| | | filterMode: 0 |
| | | aniso: 1 |
| | | mipBias: 0 |
| | | wrapU: 1 |
| | | wrapV: 1 |
| | | wrapW: 1 |
| | | nPOTScale: 0 |
| | | lightmap: 0 |
| | | compressionQuality: 50 |
| | | spriteMode: 1 |
| | | spriteExtrude: 1 |
| | | spriteMeshType: 1 |
| | | alignment: 0 |
| | | spritePivot: {x: 0.5, y: 0.5} |
| | | spritePixelsToUnits: 16 |
| | | spriteBorder: {x: 0, y: 0, z: 0, w: 0} |
| | | spriteGenerateFallbackPhysicsShape: 1 |
| | | alphaUsage: 1 |
| | | alphaIsTransparency: 1 |
| | | spriteTessellationDetail: -1 |
| | | textureType: 8 |
| | | textureShape: 1 |
| | | singleChannelComponent: 0 |
| | | flipbookRows: 1 |
| | | flipbookColumns: 1 |
| | | maxTextureSizeSet: 0 |
| | | compressionQualitySet: 0 |
| | | textureFormatSet: 0 |
| | | ignorePngGamma: 0 |
| | | applyGammaDecoding: 0 |
| | | swizzle: 50462976 |
| | | cookieLightType: 0 |
| | | platformSettings: |
| | | - serializedVersion: 3 |
| | | buildTarget: DefaultTexturePlatform |
| | | maxTextureSize: 4096 |
| | | resizeAlgorithm: 0 |
| | | textureFormat: -1 |
| | | textureCompression: 0 |
| | | compressionQuality: 50 |
| | | crunchedCompression: 0 |
| | | allowsAlphaSplitting: 0 |
| | | overridden: 0 |
| | | ignorePlatformSupport: 0 |
| | | androidETC2FallbackOverride: 0 |
| | | forceMaximumCompressionQuality_BC6H_BC7: 0 |
| | | - serializedVersion: 3 |
| | | buildTarget: Standalone |
| | | maxTextureSize: 2048 |
| | | resizeAlgorithm: 0 |
| | | textureFormat: -1 |
| | | textureCompression: 1 |
| | | compressionQuality: 50 |
| | | crunchedCompression: 0 |
| | | allowsAlphaSplitting: 0 |
| | | overridden: 0 |
| | | ignorePlatformSupport: 0 |
| | | androidETC2FallbackOverride: 0 |
| | | forceMaximumCompressionQuality_BC6H_BC7: 0 |
| | | - serializedVersion: 3 |
| | | buildTarget: Server |
| | | maxTextureSize: 2048 |
| | | resizeAlgorithm: 0 |
| | | textureFormat: -1 |
| | | textureCompression: 1 |
| | | compressionQuality: 50 |
| | | crunchedCompression: 0 |
| | | allowsAlphaSplitting: 0 |
| | | overridden: 0 |
| | | ignorePlatformSupport: 0 |
| | | androidETC2FallbackOverride: 0 |
| | | forceMaximumCompressionQuality_BC6H_BC7: 0 |
| | | spriteSheet: |
| | | serializedVersion: 2 |
| | | sprites: [] |
| | | outline: [] |
| | | physicsShape: [] |
| | | bones: [] |
| | | spriteID: 5e97eb03825dee720800000000000000 |
| | | internalID: 0 |
| | | vertices: [] |
| | | indices: |
| | | edges: [] |
| | | weights: [] |
| | | secondaryTextures: [] |
| | | nameFileIdTable: {} |
| | | mipmapLimitGroupName: |
| | | pSDRemoveMatte: 0 |
| | | userData: |
| | | assetBundleName: |
| | | assetBundleVariant: |
New file |
| | |
| | | %YAML 1.1 |
| | | %TAG !u! tag:unity3d.com,2011: |
| | | --- !u!74 &7400000 |
| | | AnimationClip: |
| | | m_ObjectHideFlags: 0 |
| | | m_CorrespondingSourceObject: {fileID: 0} |
| | | m_PrefabInstance: {fileID: 0} |
| | | m_PrefabAsset: {fileID: 0} |
| | | m_Name: player_drill_down |
| | | serializedVersion: 7 |
| | | m_Legacy: 0 |
| | | m_Compressed: 0 |
| | | m_UseHighQualityCurve: 1 |
| | | m_RotationCurves: [] |
| | | m_CompressedRotationCurves: [] |
| | | m_EulerCurves: |
| | | - curve: |
| | | serializedVersion: 2 |
| | | m_Curve: |
| | | - serializedVersion: 3 |
| | | time: 0 |
| | | value: {x: 0, y: 0, z: 0} |
| | | inSlope: {x: 0, y: 0, z: 0} |
| | | outSlope: {x: 0, y: 0, z: 0} |
| | | tangentMode: 0 |
| | | weightedMode: 0 |
| | | inWeight: {x: 0.33333334, y: 0.33333334, z: 0.33333334} |
| | | outWeight: {x: 0.33333334, y: 0.33333334, z: 0.33333334} |
| | | - serializedVersion: 3 |
| | | time: 1 |
| | | value: {x: 0, y: 0, z: 980} |
| | | inSlope: {x: 0, y: 0, z: 0} |
| | | outSlope: {x: 0, y: 0, z: 0} |
| | | tangentMode: 0 |
| | | weightedMode: 0 |
| | | inWeight: {x: 0.33333334, y: 0.33333334, z: 0.33333334} |
| | | outWeight: {x: 0.33333334, y: 0.33333334, z: 0.33333334} |
| | | m_PreInfinity: 2 |
| | | m_PostInfinity: 2 |
| | | m_RotationOrder: 4 |
| | | path: Drill |
| | | m_PositionCurves: |
| | | - curve: |
| | | serializedVersion: 2 |
| | | m_Curve: |
| | | - serializedVersion: 3 |
| | | time: 0 |
| | | value: {x: 0, y: -0.4, z: 0} |
| | | inSlope: {x: 0, y: 0, z: 0} |
| | | outSlope: {x: 0, y: 0, z: 0} |
| | | tangentMode: 0 |
| | | weightedMode: 0 |
| | | inWeight: {x: 0.33333334, y: 0.33333334, z: 0.33333334} |
| | | outWeight: {x: 0.33333334, y: 0.33333334, z: 0.33333334} |
| | | - serializedVersion: 3 |
| | | time: 0.5 |
| | | value: {x: 0, y: -1, z: 0} |
| | | inSlope: {x: 0, y: 0, z: 0} |
| | | outSlope: {x: 0, y: 0, z: 0} |
| | | tangentMode: 0 |
| | | weightedMode: 0 |
| | | inWeight: {x: 0.33333334, y: 0.33333334, z: 0.33333334} |
| | | outWeight: {x: 0.33333334, y: 0.33333334, z: 0.33333334} |
| | | - serializedVersion: 3 |
| | | time: 1 |
| | | value: {x: 0, y: -0.4, z: 0} |
| | | inSlope: {x: 0, y: 0, z: 0} |
| | | outSlope: {x: 0, y: 0, z: 0} |
| | | tangentMode: 0 |
| | | weightedMode: 0 |
| | | inWeight: {x: 0.33333334, y: 0.33333334, z: 0.33333334} |
| | | outWeight: {x: 0.33333334, y: 0.33333334, z: 0.33333334} |
| | | m_PreInfinity: 2 |
| | | m_PostInfinity: 2 |
| | | m_RotationOrder: 4 |
| | | path: Drill |
| | | m_ScaleCurves: [] |
| | | m_FloatCurves: |
| | | - serializedVersion: 2 |
| | | curve: |
| | | serializedVersion: 2 |
| | | m_Curve: |
| | | - serializedVersion: 3 |
| | | time: 0 |
| | | value: 1 |
| | | inSlope: Infinity |
| | | outSlope: Infinity |
| | | tangentMode: 103 |
| | | weightedMode: 0 |
| | | inWeight: 0 |
| | | outWeight: 0 |
| | | - serializedVersion: 3 |
| | | time: 1 |
| | | value: 0 |
| | | inSlope: Infinity |
| | | outSlope: Infinity |
| | | tangentMode: 103 |
| | | weightedMode: 0 |
| | | inWeight: 0 |
| | | outWeight: 0 |
| | | m_PreInfinity: 2 |
| | | m_PostInfinity: 2 |
| | | m_RotationOrder: 4 |
| | | attribute: m_Enabled |
| | | path: Drill |
| | | classID: 212 |
| | | script: {fileID: 0} |
| | | flags: 0 |
| | | m_PPtrCurves: |
| | | - serializedVersion: 2 |
| | | curve: |
| | | - time: 0 |
| | | value: {fileID: 21300000, guid: 3e7d7385969bceb428fecc1b6408737f, type: 3} |
| | | - time: 1 |
| | | value: {fileID: -1443769575, guid: 9d524f9ef20ec3344a8c3468add5e772, type: 3} |
| | | attribute: m_Sprite |
| | | path: |
| | | classID: 212 |
| | | script: {fileID: 0} |
| | | flags: 2 |
| | | m_SampleRate: 4 |
| | | m_WrapMode: 0 |
| | | m_Bounds: |
| | | m_Center: {x: 0, y: 0, z: 0} |
| | | m_Extent: {x: 0, y: 0, z: 0} |
| | | m_ClipBindingConstant: |
| | | genericBindings: |
| | | - serializedVersion: 2 |
| | | path: 1613601012 |
| | | attribute: 1 |
| | | script: {fileID: 0} |
| | | typeID: 4 |
| | | customType: 0 |
| | | isPPtrCurve: 0 |
| | | isIntCurve: 0 |
| | | isSerializeReferenceCurve: 0 |
| | | - serializedVersion: 2 |
| | | path: 1613601012 |
| | | attribute: 4 |
| | | script: {fileID: 0} |
| | | typeID: 4 |
| | | customType: 4 |
| | | isPPtrCurve: 0 |
| | | isIntCurve: 0 |
| | | isSerializeReferenceCurve: 0 |
| | | - serializedVersion: 2 |
| | | path: 1613601012 |
| | | attribute: 3305885265 |
| | | script: {fileID: 0} |
| | | typeID: 212 |
| | | customType: 0 |
| | | isPPtrCurve: 0 |
| | | isIntCurve: 0 |
| | | isSerializeReferenceCurve: 0 |
| | | - serializedVersion: 2 |
| | | path: 0 |
| | | attribute: 0 |
| | | script: {fileID: 0} |
| | | typeID: 212 |
| | | customType: 23 |
| | | isPPtrCurve: 1 |
| | | isIntCurve: 0 |
| | | isSerializeReferenceCurve: 0 |
| | | pptrCurveMapping: |
| | | - {fileID: 21300000, guid: 3e7d7385969bceb428fecc1b6408737f, type: 3} |
| | | - {fileID: -1443769575, guid: 9d524f9ef20ec3344a8c3468add5e772, type: 3} |
| | | m_AnimationClipSettings: |
| | | serializedVersion: 2 |
| | | m_AdditiveReferencePoseClip: {fileID: 0} |
| | | m_AdditiveReferencePoseTime: 0 |
| | | m_StartTime: 0 |
| | | m_StopTime: 1.25 |
| | | m_OrientationOffsetY: 0 |
| | | m_Level: 0 |
| | | m_CycleOffset: 0 |
| | | m_HasAdditiveReferencePose: 0 |
| | | m_LoopTime: 0 |
| | | m_LoopBlend: 0 |
| | | m_LoopBlendOrientation: 0 |
| | | m_LoopBlendPositionY: 0 |
| | | m_LoopBlendPositionXZ: 0 |
| | | m_KeepOriginalOrientation: 0 |
| | | m_KeepOriginalPositionY: 1 |
| | | m_KeepOriginalPositionXZ: 0 |
| | | m_HeightFromFeet: 0 |
| | | m_Mirror: 0 |
| | | m_EditorCurves: |
| | | - serializedVersion: 2 |
| | | curve: |
| | | serializedVersion: 2 |
| | | m_Curve: |
| | | - serializedVersion: 3 |
| | | time: 0 |
| | | value: -0.4 |
| | | inSlope: 0 |
| | | outSlope: 0 |
| | | tangentMode: 136 |
| | | weightedMode: 0 |
| | | inWeight: 0.33333334 |
| | | outWeight: 0.33333334 |
| | | - serializedVersion: 3 |
| | | time: 0.5 |
| | | value: -1 |
| | | inSlope: 0 |
| | | outSlope: 0 |
| | | tangentMode: 136 |
| | | weightedMode: 0 |
| | | inWeight: 0.33333334 |
| | | outWeight: 0.33333334 |
| | | - serializedVersion: 3 |
| | | time: 1 |
| | | value: -0.4 |
| | | inSlope: 0 |
| | | outSlope: 0 |
| | | tangentMode: 136 |
| | | weightedMode: 0 |
| | | inWeight: 0.33333334 |
| | | outWeight: 0.33333334 |
| | | m_PreInfinity: 2 |
| | | m_PostInfinity: 2 |
| | | m_RotationOrder: 4 |
| | | attribute: m_LocalPosition.y |
| | | path: Drill |
| | | classID: 4 |
| | | script: {fileID: 0} |
| | | flags: 0 |
| | | - serializedVersion: 2 |
| | | curve: |
| | | serializedVersion: 2 |
| | | m_Curve: |
| | | - serializedVersion: 3 |
| | | time: 0 |
| | | value: 0 |
| | | inSlope: 0 |
| | | outSlope: 0 |
| | | tangentMode: 136 |
| | | weightedMode: 0 |
| | | inWeight: 0.33333334 |
| | | outWeight: 0.33333334 |
| | | m_PreInfinity: 2 |
| | | m_PostInfinity: 2 |
| | | m_RotationOrder: 4 |
| | | attribute: localEulerAnglesRaw.x |
| | | path: Drill |
| | | classID: 4 |
| | | script: {fileID: 0} |
| | | flags: 16 |
| | | - serializedVersion: 2 |
| | | curve: |
| | | serializedVersion: 2 |
| | | m_Curve: |
| | | - serializedVersion: 3 |
| | | time: 0 |
| | | value: 0 |
| | | inSlope: 0 |
| | | outSlope: 0 |
| | | tangentMode: 136 |
| | | weightedMode: 0 |
| | | inWeight: 0.33333334 |
| | | outWeight: 0.33333334 |
| | | m_PreInfinity: 2 |
| | | m_PostInfinity: 2 |
| | | m_RotationOrder: 4 |
| | | attribute: localEulerAnglesRaw.y |
| | | path: Drill |
| | | classID: 4 |
| | | script: {fileID: 0} |
| | | flags: 16 |
| | | - serializedVersion: 2 |
| | | curve: |
| | | serializedVersion: 2 |
| | | m_Curve: |
| | | - serializedVersion: 3 |
| | | time: 0 |
| | | value: 0 |
| | | inSlope: 0 |
| | | outSlope: 0 |
| | | tangentMode: 136 |
| | | weightedMode: 0 |
| | | inWeight: 0.33333334 |
| | | outWeight: 0.33333334 |
| | | - serializedVersion: 3 |
| | | time: 1 |
| | | value: 980 |
| | | inSlope: 0 |
| | | outSlope: 0 |
| | | tangentMode: 136 |
| | | weightedMode: 0 |
| | | inWeight: 0.33333334 |
| | | outWeight: 0.33333334 |
| | | m_PreInfinity: 2 |
| | | m_PostInfinity: 2 |
| | | m_RotationOrder: 4 |
| | | attribute: localEulerAnglesRaw.z |
| | | path: Drill |
| | | classID: 4 |
| | | script: {fileID: 0} |
| | | flags: 16 |
| | | - serializedVersion: 2 |
| | | curve: |
| | | serializedVersion: 2 |
| | | m_Curve: |
| | | - serializedVersion: 3 |
| | | time: 0 |
| | | value: 1 |
| | | inSlope: Infinity |
| | | outSlope: Infinity |
| | | tangentMode: 103 |
| | | weightedMode: 0 |
| | | inWeight: 0 |
| | | outWeight: 0 |
| | | - serializedVersion: 3 |
| | | time: 1 |
| | | value: 0 |
| | | inSlope: Infinity |
| | | outSlope: Infinity |
| | | tangentMode: 103 |
| | | weightedMode: 0 |
| | | inWeight: 0 |
| | | outWeight: 0 |
| | | m_PreInfinity: 2 |
| | | m_PostInfinity: 2 |
| | | m_RotationOrder: 4 |
| | | attribute: m_Enabled |
| | | path: Drill |
| | | classID: 212 |
| | | script: {fileID: 0} |
| | | flags: 0 |
| | | m_EulerEditorCurves: |
| | | - serializedVersion: 2 |
| | | curve: |
| | | serializedVersion: 2 |
| | | m_Curve: [] |
| | | m_PreInfinity: 2 |
| | | m_PostInfinity: 2 |
| | | m_RotationOrder: 4 |
| | | attribute: m_LocalEulerAngles.x |
| | | path: Drill |
| | | classID: 4 |
| | | script: {fileID: 0} |
| | | flags: 0 |
| | | - serializedVersion: 2 |
| | | curve: |
| | | serializedVersion: 2 |
| | | m_Curve: [] |
| | | m_PreInfinity: 2 |
| | | m_PostInfinity: 2 |
| | | m_RotationOrder: 4 |
| | | attribute: m_LocalEulerAngles.y |
| | | path: Drill |
| | | classID: 4 |
| | | script: {fileID: 0} |
| | | flags: 0 |
| | | - serializedVersion: 2 |
| | | curve: |
| | | serializedVersion: 2 |
| | | m_Curve: [] |
| | | m_PreInfinity: 2 |
| | | m_PostInfinity: 2 |
| | | m_RotationOrder: 4 |
| | | attribute: m_LocalEulerAngles.z |
| | | path: Drill |
| | | classID: 4 |
| | | script: {fileID: 0} |
| | | flags: 0 |
| | | m_HasGenericRootTransform: 0 |
| | | m_HasMotionFloatCurves: 0 |
| | | m_Events: [] |
New file |
| | |
| | | fileFormatVersion: 2 |
| | | guid: a4c9d5891f899de4bbc6fdeeb999ecae |
| | | NativeFormatImporter: |
| | | externalObjects: {} |
| | | mainObjectFileID: 7400000 |
| | | userData: |
| | | assetBundleName: |
| | | assetBundleVariant: |
New file |
| | |
| | | %YAML 1.1 |
| | | %TAG !u! tag:unity3d.com,2011: |
| | | --- !u!74 &7400000 |
| | | AnimationClip: |
| | | m_ObjectHideFlags: 0 |
| | | m_CorrespondingSourceObject: {fileID: 0} |
| | | m_PrefabInstance: {fileID: 0} |
| | | m_PrefabAsset: {fileID: 0} |
| | | m_Name: player_drill_left_right |
| | | serializedVersion: 7 |
| | | m_Legacy: 0 |
| | | m_Compressed: 0 |
| | | m_UseHighQualityCurve: 1 |
| | | m_RotationCurves: [] |
| | | m_CompressedRotationCurves: [] |
| | | m_EulerCurves: |
| | | - curve: |
| | | serializedVersion: 2 |
| | | m_Curve: |
| | | - serializedVersion: 3 |
| | | time: 0 |
| | | value: {x: 0, y: 0, z: 0} |
| | | inSlope: {x: 0, y: 0, z: 0} |
| | | outSlope: {x: 0, y: 0, z: 0} |
| | | tangentMode: 0 |
| | | weightedMode: 0 |
| | | inWeight: {x: 0.33333334, y: 0.33333334, z: 0.33333334} |
| | | outWeight: {x: 0.33333334, y: 0.33333334, z: 0.33333334} |
| | | - serializedVersion: 3 |
| | | time: 1 |
| | | value: {x: 0, y: 0, z: 980} |
| | | inSlope: {x: 0, y: 0, z: 0} |
| | | outSlope: {x: 0, y: 0, z: 0} |
| | | tangentMode: 0 |
| | | weightedMode: 0 |
| | | inWeight: {x: 0.33333334, y: 0.33333334, z: 0.33333334} |
| | | outWeight: {x: 0.33333334, y: 0.33333334, z: 0.33333334} |
| | | m_PreInfinity: 2 |
| | | m_PostInfinity: 2 |
| | | m_RotationOrder: 4 |
| | | path: Drill |
| | | m_PositionCurves: |
| | | - curve: |
| | | serializedVersion: 2 |
| | | m_Curve: |
| | | - serializedVersion: 3 |
| | | time: 0 |
| | | value: {x: 0.4, y: 0, z: 0} |
| | | inSlope: {x: 0, y: 0, z: 0} |
| | | outSlope: {x: 0, y: 0, z: 0} |
| | | tangentMode: 0 |
| | | weightedMode: 0 |
| | | inWeight: {x: 0.33333334, y: 0.33333334, z: 0.33333334} |
| | | outWeight: {x: 0.33333334, y: 0.33333334, z: 0.33333334} |
| | | - serializedVersion: 3 |
| | | time: 0.25 |
| | | value: {x: 1, y: 0, z: 0} |
| | | inSlope: {x: 0, y: 0, z: 0} |
| | | outSlope: {x: 0, y: 0, z: 0} |
| | | tangentMode: 0 |
| | | weightedMode: 0 |
| | | inWeight: {x: 0.33333334, y: 0.33333334, z: 0.33333334} |
| | | outWeight: {x: 0.33333334, y: 0.33333334, z: 0.33333334} |
| | | - serializedVersion: 3 |
| | | time: 0.5 |
| | | value: {x: 1, y: 0, z: 0} |
| | | inSlope: {x: 0, y: 0, z: 0} |
| | | outSlope: {x: 0, y: 0, z: 0} |
| | | tangentMode: 0 |
| | | weightedMode: 0 |
| | | inWeight: {x: 0.33333334, y: 0.33333334, z: 0.33333334} |
| | | outWeight: {x: 0.33333334, y: 0.33333334, z: 0.33333334} |
| | | - serializedVersion: 3 |
| | | time: 0.75 |
| | | value: {x: 1, y: 0, z: 0} |
| | | inSlope: {x: 0, y: 0, z: 0} |
| | | outSlope: {x: 0, y: 0, z: 0} |
| | | tangentMode: 0 |
| | | weightedMode: 0 |
| | | inWeight: {x: 0.33333334, y: 0.33333334, z: 0.33333334} |
| | | outWeight: {x: 0.33333334, y: 0.33333334, z: 0.33333334} |
| | | - serializedVersion: 3 |
| | | time: 1 |
| | | value: {x: 0.4, y: 0, z: 0} |
| | | inSlope: {x: 0, y: 0, z: 0} |
| | | outSlope: {x: 0, y: 0, z: 0} |
| | | tangentMode: 0 |
| | | weightedMode: 0 |
| | | inWeight: {x: 0.33333334, y: 0.33333334, z: 0.33333334} |
| | | outWeight: {x: 0.33333334, y: 0.33333334, z: 0.33333334} |
| | | m_PreInfinity: 2 |
| | | m_PostInfinity: 2 |
| | | m_RotationOrder: 4 |
| | | path: Drill |
| | | m_ScaleCurves: [] |
| | | m_FloatCurves: |
| | | - serializedVersion: 2 |
| | | curve: |
| | | serializedVersion: 2 |
| | | m_Curve: |
| | | - serializedVersion: 3 |
| | | time: 0 |
| | | value: 1 |
| | | inSlope: Infinity |
| | | outSlope: Infinity |
| | | tangentMode: 103 |
| | | weightedMode: 0 |
| | | inWeight: 0 |
| | | outWeight: 0 |
| | | - serializedVersion: 3 |
| | | time: 1 |
| | | value: 0 |
| | | inSlope: Infinity |
| | | outSlope: Infinity |
| | | tangentMode: 103 |
| | | weightedMode: 0 |
| | | inWeight: 0 |
| | | outWeight: 0 |
| | | m_PreInfinity: 2 |
| | | m_PostInfinity: 2 |
| | | m_RotationOrder: 4 |
| | | attribute: m_Enabled |
| | | path: Drill |
| | | classID: 212 |
| | | script: {fileID: 0} |
| | | flags: 0 |
| | | m_PPtrCurves: |
| | | - serializedVersion: 2 |
| | | curve: |
| | | - time: 0 |
| | | value: {fileID: -1823273036, guid: 9d524f9ef20ec3344a8c3468add5e772, type: 3} |
| | | - time: 1 |
| | | value: {fileID: -1443769575, guid: 9d524f9ef20ec3344a8c3468add5e772, type: 3} |
| | | attribute: m_Sprite |
| | | path: |
| | | classID: 212 |
| | | script: {fileID: 0} |
| | | flags: 2 |
| | | m_SampleRate: 4 |
| | | m_WrapMode: 0 |
| | | m_Bounds: |
| | | m_Center: {x: 0, y: 0, z: 0} |
| | | m_Extent: {x: 0, y: 0, z: 0} |
| | | m_ClipBindingConstant: |
| | | genericBindings: |
| | | - serializedVersion: 2 |
| | | path: 1613601012 |
| | | attribute: 1 |
| | | script: {fileID: 0} |
| | | typeID: 4 |
| | | customType: 0 |
| | | isPPtrCurve: 0 |
| | | isIntCurve: 0 |
| | | isSerializeReferenceCurve: 0 |
| | | - serializedVersion: 2 |
| | | path: 1613601012 |
| | | attribute: 4 |
| | | script: {fileID: 0} |
| | | typeID: 4 |
| | | customType: 4 |
| | | isPPtrCurve: 0 |
| | | isIntCurve: 0 |
| | | isSerializeReferenceCurve: 0 |
| | | - serializedVersion: 2 |
| | | path: 1613601012 |
| | | attribute: 3305885265 |
| | | script: {fileID: 0} |
| | | typeID: 212 |
| | | customType: 0 |
| | | isPPtrCurve: 0 |
| | | isIntCurve: 0 |
| | | isSerializeReferenceCurve: 0 |
| | | - serializedVersion: 2 |
| | | path: 0 |
| | | attribute: 0 |
| | | script: {fileID: 0} |
| | | typeID: 212 |
| | | customType: 23 |
| | | isPPtrCurve: 1 |
| | | isIntCurve: 0 |
| | | isSerializeReferenceCurve: 0 |
| | | pptrCurveMapping: |
| | | - {fileID: -1823273036, guid: 9d524f9ef20ec3344a8c3468add5e772, type: 3} |
| | | - {fileID: -1443769575, guid: 9d524f9ef20ec3344a8c3468add5e772, type: 3} |
| | | m_AnimationClipSettings: |
| | | serializedVersion: 2 |
| | | m_AdditiveReferencePoseClip: {fileID: 0} |
| | | m_AdditiveReferencePoseTime: 0 |
| | | m_StartTime: 0 |
| | | m_StopTime: 1.25 |
| | | m_OrientationOffsetY: 0 |
| | | m_Level: 0 |
| | | m_CycleOffset: 0 |
| | | m_HasAdditiveReferencePose: 0 |
| | | m_LoopTime: 0 |
| | | m_LoopBlend: 0 |
| | | m_LoopBlendOrientation: 0 |
| | | m_LoopBlendPositionY: 0 |
| | | m_LoopBlendPositionXZ: 0 |
| | | m_KeepOriginalOrientation: 0 |
| | | m_KeepOriginalPositionY: 1 |
| | | m_KeepOriginalPositionXZ: 0 |
| | | m_HeightFromFeet: 0 |
| | | m_Mirror: 0 |
| | | m_EditorCurves: |
| | | - serializedVersion: 2 |
| | | curve: |
| | | serializedVersion: 2 |
| | | m_Curve: |
| | | - serializedVersion: 3 |
| | | time: 0 |
| | | value: 0.4 |
| | | inSlope: 0 |
| | | outSlope: 0 |
| | | tangentMode: 136 |
| | | weightedMode: 0 |
| | | inWeight: 0.33333334 |
| | | outWeight: 0.33333334 |
| | | - serializedVersion: 3 |
| | | time: 0.25 |
| | | value: 1 |
| | | inSlope: 0 |
| | | outSlope: 0 |
| | | tangentMode: 136 |
| | | weightedMode: 0 |
| | | inWeight: 0.33333334 |
| | | outWeight: 0.33333334 |
| | | - serializedVersion: 3 |
| | | time: 0.5 |
| | | value: 1 |
| | | inSlope: 0 |
| | | outSlope: 0 |
| | | tangentMode: 136 |
| | | weightedMode: 0 |
| | | inWeight: 0.33333334 |
| | | outWeight: 0.33333334 |
| | | - serializedVersion: 3 |
| | | time: 0.75 |
| | | value: 1 |
| | | inSlope: 0 |
| | | outSlope: 0 |
| | | tangentMode: 136 |
| | | weightedMode: 0 |
| | | inWeight: 0.33333334 |
| | | outWeight: 0.33333334 |
| | | - serializedVersion: 3 |
| | | time: 1 |
| | | value: 0.4 |
| | | inSlope: 0 |
| | | outSlope: 0 |
| | | tangentMode: 136 |
| | | weightedMode: 0 |
| | | inWeight: 0.33333334 |
| | | outWeight: 0.33333334 |
| | | m_PreInfinity: 2 |
| | | m_PostInfinity: 2 |
| | | m_RotationOrder: 4 |
| | | attribute: m_LocalPosition.x |
| | | path: Drill |
| | | classID: 4 |
| | | script: {fileID: 0} |
| | | flags: 0 |
| | | - serializedVersion: 2 |
| | | curve: |
| | | serializedVersion: 2 |
| | | m_Curve: |
| | | - serializedVersion: 3 |
| | | time: 0 |
| | | value: 0 |
| | | inSlope: 0 |
| | | outSlope: 0 |
| | | tangentMode: 136 |
| | | weightedMode: 0 |
| | | inWeight: 0.33333334 |
| | | outWeight: 0.33333334 |
| | | - serializedVersion: 3 |
| | | time: 0.5 |
| | | value: 0 |
| | | inSlope: 0 |
| | | outSlope: 0 |
| | | tangentMode: 136 |
| | | weightedMode: 0 |
| | | inWeight: 0.33333334 |
| | | outWeight: 0.33333334 |
| | | - serializedVersion: 3 |
| | | time: 1 |
| | | value: 0 |
| | | inSlope: 0 |
| | | outSlope: 0 |
| | | tangentMode: 136 |
| | | weightedMode: 0 |
| | | inWeight: 0.33333334 |
| | | outWeight: 0.33333334 |
| | | m_PreInfinity: 2 |
| | | m_PostInfinity: 2 |
| | | m_RotationOrder: 4 |
| | | attribute: m_LocalPosition.y |
| | | path: Drill |
| | | classID: 4 |
| | | script: {fileID: 0} |
| | | flags: 0 |
| | | - serializedVersion: 2 |
| | | curve: |
| | | serializedVersion: 2 |
| | | m_Curve: |
| | | - serializedVersion: 3 |
| | | time: 0 |
| | | value: 0 |
| | | inSlope: 0 |
| | | outSlope: 0 |
| | | tangentMode: 136 |
| | | weightedMode: 0 |
| | | inWeight: 0.33333334 |
| | | outWeight: 0.33333334 |
| | | - serializedVersion: 3 |
| | | time: 0.5 |
| | | value: 0 |
| | | inSlope: 0 |
| | | outSlope: 0 |
| | | tangentMode: 136 |
| | | weightedMode: 0 |
| | | inWeight: 0.33333334 |
| | | outWeight: 0.33333334 |
| | | - serializedVersion: 3 |
| | | time: 1 |
| | | value: 0 |
| | | inSlope: 0 |
| | | outSlope: 0 |
| | | tangentMode: 136 |
| | | weightedMode: 0 |
| | | inWeight: 0.33333334 |
| | | outWeight: 0.33333334 |
| | | m_PreInfinity: 2 |
| | | m_PostInfinity: 2 |
| | | m_RotationOrder: 4 |
| | | attribute: m_LocalPosition.z |
| | | path: Drill |
| | | classID: 4 |
| | | script: {fileID: 0} |
| | | flags: 0 |
| | | - serializedVersion: 2 |
| | | curve: |
| | | serializedVersion: 2 |
| | | m_Curve: |
| | | - serializedVersion: 3 |
| | | time: 0 |
| | | value: 0 |
| | | inSlope: 0 |
| | | outSlope: 0 |
| | | tangentMode: 136 |
| | | weightedMode: 0 |
| | | inWeight: 0.33333334 |
| | | outWeight: 0.33333334 |
| | | m_PreInfinity: 2 |
| | | m_PostInfinity: 2 |
| | | m_RotationOrder: 4 |
| | | attribute: localEulerAnglesRaw.x |
| | | path: Drill |
| | | classID: 4 |
| | | script: {fileID: 0} |
| | | flags: 16 |
| | | - serializedVersion: 2 |
| | | curve: |
| | | serializedVersion: 2 |
| | | m_Curve: |
| | | - serializedVersion: 3 |
| | | time: 0 |
| | | value: 0 |
| | | inSlope: 0 |
| | | outSlope: 0 |
| | | tangentMode: 136 |
| | | weightedMode: 0 |
| | | inWeight: 0.33333334 |
| | | outWeight: 0.33333334 |
| | | m_PreInfinity: 2 |
| | | m_PostInfinity: 2 |
| | | m_RotationOrder: 4 |
| | | attribute: localEulerAnglesRaw.y |
| | | path: Drill |
| | | classID: 4 |
| | | script: {fileID: 0} |
| | | flags: 16 |
| | | - serializedVersion: 2 |
| | | curve: |
| | | serializedVersion: 2 |
| | | m_Curve: |
| | | - serializedVersion: 3 |
| | | time: 0 |
| | | value: 0 |
| | | inSlope: 0 |
| | | outSlope: 0 |
| | | tangentMode: 136 |
| | | weightedMode: 0 |
| | | inWeight: 0.33333334 |
| | | outWeight: 0.33333334 |
| | | - serializedVersion: 3 |
| | | time: 1 |
| | | value: 980 |
| | | inSlope: 0 |
| | | outSlope: 0 |
| | | tangentMode: 136 |
| | | weightedMode: 0 |
| | | inWeight: 0.33333334 |
| | | outWeight: 0.33333334 |
| | | m_PreInfinity: 2 |
| | | m_PostInfinity: 2 |
| | | m_RotationOrder: 4 |
| | | attribute: localEulerAnglesRaw.z |
| | | path: Drill |
| | | classID: 4 |
| | | script: {fileID: 0} |
| | | flags: 16 |
| | | - serializedVersion: 2 |
| | | curve: |
| | | serializedVersion: 2 |
| | | m_Curve: |
| | | - serializedVersion: 3 |
| | | time: 0 |
| | | value: 1 |
| | | inSlope: Infinity |
| | | outSlope: Infinity |
| | | tangentMode: 103 |
| | | weightedMode: 0 |
| | | inWeight: 0 |
| | | outWeight: 0 |
| | | - serializedVersion: 3 |
| | | time: 1 |
| | | value: 0 |
| | | inSlope: Infinity |
| | | outSlope: Infinity |
| | | tangentMode: 103 |
| | | weightedMode: 0 |
| | | inWeight: 0 |
| | | outWeight: 0 |
| | | m_PreInfinity: 2 |
| | | m_PostInfinity: 2 |
| | | m_RotationOrder: 4 |
| | | attribute: m_Enabled |
| | | path: Drill |
| | | classID: 212 |
| | | script: {fileID: 0} |
| | | flags: 0 |
| | | m_EulerEditorCurves: |
| | | - serializedVersion: 2 |
| | | curve: |
| | | serializedVersion: 2 |
| | | m_Curve: [] |
| | | m_PreInfinity: 2 |
| | | m_PostInfinity: 2 |
| | | m_RotationOrder: 4 |
| | | attribute: m_LocalEulerAngles.x |
| | | path: Drill |
| | | classID: 4 |
| | | script: {fileID: 0} |
| | | flags: 0 |
| | | - serializedVersion: 2 |
| | | curve: |
| | | serializedVersion: 2 |
| | | m_Curve: [] |
| | | m_PreInfinity: 2 |
| | | m_PostInfinity: 2 |
| | | m_RotationOrder: 4 |
| | | attribute: m_LocalEulerAngles.y |
| | | path: Drill |
| | | classID: 4 |
| | | script: {fileID: 0} |
| | | flags: 0 |
| | | - serializedVersion: 2 |
| | | curve: |
| | | serializedVersion: 2 |
| | | m_Curve: [] |
| | | m_PreInfinity: 2 |
| | | m_PostInfinity: 2 |
| | | m_RotationOrder: 4 |
| | | attribute: m_LocalEulerAngles.z |
| | | path: Drill |
| | | classID: 4 |
| | | script: {fileID: 0} |
| | | flags: 0 |
| | | m_HasGenericRootTransform: 0 |
| | | m_HasMotionFloatCurves: 0 |
| | | m_Events: [] |
New file |
| | |
| | | fileFormatVersion: 2 |
| | | guid: c63f3597f33d4704fa6cc7f8bf2f82f5 |
| | | NativeFormatImporter: |
| | | externalObjects: {} |
| | | mainObjectFileID: 7400000 |
| | | userData: |
| | | assetBundleName: |
| | | assetBundleVariant: |
| | |
| | | m_PrefabAsset: {fileID: 0} |
| | | m_GameObject: {fileID: 1219825711} |
| | | m_CullTransparentMesh: 1 |
| | | --- !u!1 &1220293564 |
| | | GameObject: |
| | | m_ObjectHideFlags: 0 |
| | | m_CorrespondingSourceObject: {fileID: 0} |
| | | m_PrefabInstance: {fileID: 0} |
| | | m_PrefabAsset: {fileID: 0} |
| | | serializedVersion: 6 |
| | | m_Component: |
| | | - component: {fileID: 1220293565} |
| | | - component: {fileID: 1220293566} |
| | | m_Layer: 7 |
| | | m_Name: Drill |
| | | m_TagString: Untagged |
| | | m_Icon: {fileID: 0} |
| | | m_NavMeshLayer: 0 |
| | | m_StaticEditorFlags: 0 |
| | | m_IsActive: 1 |
| | | --- !u!4 &1220293565 |
| | | Transform: |
| | | m_ObjectHideFlags: 0 |
| | | m_CorrespondingSourceObject: {fileID: 0} |
| | | m_PrefabInstance: {fileID: 0} |
| | | m_PrefabAsset: {fileID: 0} |
| | | m_GameObject: {fileID: 1220293564} |
| | | serializedVersion: 2 |
| | | 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_ConstrainProportionsScale: 0 |
| | | m_Children: [] |
| | | m_Father: {fileID: 254538002} |
| | | m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} |
| | | --- !u!212 &1220293566 |
| | | SpriteRenderer: |
| | | m_ObjectHideFlags: 0 |
| | | m_CorrespondingSourceObject: {fileID: 0} |
| | | m_PrefabInstance: {fileID: 0} |
| | | m_PrefabAsset: {fileID: 0} |
| | | m_GameObject: {fileID: 1220293564} |
| | | m_Enabled: 0 |
| | | m_CastShadows: 0 |
| | | m_ReceiveShadows: 0 |
| | | m_DynamicOccludee: 1 |
| | | m_StaticShadowCaster: 0 |
| | | m_MotionVectors: 1 |
| | | m_LightProbeUsage: 1 |
| | | m_ReflectionProbeUsage: 1 |
| | | m_RayTracingMode: 0 |
| | | m_RayTraceProcedural: 0 |
| | | m_RenderingLayerMask: 1 |
| | | m_RendererPriority: 0 |
| | | m_Materials: |
| | | - {fileID: 2100000, guid: a97c105638bdf8b4a8650670310a4cd3, type: 2} |
| | | m_StaticBatchInfo: |
| | | firstSubMesh: 0 |
| | | subMeshCount: 0 |
| | | m_StaticBatchRoot: {fileID: 0} |
| | | m_ProbeAnchor: {fileID: 0} |
| | | m_LightProbeVolumeOverride: {fileID: 0} |
| | | m_ScaleInLightmap: 1 |
| | | m_ReceiveGI: 1 |
| | | m_PreserveUVs: 0 |
| | | m_IgnoreNormalsForChartDetection: 0 |
| | | m_ImportantGI: 0 |
| | | m_StitchLightmapSeams: 1 |
| | | m_SelectedEditorRenderState: 0 |
| | | m_MinimumChartSize: 4 |
| | | m_AutoUVMaxDistance: 0.5 |
| | | m_AutoUVMaxAngle: 89 |
| | | m_LightmapParameters: {fileID: 0} |
| | | m_SortingLayerID: 0 |
| | | m_SortingLayer: 0 |
| | | m_SortingOrder: 0 |
| | | m_Sprite: {fileID: 21300000, guid: 9b63dee9d78a1b44e9d4f8d91e41057e, type: 3} |
| | | m_Color: {r: 1, g: 1, b: 1, a: 1} |
| | | m_FlipX: 0 |
| | | m_FlipY: 0 |
| | | m_DrawMode: 0 |
| | | m_Size: {x: 1, y: 1} |
| | | m_AdaptiveModeThreshold: 0.5 |
| | | m_SpriteTileMode: 0 |
| | | m_WasSpriteAssigned: 1 |
| | | m_MaskInteraction: 0 |
| | | m_SpriteSortPoint: 0 |
| | | --- !u!1 &1235149190 |
| | | GameObject: |
| | | m_ObjectHideFlags: 0 |
| | |
| | | objectReference: {fileID: 0} |
| | | m_RemovedComponents: [] |
| | | m_RemovedGameObjects: [] |
| | | m_AddedGameObjects: [] |
| | | m_AddedGameObjects: |
| | | - targetCorrespondingSourceObject: {fileID: 2368348636056148999, guid: c220ec455fce341408d66d880b464cad, type: 3} |
| | | insertIndex: -1 |
| | | addedObject: {fileID: 1220293565} |
| | | m_AddedComponents: [] |
| | | m_SourcePrefab: {fileID: 100100000, guid: c220ec455fce341408d66d880b464cad, type: 3} |
| | | --- !u!1660057539 &9223372036854775807 |
| | |
| | | { |
| | | internal static string isMoving = "IsMoving"; |
| | | internal static string isFlying = "IsFlying"; |
| | | public static string isDrillingLeftRight = "IsDrillingLeftRight"; |
| | | public static string isDrillingDown = "IsDrillingDown"; |
| | | public static string timeToDrill = "TimeToDrill"; |
| | | |
| | | internal static string isGrounded = "IsGrounded"; |
| | | |
| | |
| | | TouchingDirections touchingDirections; |
| | | |
| | | // Time it takes to drill |
| | | public float drillingTime = 1f; |
| | | private float drillingTime = 1f; |
| | | private float timeSinceDrill = 0f; |
| | | private bool drillToPosition; |
| | | private Vector3 drillTilePosition; |
| | | private Vector3 drillOriginalPosition; |
| | | |
| | | |
| | | [SerializeField] |
| | | private bool _isMoving; |
| | | public bool IsMoving |
| | |
| | | animator_rotor.SetBool(AnimationStrings.Player.isFlying, value); |
| | | } |
| | | } |
| | | [SerializeField] |
| | | private bool _isDrilling; |
| | | public bool IsDrilling |
| | | { |
| | | get { return _isDrilling; } |
| | | get { return IsDrillingDown || IsDrillingLeftRight; } |
| | | set |
| | | { |
| | | _isDrilling = value; |
| | | //animator.SetBool(AnimationStrings.Player.isDrilling, value); |
| | | if (value) |
| | | { |
| | | Debug.Assert(false, "Can't set IsDrilling this way, use IsDrillingLeftRight or IsDrillingDown!"); |
| | | } |
| | | if (IsDrillingDown) |
| | | { |
| | | IsDrillingDown = false; |
| | | } |
| | | if (IsDrillingLeftRight) |
| | | { |
| | | IsDrillingLeftRight = false; |
| | | } |
| | | } |
| | | } |
| | | [SerializeField] |
| | | private bool _isDrillingLeftRight; |
| | | public bool IsDrillingLeftRight |
| | | { |
| | | get { return _isDrillingLeftRight; } |
| | | set |
| | | { |
| | | _isDrillingLeftRight = value; |
| | | animator.SetBool(AnimationStrings.Player.isDrillingLeftRight, value); |
| | | animator_rotor.SetBool(AnimationStrings.Player.isFlying, false); |
| | | if (value) |
| | | { |
| | | animator.speed = 1 / drillingTime; |
| | | } |
| | | else |
| | | { |
| | | animator.speed = 1f; |
| | | } |
| | | } |
| | | } |
| | | [SerializeField] |
| | | private bool _isDrillingDown; |
| | | public bool IsDrillingDown |
| | | { |
| | | get { return _isDrillingDown; } |
| | | set |
| | | { |
| | | _isDrillingDown = value; |
| | | animator.SetBool(AnimationStrings.Player.isDrillingDown, value); |
| | | animator_rotor.SetBool(AnimationStrings.Player.isFlying, false); |
| | | if (value) |
| | | { |
| | | animator.speed = 1 / drillingTime; |
| | | } |
| | | else |
| | | { |
| | | animator.speed = 1f; |
| | | } |
| | | } |
| | | } |
| | | |
| | |
| | | case DrillDirection.Down: |
| | | touchingDirections.groundHits[0].collider.GetContacts(contactPoints); |
| | | break; |
| | | default: |
| | | Debug.Assert(false, "Add DrillDirection here!"); |
| | | break; |
| | | } |
| | | //Debug.Log(contactPoints[0].otherRigidbody?.gameObject.name); |
| | | if (contactPoints[0].otherRigidbody?.name == "Tilemap") |
| | | { |
| | | boxCollider.enabled = false; |
| | | IsDrilling = true; |
| | | switch (drillDirection) |
| | | { |
| | | case DrillDirection.Left: |
| | | case DrillDirection.Right: |
| | | IsDrillingLeftRight = true; |
| | | break; |
| | | case DrillDirection.Down: |
| | | IsDrillingDown = true; |
| | | break; |
| | | default: |
| | | Debug.Assert(false, "Add DrillDirection here!"); |
| | | break; |
| | | } |
| | | CharacterEvents.characterDrill.Invoke(contactPoints[0], drillDirection); |
| | | } |
| | | } |
| | |
| | | |
| | | |
| | | NEXT |
| | | Animate drilling |
| | | Add drillable gameobject to tiles |
| | | Add borders to map |
| | | Add background to map |
| | | |