proto_platformer/Assets/Prefab/Player.prefab

222 lines
5.7 KiB
Plaintext

%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!1 &9204008304508852171
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 9204008304508852167}
- component: {fileID: 9204008304508852168}
- component: {fileID: 9204008304508852169}
- component: {fileID: 9204008304508852170}
- component: {fileID: 9204008304508852166}
m_Layer: 0
m_Name: Player
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!4 &9204008304508852167
Transform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 9204008304508852171}
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: -3.77, y: 0, z: 0}
m_LocalScale: {x: 1, y: 1, z: 1}
m_Children: []
m_Father: {fileID: 0}
m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!212 &9204008304508852168
SpriteRenderer:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 9204008304508852171}
m_Enabled: 1
m_CastShadows: 0
m_ReceiveShadows: 0
m_DynamicOccludee: 1
m_MotionVectors: 1
m_LightProbeUsage: 1
m_ReflectionProbeUsage: 1
m_RayTracingMode: 0
m_RayTraceProcedural: 0
m_RenderingLayerMask: 1
m_RendererPriority: 0
m_Materials:
- {fileID: 10754, guid: 0000000000000000f000000000000000, type: 0}
m_StaticBatchInfo:
firstSubMesh: 0
subMeshCount: 0
m_StaticBatchRoot: {fileID: 0}
m_ProbeAnchor: {fileID: 0}
m_LightProbeVolumeOverride: {fileID: 0}
m_ScaleInLightmap: 1
m_ReceiveGI: 1
m_PreserveUVs: 0
m_IgnoreNormalsForChartDetection: 0
m_ImportantGI: 0
m_StitchLightmapSeams: 1
m_SelectedEditorRenderState: 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: -1114672025921173991, guid: f04b8998e68c0d44fb8fcdab13b6a653, 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!50 &9204008304508852169
Rigidbody2D:
serializedVersion: 4
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 9204008304508852171}
m_BodyType: 0
m_Simulated: 1
m_UseFullKinematicContacts: 0
m_UseAutoMass: 0
m_Mass: 1
m_LinearDrag: 0
m_AngularDrag: 0.05
m_GravityScale: 1
m_Material: {fileID: 0}
m_Interpolate: 0
m_SleepingMode: 1
m_CollisionDetection: 0
m_Constraints: 4
--- !u!61 &9204008304508852170
BoxCollider2D:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 9204008304508852171}
m_Enabled: 1
m_Density: 1
m_Material: {fileID: 0}
m_IsTrigger: 0
m_UsedByEffector: 0
m_UsedByComposite: 0
m_Offset: {x: 0, y: 0}
m_SpriteTilingProperty:
border: {x: 0, y: 0, z: 0, w: 0}
pivot: {x: 0.5, y: 0.5}
oldSize: {x: 0.515625, y: 0.71875}
newSize: {x: 1, y: 1}
adaptiveTilingThreshold: 0.5
drawMode: 0
adaptiveTiling: 0
m_AutoTiling: 0
serializedVersion: 2
m_Size: {x: 0.52, y: 0.73}
m_EdgeRadius: 0
--- !u!114 &9204008304508852166
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 9204008304508852171}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: f9ab11c194f655f44b082c0f0b9a81e1, type: 3}
m_Name:
m_EditorClassIdentifier:
movement:
m_Name: Movement
m_Type: 0
m_ExpectedControlType:
m_Id: d607f416-d03c-4c2a-9f38-bb804234cd16
m_Processors:
m_Interactions:
m_SingletonActionBindings:
- m_Name: 1D Axis
m_Id: f1cea0fe-af04-4d31-84a1-474c096a2c8f
m_Path: 1DAxis
m_Interactions:
m_Processors:
m_Groups:
m_Action: Movement
m_Flags: 4
- m_Name: negative
m_Id: 9cc96e1b-96e9-4d23-9571-e0a261c1203b
m_Path: <Keyboard>/a
m_Interactions:
m_Processors:
m_Groups:
m_Action: Movement
m_Flags: 8
- m_Name: positive
m_Id: 9db82bac-b081-437c-9ad9-1521cd91ab6d
m_Path: <Keyboard>/d
m_Interactions:
m_Processors:
m_Groups:
m_Action: Movement
m_Flags: 8
- m_Name: Arrows
m_Id: 036f3662-fce7-447c-ae4a-cf96aea897c7
m_Path: 1DAxis
m_Interactions:
m_Processors:
m_Groups:
m_Action: Movement
m_Flags: 4
- m_Name: negative
m_Id: 1a6b161f-b5ab-4b3d-a3be-1f093787dc2c
m_Path: <Keyboard>/leftArrow
m_Interactions:
m_Processors:
m_Groups:
m_Action: Movement
m_Flags: 8
- m_Name: positive
m_Id: 7953340f-7a80-4a7b-9687-831ab910aa57
m_Path: <Keyboard>/rightArrow
m_Interactions:
m_Processors:
m_Groups:
m_Action: Movement
m_Flags: 8
jump:
m_Name: Jump
m_Type: 0
m_ExpectedControlType:
m_Id: 98cdd24e-ff6a-401b-8804-98198eb5588b
m_Processors:
m_Interactions:
m_SingletonActionBindings:
- m_Name:
m_Id: 0fab1c0b-e3e8-4f70-b5ad-0ec0995e7333
m_Path: <Keyboard>/space
m_Interactions:
m_Processors:
m_Groups:
m_Action: Jump
m_Flags: 0
speed: 4
jumpHeight: 2
jumpDuration: 0.5