trotFunky
42706712aa
Fixed abstract character not depleting energy when reaching zero Created prefabs for player and enemy bullets Added physics layers for players and enemies
160 lines
4.5 KiB
Text
160 lines
4.5 KiB
Text
%YAML 1.1
|
|
%TAG !u! tag:unity3d.com,2011:
|
|
--- !u!1 &2690590977808455807
|
|
GameObject:
|
|
m_ObjectHideFlags: 0
|
|
m_CorrespondingSourceObject: {fileID: 0}
|
|
m_PrefabInstance: {fileID: 0}
|
|
m_PrefabAsset: {fileID: 0}
|
|
serializedVersion: 6
|
|
m_Component:
|
|
- component: {fileID: 2690590977808455801}
|
|
- component: {fileID: 2690590977808455806}
|
|
- component: {fileID: 2690590977808455800}
|
|
- component: {fileID: 2690590977808455797}
|
|
- component: {fileID: 2690590977808455802}
|
|
- component: {fileID: 2690590977808455803}
|
|
- component: {fileID: 2690590977808455796}
|
|
m_Layer: 8
|
|
m_Name: Player
|
|
m_TagString: Untagged
|
|
m_Icon: {fileID: 0}
|
|
m_NavMeshLayer: 0
|
|
m_StaticEditorFlags: 0
|
|
m_IsActive: 1
|
|
--- !u!4 &2690590977808455801
|
|
Transform:
|
|
m_ObjectHideFlags: 0
|
|
m_CorrespondingSourceObject: {fileID: 0}
|
|
m_PrefabInstance: {fileID: 0}
|
|
m_PrefabAsset: {fileID: 0}
|
|
m_GameObject: {fileID: 2690590977808455807}
|
|
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
|
|
m_LocalPosition: {x: 0.051522817, y: -0.05536398, z: -0.18232574}
|
|
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 &2690590977808455806
|
|
SpriteRenderer:
|
|
m_ObjectHideFlags: 0
|
|
m_CorrespondingSourceObject: {fileID: 0}
|
|
m_PrefabInstance: {fileID: 0}
|
|
m_PrefabAsset: {fileID: 0}
|
|
m_GameObject: {fileID: 2690590977808455807}
|
|
m_Enabled: 1
|
|
m_CastShadows: 0
|
|
m_ReceiveShadows: 0
|
|
m_DynamicOccludee: 1
|
|
m_MotionVectors: 1
|
|
m_LightProbeUsage: 1
|
|
m_ReflectionProbeUsage: 1
|
|
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: 21300000, guid: 1fe77f169e8b4289c95cae0cff058bee, type: 3}
|
|
m_Color: {r: 1, g: 1, b: 1, a: 1}
|
|
m_FlipX: 0
|
|
m_FlipY: 0
|
|
m_DrawMode: 0
|
|
m_Size: {x: 0.1, y: 0.1}
|
|
m_AdaptiveModeThreshold: 0.5
|
|
m_SpriteTileMode: 0
|
|
m_WasSpriteAssigned: 1
|
|
m_MaskInteraction: 0
|
|
m_SpriteSortPoint: 0
|
|
--- !u!58 &2690590977808455800
|
|
CircleCollider2D:
|
|
m_ObjectHideFlags: 0
|
|
m_CorrespondingSourceObject: {fileID: 0}
|
|
m_PrefabInstance: {fileID: 0}
|
|
m_PrefabAsset: {fileID: 0}
|
|
m_GameObject: {fileID: 2690590977808455807}
|
|
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}
|
|
serializedVersion: 2
|
|
m_Radius: 0.25
|
|
--- !u!114 &2690590977808455797
|
|
MonoBehaviour:
|
|
m_ObjectHideFlags: 0
|
|
m_CorrespondingSourceObject: {fileID: 0}
|
|
m_PrefabInstance: {fileID: 0}
|
|
m_PrefabAsset: {fileID: 0}
|
|
m_GameObject: {fileID: 2690590977808455807}
|
|
m_Enabled: 1
|
|
m_EditorHideFlags: 0
|
|
m_Script: {fileID: 11500000, guid: 35183fd85dde156de82c2af47fea6156, type: 3}
|
|
m_Name:
|
|
m_EditorClassIdentifier:
|
|
_maxSpeed: 7
|
|
_maxHealth: 3
|
|
_maxEnergy: 100
|
|
_energyRegen: 20
|
|
--- !u!114 &2690590977808455802
|
|
MonoBehaviour:
|
|
m_ObjectHideFlags: 0
|
|
m_CorrespondingSourceObject: {fileID: 0}
|
|
m_PrefabInstance: {fileID: 0}
|
|
m_PrefabAsset: {fileID: 0}
|
|
m_GameObject: {fileID: 2690590977808455807}
|
|
m_Enabled: 1
|
|
m_EditorHideFlags: 0
|
|
m_Script: {fileID: 11500000, guid: 8d0d4226322cf15c8b3f89217d9b1c66, type: 3}
|
|
m_Name:
|
|
m_EditorClassIdentifier:
|
|
--- !u!114 &2690590977808455803
|
|
MonoBehaviour:
|
|
m_ObjectHideFlags: 0
|
|
m_CorrespondingSourceObject: {fileID: 0}
|
|
m_PrefabInstance: {fileID: 0}
|
|
m_PrefabAsset: {fileID: 0}
|
|
m_GameObject: {fileID: 2690590977808455807}
|
|
m_Enabled: 1
|
|
m_EditorHideFlags: 0
|
|
m_Script: {fileID: 11500000, guid: 2a3ed7cf697d2bd43836d1b20c50008e, type: 3}
|
|
m_Name:
|
|
m_EditorClassIdentifier:
|
|
--- !u!114 &2690590977808455796
|
|
MonoBehaviour:
|
|
m_ObjectHideFlags: 0
|
|
m_CorrespondingSourceObject: {fileID: 0}
|
|
m_PrefabInstance: {fileID: 0}
|
|
m_PrefabAsset: {fileID: 0}
|
|
m_GameObject: {fileID: 2690590977808455807}
|
|
m_Enabled: 1
|
|
m_EditorHideFlags: 0
|
|
m_Script: {fileID: 11500000, guid: 61bf45c54c3d922598ce965db2dc869c, type: 3}
|
|
m_Name:
|
|
m_EditorClassIdentifier:
|
|
_energyCost: 10
|
|
_shotsPerSecond: 2
|
|
_bullet: {fileID: 4369719273071165554, guid: 5dcbc4e2919ffde8a9d89514fd293e8e, type: 3}
|
|
_direction: {x: 1, y: 0}
|
|
_offset: {x: 1, y: 0}
|