proto_racer/Assets/Prefabs/Car.prefab

211 lines
5.4 KiB
Plaintext

%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!1 &2407173318615250642
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 2407173318615250604}
- component: {fileID: 2407173318615250643}
- component: {fileID: 2407173318615250606}
- component: {fileID: 2407173318615250605}
m_Layer: 0
m_Name: Car
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!4 &2407173318615250604
Transform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 2407173318615250642}
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: 0.6622988, y: 0.4244005, 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 &2407173318615250643
SpriteRenderer:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 2407173318615250642}
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: 1
m_Sprite: {fileID: 6146169214796751205, guid: bde5597b9bad81342bec933186533148, 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 &2407173318615250606
Rigidbody2D:
serializedVersion: 4
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 2407173318615250642}
m_BodyType: 0
m_Simulated: 1
m_UseFullKinematicContacts: 0
m_UseAutoMass: 0
m_Mass: 1
m_LinearDrag: 0.2
m_AngularDrag: 0.05
m_GravityScale: 0
m_Material: {fileID: 0}
m_Interpolate: 0
m_SleepingMode: 1
m_CollisionDetection: 1
m_Constraints: 0
--- !u!114 &2407173318615250605
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 2407173318615250642}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: d73a8141f49460f4c834eabcc50990eb, type: 3}
m_Name:
m_EditorClassIdentifier:
steeringAction:
m_Name: Steering
m_Type: 0
m_ExpectedControlType: Axis
m_Id: a8bd99d9-5d9b-4a7a-9dde-632c3c946bed
m_Processors:
m_Interactions:
m_SingletonActionBindings:
- m_Name:
m_Id: 358b0547-7185-4716-bddc-48ea2089616f
m_Path: <Gamepad>/leftStick/x
m_Interactions:
m_Processors:
m_Groups:
m_Action: Steering
m_Flags: 0
- m_Name: Keyboard
m_Id: 35624d35-d062-4607-a136-34f2d44e9160
m_Path: 1DAxis
m_Interactions:
m_Processors:
m_Groups:
m_Action: Steering
m_Flags: 4
- m_Name: negative
m_Id: a87dca41-74e6-4af8-acb2-6c579d199599
m_Path: <Keyboard>/d
m_Interactions:
m_Processors:
m_Groups:
m_Action: Steering
m_Flags: 8
- m_Name: positive
m_Id: 16798bdf-07f3-43c0-8e7a-e271264d1e7d
m_Path: <Keyboard>/a
m_Interactions:
m_Processors:
m_Groups:
m_Action: Steering
m_Flags: 8
accelerationAction:
m_Name: Acceleration
m_Type: 0
m_ExpectedControlType: Axis
m_Id: 839e2bbb-e675-44c9-a603-b5bcf67fb9c1
m_Processors:
m_Interactions:
m_SingletonActionBindings:
- m_Name:
m_Id: 36cd69a9-deeb-4926-804e-a8634f041bce
m_Path: <Gamepad>/rightTrigger
m_Interactions:
m_Processors:
m_Groups:
m_Action: Acceleration
m_Flags: 0
- m_Name:
m_Id: 85079dc2-1cd3-4d90-ae1d-0775436a0de1
m_Path: <Keyboard>/w
m_Interactions:
m_Processors:
m_Groups:
m_Action: Acceleration
m_Flags: 0
brakeAction:
m_Name: Brake
m_Type: 0
m_ExpectedControlType:
m_Id: d519b634-eb19-42c0-b401-37386d053e94
m_Processors:
m_Interactions:
m_SingletonActionBindings:
- m_Name:
m_Id: ac3701a7-1220-4220-aa6f-2fdfde4a93a6
m_Path: <Gamepad>/leftTrigger
m_Interactions:
m_Processors:
m_Groups:
m_Action: Brake
m_Flags: 0
- m_Name:
m_Id: 824c3e81-69f8-428a-8112-a53873764f90
m_Path: <Keyboard>/space
m_Interactions:
m_Processors:
m_Groups:
m_Action: Brake
m_Flags: 0
accelerationAmount: 1
steeringAnglePerSecond: 30
maxAcceleration: 5