Enemy.prefab 4.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155
  1. %YAML 1.1
  2. %TAG !u! tag:unity3d.com,2011:
  3. --- !u!1001 &100100000
  4. Prefab:
  5. m_ObjectHideFlags: 1
  6. serializedVersion: 2
  7. m_Modification:
  8. m_TransformParent: {fileID: 0}
  9. m_Modifications: []
  10. m_RemovedComponents: []
  11. m_SourcePrefab: {fileID: 0}
  12. m_RootGameObject: {fileID: 1742190215673356}
  13. m_IsPrefabAsset: 1
  14. --- !u!1 &1742190215673356
  15. GameObject:
  16. m_ObjectHideFlags: 0
  17. m_CorrespondingSourceObject: {fileID: 0}
  18. m_PrefabInternal: {fileID: 100100000}
  19. serializedVersion: 6
  20. m_Component:
  21. - component: {fileID: 4317283947452574}
  22. - component: {fileID: 54719386397210842}
  23. - component: {fileID: 33284656694483632}
  24. - component: {fileID: 136896857610122352}
  25. - component: {fileID: 23624109117237386}
  26. - component: {fileID: 195928033616491686}
  27. - component: {fileID: 114153744707698108}
  28. m_Layer: 0
  29. m_Name: Enemy
  30. m_TagString: Untagged
  31. m_Icon: {fileID: 0}
  32. m_NavMeshLayer: 0
  33. m_StaticEditorFlags: 0
  34. m_IsActive: 1
  35. --- !u!4 &4317283947452574
  36. Transform:
  37. m_ObjectHideFlags: 1
  38. m_CorrespondingSourceObject: {fileID: 0}
  39. m_PrefabInternal: {fileID: 100100000}
  40. m_GameObject: {fileID: 1742190215673356}
  41. m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
  42. m_LocalPosition: {x: 9.38, y: 0.5, z: 8}
  43. m_LocalScale: {x: 1, y: 0.8, z: 1}
  44. m_Children: []
  45. m_Father: {fileID: 0}
  46. m_RootOrder: 0
  47. m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
  48. --- !u!23 &23624109117237386
  49. MeshRenderer:
  50. m_ObjectHideFlags: 1
  51. m_CorrespondingSourceObject: {fileID: 0}
  52. m_PrefabInternal: {fileID: 100100000}
  53. m_GameObject: {fileID: 1742190215673356}
  54. m_Enabled: 1
  55. m_CastShadows: 1
  56. m_ReceiveShadows: 1
  57. m_DynamicOccludee: 1
  58. m_MotionVectors: 1
  59. m_LightProbeUsage: 1
  60. m_ReflectionProbeUsage: 1
  61. m_RenderingLayerMask: 4294967295
  62. m_Materials:
  63. - {fileID: 10303, guid: 0000000000000000f000000000000000, type: 0}
  64. m_StaticBatchInfo:
  65. firstSubMesh: 0
  66. subMeshCount: 0
  67. m_StaticBatchRoot: {fileID: 0}
  68. m_ProbeAnchor: {fileID: 0}
  69. m_LightProbeVolumeOverride: {fileID: 0}
  70. m_ScaleInLightmap: 1
  71. m_PreserveUVs: 1
  72. m_IgnoreNormalsForChartDetection: 0
  73. m_ImportantGI: 0
  74. m_StitchLightmapSeams: 0
  75. m_SelectedEditorRenderState: 3
  76. m_MinimumChartSize: 4
  77. m_AutoUVMaxDistance: 0.5
  78. m_AutoUVMaxAngle: 89
  79. m_LightmapParameters: {fileID: 0}
  80. m_SortingLayerID: 0
  81. m_SortingLayer: 0
  82. m_SortingOrder: 0
  83. --- !u!33 &33284656694483632
  84. MeshFilter:
  85. m_ObjectHideFlags: 1
  86. m_CorrespondingSourceObject: {fileID: 0}
  87. m_PrefabInternal: {fileID: 100100000}
  88. m_GameObject: {fileID: 1742190215673356}
  89. m_Mesh: {fileID: 10208, guid: 0000000000000000e000000000000000, type: 0}
  90. --- !u!54 &54719386397210842
  91. Rigidbody:
  92. m_ObjectHideFlags: 1
  93. m_CorrespondingSourceObject: {fileID: 0}
  94. m_PrefabInternal: {fileID: 100100000}
  95. m_GameObject: {fileID: 1742190215673356}
  96. serializedVersion: 2
  97. m_Mass: 1
  98. m_Drag: 0
  99. m_AngularDrag: 0.05
  100. m_UseGravity: 1
  101. m_IsKinematic: 0
  102. m_Interpolate: 0
  103. m_Constraints: 0
  104. m_CollisionDetection: 0
  105. --- !u!114 &114153744707698108
  106. MonoBehaviour:
  107. m_ObjectHideFlags: 1
  108. m_CorrespondingSourceObject: {fileID: 0}
  109. m_PrefabInternal: {fileID: 100100000}
  110. m_GameObject: {fileID: 1742190215673356}
  111. m_Enabled: 1
  112. m_EditorHideFlags: 0
  113. m_Script: {fileID: 11500000, guid: 6e7bf54936aa93d44999da39f21502fc, type: 3}
  114. m_Name:
  115. m_EditorClassIdentifier:
  116. baseMaxHealth: 50
  117. speed: 10
  118. scoreValue: 10
  119. killManaReward: 5
  120. level: 0
  121. currentHealth: 0
  122. --- !u!136 &136896857610122352
  123. CapsuleCollider:
  124. m_ObjectHideFlags: 1
  125. m_CorrespondingSourceObject: {fileID: 0}
  126. m_PrefabInternal: {fileID: 100100000}
  127. m_GameObject: {fileID: 1742190215673356}
  128. m_Material: {fileID: 0}
  129. m_IsTrigger: 0
  130. m_Enabled: 1
  131. m_Radius: 0.5
  132. m_Height: 2
  133. m_Direction: 1
  134. m_Center: {x: 0, y: 0, z: 0}
  135. --- !u!195 &195928033616491686
  136. NavMeshAgent:
  137. m_ObjectHideFlags: 1
  138. m_CorrespondingSourceObject: {fileID: 0}
  139. m_PrefabInternal: {fileID: 100100000}
  140. m_GameObject: {fileID: 1742190215673356}
  141. m_Enabled: 1
  142. m_AgentTypeID: 0
  143. m_Radius: 0.5
  144. m_Speed: 3.5
  145. m_Acceleration: 8
  146. avoidancePriority: 50
  147. m_AngularSpeed: 120
  148. m_StoppingDistance: 0
  149. m_AutoTraverseOffMeshLink: 1
  150. m_AutoBraking: 1
  151. m_AutoRepath: 1
  152. m_Height: 2
  153. m_BaseOffset: 1
  154. m_WalkableMask: 4294967295
  155. m_ObstacleAvoidanceType: 4