3DTD/Assets/Prefabs/Enemies/Enemy.prefab

364 lines
12 KiB
Plaintext

%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!1 &95331384460172707
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 8711060493889635308}
- component: {fileID: 369596802107988542}
- component: {fileID: 8270377878650669399}
m_Layer: 0
m_Name: Enemy
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!4 &8711060493889635308
Transform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 95331384460172707}
serializedVersion: 2
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: 0, y: 0, z: 0}
m_LocalScale: {x: 5, y: 5, z: 5}
m_ConstrainProportionsScale: 1
m_Children:
- {fileID: 4199099976017055095}
m_Father: {fileID: 0}
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!114 &369596802107988542
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 95331384460172707}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 62293fbacde88045196dca1e291b5f23, type: 3}
m_Name:
m_EditorClassIdentifier:
startHealth: 100
OnHealthZero:
m_PersistentCalls:
m_Calls:
- m_Target: {fileID: 369596802107988542}
m_TargetAssemblyTypeName: HealthComponent, Assembly-CSharp
m_MethodName: EnemyKill
m_Mode: 1
m_Arguments:
m_ObjectArgument: {fileID: 0}
m_ObjectArgumentAssemblyTypeName: UnityEngine.Object, UnityEngine
m_IntArgument: 0
m_FloatArgument: 0
m_StringArgument:
m_BoolArgument: 0
m_CallState: 2
OnHealthChange:
m_PersistentCalls:
m_Calls: []
OnHealthChange2:
m_PersistentCalls:
m_Calls: []
OnHealthChange3:
m_PersistentCalls:
m_Calls: []
--- !u!114 &8270377878650669399
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 95331384460172707}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: d1d1daa1d5342744bb097706d0969cae, type: 3}
m_Name:
m_EditorClassIdentifier:
MoneyDropOnDeath: 0
--- !u!1 &5644288195509349706
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 4199099976017055095}
- component: {fileID: 4915168525079258058}
- component: {fileID: 6292430518164601119}
- component: {fileID: 4916122593163076045}
- component: {fileID: 4754634268177203569}
- component: {fileID: 8144049354800009867}
m_Layer: 0
m_Name: Canvas
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!224 &4199099976017055095
RectTransform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 5644288195509349706}
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:
- {fileID: 8945555058150784166}
m_Father: {fileID: 8711060493889635308}
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0.5, y: 0.5}
m_AnchorMax: {x: 0.5, y: 0.5}
m_AnchoredPosition: {x: 0, y: 0}
m_SizeDelta: {x: 0.09375, y: 0.03125}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!223 &4915168525079258058
Canvas:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 5644288195509349706}
m_Enabled: 1
serializedVersion: 3
m_RenderMode: 2
m_Camera: {fileID: 0}
m_PlaneDistance: 100
m_PixelPerfect: 0
m_ReceivesEvents: 1
m_OverrideSorting: 0
m_OverridePixelPerfect: 0
m_SortingBucketNormalizedSize: 0
m_VertexColorAlwaysGammaSpace: 0
m_AdditionalShaderChannelsFlag: 0
m_UpdateRectTransformForStandalone: 0
m_SortingLayerID: 664711655
m_SortingOrder: 0
m_TargetDisplay: 0
--- !u!114 &6292430518164601119
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 5644288195509349706}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 0cd44c1031e13a943bb63640046fad76, type: 3}
m_Name:
m_EditorClassIdentifier:
m_UiScaleMode: 0
m_ReferencePixelsPerUnit: 100
m_ScaleFactor: 1
m_ReferenceResolution: {x: 800, y: 600}
m_ScreenMatchMode: 0
m_MatchWidthOrHeight: 0
m_PhysicalUnit: 3
m_FallbackScreenDPI: 96
m_DefaultSpriteDPI: 96
m_DynamicPixelsPerUnit: 1
m_PresetInfoIsWorld: 1
--- !u!114 &4916122593163076045
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 5644288195509349706}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: dc42784cf147c0c48a680349fa168899, type: 3}
m_Name:
m_EditorClassIdentifier:
m_IgnoreReversedGraphics: 1
m_BlockingObjects: 0
m_BlockingMask:
serializedVersion: 2
m_Bits: 4294967295
--- !u!114 &4754634268177203569
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 5644288195509349706}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: a3cef6d37caa7c467b68369285a9ac2a, type: 3}
m_Name:
m_EditorClassIdentifier:
--- !u!114 &8144049354800009867
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 5644288195509349706}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 69f5c09eeecd84ead8942fef17e479ad, type: 3}
m_Name:
m_EditorClassIdentifier:
--- !u!1001 &5654329235174420066
PrefabInstance:
m_ObjectHideFlags: 0
serializedVersion: 2
m_Modification:
serializedVersion: 3
m_TransformParent: {fileID: 4199099976017055095}
m_Modifications:
- target: {fileID: 634320244947008827, guid: 1436120f3fce990d6ad280ccb90837ad,
type: 3}
propertyPath: attachHealth
value:
objectReference: {fileID: 369596802107988542}
- target: {fileID: 3628995943210930884, guid: 1436120f3fce990d6ad280ccb90837ad,
type: 3}
propertyPath: m_Pivot.x
value: 0.5
objectReference: {fileID: 0}
- target: {fileID: 3628995943210930884, guid: 1436120f3fce990d6ad280ccb90837ad,
type: 3}
propertyPath: m_Pivot.y
value: 0.5
objectReference: {fileID: 0}
- target: {fileID: 3628995943210930884, guid: 1436120f3fce990d6ad280ccb90837ad,
type: 3}
propertyPath: m_AnchorMax.x
value: 1
objectReference: {fileID: 0}
- target: {fileID: 3628995943210930884, guid: 1436120f3fce990d6ad280ccb90837ad,
type: 3}
propertyPath: m_AnchorMax.y
value: 1
objectReference: {fileID: 0}
- target: {fileID: 3628995943210930884, guid: 1436120f3fce990d6ad280ccb90837ad,
type: 3}
propertyPath: m_AnchorMin.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 3628995943210930884, guid: 1436120f3fce990d6ad280ccb90837ad,
type: 3}
propertyPath: m_AnchorMin.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 3628995943210930884, guid: 1436120f3fce990d6ad280ccb90837ad,
type: 3}
propertyPath: m_SizeDelta.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 3628995943210930884, guid: 1436120f3fce990d6ad280ccb90837ad,
type: 3}
propertyPath: m_SizeDelta.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 3628995943210930884, guid: 1436120f3fce990d6ad280ccb90837ad,
type: 3}
propertyPath: m_LocalPosition.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 3628995943210930884, guid: 1436120f3fce990d6ad280ccb90837ad,
type: 3}
propertyPath: m_LocalPosition.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 3628995943210930884, guid: 1436120f3fce990d6ad280ccb90837ad,
type: 3}
propertyPath: m_LocalPosition.z
value: 0
objectReference: {fileID: 0}
- target: {fileID: 3628995943210930884, guid: 1436120f3fce990d6ad280ccb90837ad,
type: 3}
propertyPath: m_LocalRotation.w
value: 1
objectReference: {fileID: 0}
- target: {fileID: 3628995943210930884, guid: 1436120f3fce990d6ad280ccb90837ad,
type: 3}
propertyPath: m_LocalRotation.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 3628995943210930884, guid: 1436120f3fce990d6ad280ccb90837ad,
type: 3}
propertyPath: m_LocalRotation.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 3628995943210930884, guid: 1436120f3fce990d6ad280ccb90837ad,
type: 3}
propertyPath: m_LocalRotation.z
value: 0
objectReference: {fileID: 0}
- target: {fileID: 3628995943210930884, guid: 1436120f3fce990d6ad280ccb90837ad,
type: 3}
propertyPath: m_AnchoredPosition.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 3628995943210930884, guid: 1436120f3fce990d6ad280ccb90837ad,
type: 3}
propertyPath: m_AnchoredPosition.y
value: 0.328
objectReference: {fileID: 0}
- target: {fileID: 3628995943210930884, guid: 1436120f3fce990d6ad280ccb90837ad,
type: 3}
propertyPath: m_LocalEulerAnglesHint.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 3628995943210930884, guid: 1436120f3fce990d6ad280ccb90837ad,
type: 3}
propertyPath: m_LocalEulerAnglesHint.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 3628995943210930884, guid: 1436120f3fce990d6ad280ccb90837ad,
type: 3}
propertyPath: m_LocalEulerAnglesHint.z
value: 0
objectReference: {fileID: 0}
- target: {fileID: 4530051785811330537, guid: 1436120f3fce990d6ad280ccb90837ad,
type: 3}
propertyPath: m_SizeDelta.x
value: -0.01274
objectReference: {fileID: 0}
- target: {fileID: 4530051785811330537, guid: 1436120f3fce990d6ad280ccb90837ad,
type: 3}
propertyPath: m_SizeDelta.y
value: -0.01296
objectReference: {fileID: 0}
- target: {fileID: 4530051785811330537, guid: 1436120f3fce990d6ad280ccb90837ad,
type: 3}
propertyPath: m_AnchoredPosition.x
value: -0.00022999942
objectReference: {fileID: 0}
- target: {fileID: 4530051785811330537, guid: 1436120f3fce990d6ad280ccb90837ad,
type: 3}
propertyPath: m_AnchoredPosition.y
value: -0.0010100007
objectReference: {fileID: 0}
- target: {fileID: 5650998000461597353, guid: 1436120f3fce990d6ad280ccb90837ad,
type: 3}
propertyPath: m_Name
value: HealthBar
objectReference: {fileID: 0}
m_RemovedComponents: []
m_RemovedGameObjects: []
m_AddedGameObjects: []
m_AddedComponents: []
m_SourcePrefab: {fileID: 100100000, guid: 1436120f3fce990d6ad280ccb90837ad, type: 3}
--- !u!224 &8945555058150784166 stripped
RectTransform:
m_CorrespondingSourceObject: {fileID: 3628995943210930884, guid: 1436120f3fce990d6ad280ccb90837ad,
type: 3}
m_PrefabInstance: {fileID: 5654329235174420066}
m_PrefabAsset: {fileID: 0}