chenxin
2020-12-04 440f374d3049704f013d1ec8b2a2c12e2b58e8c7
小怪血条调整
11 files added
7 files modified
1177 ■■■■■ changed files
Assets/Materials/UI/tileTowerVSMat.mat 2 ●●● patch | view | raw | blame | history
Assets/Prefabs/Enemies/Fire.prefab 124 ●●●● patch | view | raw | blame | history
Assets/Prefabs/Enemies/Water.prefab 107 ●●●●● patch | view | raw | blame | history
Assets/Prefabs/Enemies/Wood.prefab 153 ●●●●● patch | view | raw | blame | history
Assets/Resources/Prefabs/AgentBlood.prefab 203 ●●●●● patch | view | raw | blame | history
Assets/Resources/Prefabs/AgentBlood.prefab.meta 7 ●●●●● patch | view | raw | blame | history
Assets/Scenes/Levels/Battle/Endless2D.unity 54 ●●●●● patch | view | raw | blame | history
Assets/Scripts/TowerDefense/Agents/Agent.cs 29 ●●●●● patch | view | raw | blame | history
Assets/Scripts/TowerDefense/Level/EndlessWave.cs 13 ●●●●● patch | view | raw | blame | history
Assets/Scripts/UI/AgentBlood.cs 112 ●●●●● patch | view | raw | blame | history
Assets/Scripts/UI/AgentBlood.cs.meta 11 ●●●●● patch | view | raw | blame | history
Assets/UI/Endless/Blood.meta 8 ●●●●● patch | view | raw | blame | history
Assets/UI/Endless/Blood/BloodBottom.png patch | view | raw | blame | history
Assets/UI/Endless/Blood/BloodBottom.png.meta 118 ●●●●● patch | view | raw | blame | history
Assets/UI/Endless/Blood/Blood_green.png patch | view | raw | blame | history
Assets/UI/Endless/Blood/Blood_green.png.meta 118 ●●●●● patch | view | raw | blame | history
Assets/UI/Endless/Blood/Blood_red.png patch | view | raw | blame | history
Assets/UI/Endless/Blood/Blood_red.png.meta 118 ●●●●● patch | view | raw | blame | history
Assets/Materials/UI/tileTowerVSMat.mat
@@ -40,7 +40,7 @@
        m_Scale: {x: 1, y: 1}
        m_Offset: {x: 0, y: 0}
    - _MainTex:
        m_Texture: {fileID: 2800000, guid: ea2ffef66c52dd14fbd46187be79f107, type: 3}
        m_Texture: {fileID: 2800000, guid: 93f40a01d57fbff418fc0b54b6ab7d9f, type: 3}
        m_Scale: {x: 1, y: 1}
        m_Offset: {x: 0, y: 0}
    - _MetallicGlossMap:
Assets/Prefabs/Enemies/Fire.prefab
@@ -186,7 +186,6 @@
  - {fileID: 3379817300068747972}
  - {fileID: 8434816860007424696}
  - {fileID: 1277171420674534872}
  - {fileID: 9114815543095638400}
  - {fileID: 6542537011048626110}
  - {fileID: 2982453381423257457}
  - {fileID: 6679120199681160672}
@@ -264,7 +263,7 @@
  targetTransform: {fileID: 8434816860007424696}
  appliedEffectOffset: {x: 0, y: 0.1, z: 0.1}
  appliedEffectScale: 0.08
  healthBar: {fileID: 9222104150701355608}
  healthBar: {fileID: 0}
  spawnParticle: {fileID: 19888028, guid: 799ba3095ff225146bea02318a149f87, type: 3}
  ActionAnimator: {fileID: 8418524101809364958}
  poisonTex: {fileID: 2800000, guid: 7a975ade1af3c1047bedefeb8036e5ee, type: 3}
@@ -538,7 +537,7 @@
    - target: {fileID: 6024426988374568398, guid: da8892980c8b53042a412b759809e5e8,
        type: 3}
      propertyPath: m_RootOrder
      value: 4
      value: 3
      objectReference: {fileID: 0}
    - target: {fileID: 6024426988374568398, guid: da8892980c8b53042a412b759809e5e8,
        type: 3}
@@ -669,7 +668,7 @@
    - target: {fileID: 6948638370255521775, guid: e21fbc9a859eff446afa87a1208106b9,
        type: 3}
      propertyPath: m_RootOrder
      value: 9
      value: 8
      objectReference: {fileID: 0}
    - target: {fileID: 6948638370255521775, guid: e21fbc9a859eff446afa87a1208106b9,
        type: 3}
@@ -715,103 +714,6 @@
    type: 3}
  m_PrefabInstance: {fileID: 2803897631922068798}
  m_PrefabAsset: {fileID: 0}
--- !u!1001 &4198952192164864370
PrefabInstance:
  m_ObjectHideFlags: 0
  serializedVersion: 2
  m_Modification:
    m_TransformParent: {fileID: 8434816861478773449}
    m_Modifications:
    - target: {fileID: 4912913822749028214, guid: 3d8c8419dca866149b46e4ab68d15496,
        type: 3}
      propertyPath: m_Name
      value: HealthBar
      objectReference: {fileID: 0}
    - target: {fileID: 4916796871218370802, guid: 3d8c8419dca866149b46e4ab68d15496,
        type: 3}
      propertyPath: m_LocalPosition.x
      value: 0
      objectReference: {fileID: 0}
    - target: {fileID: 4916796871218370802, guid: 3d8c8419dca866149b46e4ab68d15496,
        type: 3}
      propertyPath: m_LocalPosition.y
      value: 1.5
      objectReference: {fileID: 0}
    - target: {fileID: 4916796871218370802, guid: 3d8c8419dca866149b46e4ab68d15496,
        type: 3}
      propertyPath: m_LocalPosition.z
      value: 0
      objectReference: {fileID: 0}
    - target: {fileID: 4916796871218370802, guid: 3d8c8419dca866149b46e4ab68d15496,
        type: 3}
      propertyPath: m_LocalRotation.x
      value: 0.86602545
      objectReference: {fileID: 0}
    - target: {fileID: 4916796871218370802, guid: 3d8c8419dca866149b46e4ab68d15496,
        type: 3}
      propertyPath: m_LocalRotation.y
      value: 0
      objectReference: {fileID: 0}
    - target: {fileID: 4916796871218370802, guid: 3d8c8419dca866149b46e4ab68d15496,
        type: 3}
      propertyPath: m_LocalRotation.z
      value: 0
      objectReference: {fileID: 0}
    - target: {fileID: 4916796871218370802, guid: 3d8c8419dca866149b46e4ab68d15496,
        type: 3}
      propertyPath: m_LocalRotation.w
      value: 0.49999994
      objectReference: {fileID: 0}
    - target: {fileID: 4916796871218370802, guid: 3d8c8419dca866149b46e4ab68d15496,
        type: 3}
      propertyPath: m_RootOrder
      value: 3
      objectReference: {fileID: 0}
    - target: {fileID: 4916796871218370802, guid: 3d8c8419dca866149b46e4ab68d15496,
        type: 3}
      propertyPath: m_LocalEulerAnglesHint.x
      value: 120
      objectReference: {fileID: 0}
    - target: {fileID: 4916796871218370802, guid: 3d8c8419dca866149b46e4ab68d15496,
        type: 3}
      propertyPath: m_LocalEulerAnglesHint.y
      value: 0
      objectReference: {fileID: 0}
    - target: {fileID: 4916796871218370802, guid: 3d8c8419dca866149b46e4ab68d15496,
        type: 3}
      propertyPath: m_LocalEulerAnglesHint.z
      value: 0
      objectReference: {fileID: 0}
    - target: {fileID: 4916796871218370802, guid: 3d8c8419dca866149b46e4ab68d15496,
        type: 3}
      propertyPath: m_LocalScale.y
      value: 0.15
      objectReference: {fileID: 0}
    - target: {fileID: 5025685238251000618, guid: 3d8c8419dca866149b46e4ab68d15496,
        type: 3}
      propertyPath: damageableBehaviour
      value:
      objectReference: {fileID: 8434816861478773454}
    m_RemovedComponents: []
  m_SourcePrefab: {fileID: 100100000, guid: 3d8c8419dca866149b46e4ab68d15496, type: 3}
--- !u!4 &9114815543095638400 stripped
Transform:
  m_CorrespondingSourceObject: {fileID: 4916796871218370802, guid: 3d8c8419dca866149b46e4ab68d15496,
    type: 3}
  m_PrefabInstance: {fileID: 4198952192164864370}
  m_PrefabAsset: {fileID: 0}
--- !u!114 &9222104150701355608 stripped
MonoBehaviour:
  m_CorrespondingSourceObject: {fileID: 5025685238251000618, guid: 3d8c8419dca866149b46e4ab68d15496,
    type: 3}
  m_PrefabInstance: {fileID: 4198952192164864370}
  m_PrefabAsset: {fileID: 0}
  m_GameObject: {fileID: 0}
  m_Enabled: 1
  m_EditorHideFlags: 0
  m_Script: {fileID: 11500000, guid: 5440fde571ec4db4a719f37df8e972f0, type: 3}
  m_Name:
  m_EditorClassIdentifier:
--- !u!1001 &4229842640979356525
PrefabInstance:
  m_ObjectHideFlags: 0
@@ -877,7 +779,7 @@
    - target: {fileID: 1427824652297354268, guid: 1428e6b22c062b640bbe37b82f1ee655,
        type: 3}
      propertyPath: m_RootOrder
      value: 5
      value: 4
      objectReference: {fileID: 0}
    - target: {fileID: 1427824652297354268, guid: 1428e6b22c062b640bbe37b82f1ee655,
        type: 3}
@@ -978,7 +880,7 @@
    - target: {fileID: 7677512363771200778, guid: 2acf016d8917a714bbc5a6aa7e43aed6,
        type: 3}
      propertyPath: m_RootOrder
      value: 8
      value: 7
      objectReference: {fileID: 0}
    - target: {fileID: 7677512363771200778, guid: 2acf016d8917a714bbc5a6aa7e43aed6,
        type: 3}
@@ -1002,15 +904,15 @@
      objectReference: {fileID: 0}
    m_RemovedComponents: []
  m_SourcePrefab: {fileID: 100100000, guid: 2acf016d8917a714bbc5a6aa7e43aed6, type: 3}
--- !u!198 &4595872434723685104 stripped
ParticleSystem:
  m_CorrespondingSourceObject: {fileID: 7677512363561411136, guid: 2acf016d8917a714bbc5a6aa7e43aed6,
    type: 3}
  m_PrefabInstance: {fileID: 6146236397121986736}
  m_PrefabAsset: {fileID: 0}
--- !u!4 &4595872435068790202 stripped
Transform:
  m_CorrespondingSourceObject: {fileID: 7677512363771200778, guid: 2acf016d8917a714bbc5a6aa7e43aed6,
    type: 3}
  m_PrefabInstance: {fileID: 6146236397121986736}
  m_PrefabAsset: {fileID: 0}
--- !u!198 &4595872434723685104 stripped
ParticleSystem:
  m_CorrespondingSourceObject: {fileID: 7677512363561411136, guid: 2acf016d8917a714bbc5a6aa7e43aed6,
    type: 3}
  m_PrefabInstance: {fileID: 6146236397121986736}
  m_PrefabAsset: {fileID: 0}
@@ -1059,7 +961,7 @@
    - target: {fileID: 2639904807578598379, guid: 78046dd80a5fb1d45a60cf15574ee7bf,
        type: 3}
      propertyPath: m_RootOrder
      value: 7
      value: 6
      objectReference: {fileID: 0}
    - target: {fileID: 2639904807578598379, guid: 78046dd80a5fb1d45a60cf15574ee7bf,
        type: 3}
@@ -1155,7 +1057,7 @@
    - target: {fileID: 2364189766659714919, guid: 393d187774e421848be71dd6a69be174,
        type: 3}
      propertyPath: m_RootOrder
      value: 6
      value: 5
      objectReference: {fileID: 0}
    - target: {fileID: 2364189766659714919, guid: 393d187774e421848be71dd6a69be174,
        type: 3}
Assets/Prefabs/Enemies/Water.prefab
@@ -186,7 +186,6 @@
  - {fileID: 3049446194321265458}
  - {fileID: 8434816860007424696}
  - {fileID: 1277171420674534872}
  - {fileID: 9114815543095638400}
  - {fileID: 772091675164355399}
  - {fileID: 5468027130051431602}
  - {fileID: 200673849226178847}
@@ -264,7 +263,7 @@
  targetTransform: {fileID: 8434816860007424696}
  appliedEffectOffset: {x: 0, y: 0.1, z: 0.1}
  appliedEffectScale: 0.08
  healthBar: {fileID: 9222104150701355608}
  healthBar: {fileID: 0}
  spawnParticle: {fileID: 19892064, guid: 8c51d2af51854f148bba24c2904e2e63, type: 3}
  ActionAnimator: {fileID: 6678885540973173833}
  poisonTex: {fileID: 2800000, guid: 267a293eb7373434480221c3d89f7076, type: 3}
@@ -493,7 +492,7 @@
    - target: {fileID: 2364189766659714919, guid: 393d187774e421848be71dd6a69be174,
        type: 3}
      propertyPath: m_RootOrder
      value: 6
      value: 5
      objectReference: {fileID: 0}
    - target: {fileID: 2364189766659714919, guid: 393d187774e421848be71dd6a69be174,
        type: 3}
@@ -644,7 +643,7 @@
    - target: {fileID: 7677512363771200778, guid: 2acf016d8917a714bbc5a6aa7e43aed6,
        type: 3}
      propertyPath: m_RootOrder
      value: 8
      value: 7
      objectReference: {fileID: 0}
    - target: {fileID: 7677512363771200778, guid: 2acf016d8917a714bbc5a6aa7e43aed6,
        type: 3}
@@ -680,98 +679,6 @@
    type: 3}
  m_PrefabInstance: {fileID: 3456556258320520863}
  m_PrefabAsset: {fileID: 0}
--- !u!1001 &4198952192164864370
PrefabInstance:
  m_ObjectHideFlags: 0
  serializedVersion: 2
  m_Modification:
    m_TransformParent: {fileID: 8434816861478773449}
    m_Modifications:
    - target: {fileID: 4912913822749028214, guid: 3d8c8419dca866149b46e4ab68d15496,
        type: 3}
      propertyPath: m_Name
      value: HealthBar
      objectReference: {fileID: 0}
    - target: {fileID: 4916796871218370802, guid: 3d8c8419dca866149b46e4ab68d15496,
        type: 3}
      propertyPath: m_LocalPosition.x
      value: 0
      objectReference: {fileID: 0}
    - target: {fileID: 4916796871218370802, guid: 3d8c8419dca866149b46e4ab68d15496,
        type: 3}
      propertyPath: m_LocalPosition.y
      value: 1.5
      objectReference: {fileID: 0}
    - target: {fileID: 4916796871218370802, guid: 3d8c8419dca866149b46e4ab68d15496,
        type: 3}
      propertyPath: m_LocalPosition.z
      value: 0
      objectReference: {fileID: 0}
    - target: {fileID: 4916796871218370802, guid: 3d8c8419dca866149b46e4ab68d15496,
        type: 3}
      propertyPath: m_LocalRotation.x
      value: 0.86602545
      objectReference: {fileID: 0}
    - target: {fileID: 4916796871218370802, guid: 3d8c8419dca866149b46e4ab68d15496,
        type: 3}
      propertyPath: m_LocalRotation.y
      value: 0
      objectReference: {fileID: 0}
    - target: {fileID: 4916796871218370802, guid: 3d8c8419dca866149b46e4ab68d15496,
        type: 3}
      propertyPath: m_LocalRotation.z
      value: 0
      objectReference: {fileID: 0}
    - target: {fileID: 4916796871218370802, guid: 3d8c8419dca866149b46e4ab68d15496,
        type: 3}
      propertyPath: m_LocalRotation.w
      value: 0.49999994
      objectReference: {fileID: 0}
    - target: {fileID: 4916796871218370802, guid: 3d8c8419dca866149b46e4ab68d15496,
        type: 3}
      propertyPath: m_RootOrder
      value: 3
      objectReference: {fileID: 0}
    - target: {fileID: 4916796871218370802, guid: 3d8c8419dca866149b46e4ab68d15496,
        type: 3}
      propertyPath: m_LocalEulerAnglesHint.x
      value: 120
      objectReference: {fileID: 0}
    - target: {fileID: 4916796871218370802, guid: 3d8c8419dca866149b46e4ab68d15496,
        type: 3}
      propertyPath: m_LocalEulerAnglesHint.y
      value: 0
      objectReference: {fileID: 0}
    - target: {fileID: 4916796871218370802, guid: 3d8c8419dca866149b46e4ab68d15496,
        type: 3}
      propertyPath: m_LocalEulerAnglesHint.z
      value: 0
      objectReference: {fileID: 0}
    - target: {fileID: 5025685238251000618, guid: 3d8c8419dca866149b46e4ab68d15496,
        type: 3}
      propertyPath: damageableBehaviour
      value:
      objectReference: {fileID: 8434816861478773454}
    m_RemovedComponents: []
  m_SourcePrefab: {fileID: 100100000, guid: 3d8c8419dca866149b46e4ab68d15496, type: 3}
--- !u!4 &9114815543095638400 stripped
Transform:
  m_CorrespondingSourceObject: {fileID: 4916796871218370802, guid: 3d8c8419dca866149b46e4ab68d15496,
    type: 3}
  m_PrefabInstance: {fileID: 4198952192164864370}
  m_PrefabAsset: {fileID: 0}
--- !u!114 &9222104150701355608 stripped
MonoBehaviour:
  m_CorrespondingSourceObject: {fileID: 5025685238251000618, guid: 3d8c8419dca866149b46e4ab68d15496,
    type: 3}
  m_PrefabInstance: {fileID: 4198952192164864370}
  m_PrefabAsset: {fileID: 0}
  m_GameObject: {fileID: 0}
  m_Enabled: 1
  m_EditorHideFlags: 0
  m_Script: {fileID: 11500000, guid: 5440fde571ec4db4a719f37df8e972f0, type: 3}
  m_Name:
  m_EditorClassIdentifier:
--- !u!1001 &6288271352030446409
PrefabInstance:
  m_ObjectHideFlags: 0
@@ -832,7 +739,7 @@
    - target: {fileID: 6948638370255521775, guid: e21fbc9a859eff446afa87a1208106b9,
        type: 3}
      propertyPath: m_RootOrder
      value: 9
      value: 8
      objectReference: {fileID: 0}
    - target: {fileID: 6948638370255521775, guid: e21fbc9a859eff446afa87a1208106b9,
        type: 3}
@@ -938,7 +845,7 @@
    - target: {fileID: 1427824652297354268, guid: 1428e6b22c062b640bbe37b82f1ee655,
        type: 3}
      propertyPath: m_RootOrder
      value: 5
      value: 4
      objectReference: {fileID: 0}
    - target: {fileID: 1427824652297354268, guid: 1428e6b22c062b640bbe37b82f1ee655,
        type: 3}
@@ -1084,7 +991,7 @@
    - target: {fileID: 6024426988374568398, guid: da8892980c8b53042a412b759809e5e8,
        type: 3}
      propertyPath: m_RootOrder
      value: 4
      value: 3
      objectReference: {fileID: 0}
    - target: {fileID: 6024426988374568398, guid: da8892980c8b53042a412b759809e5e8,
        type: 3}
@@ -1205,7 +1112,7 @@
    - target: {fileID: 2639904807578598379, guid: 78046dd80a5fb1d45a60cf15574ee7bf,
        type: 3}
      propertyPath: m_RootOrder
      value: 7
      value: 6
      objectReference: {fileID: 0}
    - target: {fileID: 2639904807578598379, guid: 78046dd80a5fb1d45a60cf15574ee7bf,
        type: 3}
Assets/Prefabs/Enemies/Wood.prefab
@@ -186,7 +186,6 @@
  - {fileID: 1862070027493046970}
  - {fileID: 8434816860007424696}
  - {fileID: 1277171420674534872}
  - {fileID: 9114815543095638400}
  - {fileID: 2909016453797189899}
  - {fileID: 1774749892824093657}
  - {fileID: 5729843628970712658}
@@ -264,7 +263,7 @@
  targetTransform: {fileID: 8434816860007424696}
  appliedEffectOffset: {x: 0, y: 0.1, z: 0.1}
  appliedEffectScale: 0.08
  healthBar: {fileID: 9222104150701355608}
  healthBar: {fileID: 0}
  spawnParticle: {fileID: 19873840, guid: e4a4dd0be891ef542a95aef4b72806c4, type: 3}
  ActionAnimator: {fileID: 2308564654919142006}
  poisonTex: {fileID: 2800000, guid: 6010bd2900933ce4bbd4dd1ec65c5bc7, type: 3}
@@ -508,7 +507,7 @@
    - target: {fileID: 1427824652297354268, guid: 1428e6b22c062b640bbe37b82f1ee655,
        type: 3}
      propertyPath: m_RootOrder
      value: 5
      value: 4
      objectReference: {fileID: 0}
    - target: {fileID: 1427824652297354268, guid: 1428e6b22c062b640bbe37b82f1ee655,
        type: 3}
@@ -564,144 +563,6 @@
    type: 3}
  m_PrefabInstance: {fileID: 824593498719907781}
  m_PrefabAsset: {fileID: 0}
--- !u!1001 &4198952192164864370
PrefabInstance:
  m_ObjectHideFlags: 0
  serializedVersion: 2
  m_Modification:
    m_TransformParent: {fileID: 8434816861478773449}
    m_Modifications:
    - target: {fileID: 563292458485435739, guid: 3d8c8419dca866149b46e4ab68d15496,
        type: 3}
      propertyPath: m_Mesh
      value:
      objectReference: {fileID: 0}
    - target: {fileID: 2289285960784904005, guid: 3d8c8419dca866149b46e4ab68d15496,
        type: 3}
      propertyPath: m_textInfo.characterCount
      value: 4
      objectReference: {fileID: 0}
    - target: {fileID: 2289285960784904005, guid: 3d8c8419dca866149b46e4ab68d15496,
        type: 3}
      propertyPath: m_textInfo.wordCount
      value: 1
      objectReference: {fileID: 0}
    - target: {fileID: 2289285960784904005, guid: 3d8c8419dca866149b46e4ab68d15496,
        type: 3}
      propertyPath: m_textInfo.lineCount
      value: 1
      objectReference: {fileID: 0}
    - target: {fileID: 2289285960784904005, guid: 3d8c8419dca866149b46e4ab68d15496,
        type: 3}
      propertyPath: m_textInfo.pageCount
      value: 1
      objectReference: {fileID: 0}
    - target: {fileID: 2289285960784904005, guid: 3d8c8419dca866149b46e4ab68d15496,
        type: 3}
      propertyPath: m_TextStyleHashCode
      value: -1183493901
      objectReference: {fileID: 0}
    - target: {fileID: 2289285960784904005, guid: 3d8c8419dca866149b46e4ab68d15496,
        type: 3}
      propertyPath: m_HorizontalAlignment
      value: 2
      objectReference: {fileID: 0}
    - target: {fileID: 2289285960784904005, guid: 3d8c8419dca866149b46e4ab68d15496,
        type: 3}
      propertyPath: m_VerticalAlignment
      value: 512
      objectReference: {fileID: 0}
    - target: {fileID: 2289285960784904005, guid: 3d8c8419dca866149b46e4ab68d15496,
        type: 3}
      propertyPath: m_textAlignment
      value: 65535
      objectReference: {fileID: 0}
    - target: {fileID: 4912913822749028214, guid: 3d8c8419dca866149b46e4ab68d15496,
        type: 3}
      propertyPath: m_Name
      value: HealthBar
      objectReference: {fileID: 0}
    - target: {fileID: 4916796871218370802, guid: 3d8c8419dca866149b46e4ab68d15496,
        type: 3}
      propertyPath: m_LocalPosition.x
      value: 0
      objectReference: {fileID: 0}
    - target: {fileID: 4916796871218370802, guid: 3d8c8419dca866149b46e4ab68d15496,
        type: 3}
      propertyPath: m_LocalPosition.y
      value: 1.1527426
      objectReference: {fileID: 0}
    - target: {fileID: 4916796871218370802, guid: 3d8c8419dca866149b46e4ab68d15496,
        type: 3}
      propertyPath: m_LocalPosition.z
      value: -0.09617342
      objectReference: {fileID: 0}
    - target: {fileID: 4916796871218370802, guid: 3d8c8419dca866149b46e4ab68d15496,
        type: 3}
      propertyPath: m_LocalRotation.x
      value: 0.86602545
      objectReference: {fileID: 0}
    - target: {fileID: 4916796871218370802, guid: 3d8c8419dca866149b46e4ab68d15496,
        type: 3}
      propertyPath: m_LocalRotation.y
      value: 0
      objectReference: {fileID: 0}
    - target: {fileID: 4916796871218370802, guid: 3d8c8419dca866149b46e4ab68d15496,
        type: 3}
      propertyPath: m_LocalRotation.z
      value: 0
      objectReference: {fileID: 0}
    - target: {fileID: 4916796871218370802, guid: 3d8c8419dca866149b46e4ab68d15496,
        type: 3}
      propertyPath: m_LocalRotation.w
      value: 0.49999994
      objectReference: {fileID: 0}
    - target: {fileID: 4916796871218370802, guid: 3d8c8419dca866149b46e4ab68d15496,
        type: 3}
      propertyPath: m_RootOrder
      value: 3
      objectReference: {fileID: 0}
    - target: {fileID: 4916796871218370802, guid: 3d8c8419dca866149b46e4ab68d15496,
        type: 3}
      propertyPath: m_LocalEulerAnglesHint.x
      value: 120
      objectReference: {fileID: 0}
    - target: {fileID: 4916796871218370802, guid: 3d8c8419dca866149b46e4ab68d15496,
        type: 3}
      propertyPath: m_LocalEulerAnglesHint.y
      value: 0
      objectReference: {fileID: 0}
    - target: {fileID: 4916796871218370802, guid: 3d8c8419dca866149b46e4ab68d15496,
        type: 3}
      propertyPath: m_LocalEulerAnglesHint.z
      value: 0
      objectReference: {fileID: 0}
    - target: {fileID: 5025685238251000618, guid: 3d8c8419dca866149b46e4ab68d15496,
        type: 3}
      propertyPath: damageableBehaviour
      value:
      objectReference: {fileID: 8434816861478773454}
    m_RemovedComponents:
    - {fileID: 531379115847478761, guid: 3d8c8419dca866149b46e4ab68d15496, type: 3}
  m_SourcePrefab: {fileID: 100100000, guid: 3d8c8419dca866149b46e4ab68d15496, type: 3}
--- !u!4 &9114815543095638400 stripped
Transform:
  m_CorrespondingSourceObject: {fileID: 4916796871218370802, guid: 3d8c8419dca866149b46e4ab68d15496,
    type: 3}
  m_PrefabInstance: {fileID: 4198952192164864370}
  m_PrefabAsset: {fileID: 0}
--- !u!114 &9222104150701355608 stripped
MonoBehaviour:
  m_CorrespondingSourceObject: {fileID: 5025685238251000618, guid: 3d8c8419dca866149b46e4ab68d15496,
    type: 3}
  m_PrefabInstance: {fileID: 4198952192164864370}
  m_PrefabAsset: {fileID: 0}
  m_GameObject: {fileID: 0}
  m_Enabled: 1
  m_EditorHideFlags: 0
  m_Script: {fileID: 11500000, guid: 5440fde571ec4db4a719f37df8e972f0, type: 3}
  m_Name:
  m_EditorClassIdentifier:
--- !u!1001 &5046465214892965966
PrefabInstance:
  m_ObjectHideFlags: 0
@@ -747,7 +608,7 @@
    - target: {fileID: 7677512363771200778, guid: 2acf016d8917a714bbc5a6aa7e43aed6,
        type: 3}
      propertyPath: m_RootOrder
      value: 8
      value: 7
      objectReference: {fileID: 0}
    - target: {fileID: 7677512363771200778, guid: 2acf016d8917a714bbc5a6aa7e43aed6,
        type: 3}
@@ -828,7 +689,7 @@
    - target: {fileID: 2639904807578598379, guid: 78046dd80a5fb1d45a60cf15574ee7bf,
        type: 3}
      propertyPath: m_RootOrder
      value: 7
      value: 6
      objectReference: {fileID: 0}
    - target: {fileID: 2639904807578598379, guid: 78046dd80a5fb1d45a60cf15574ee7bf,
        type: 3}
@@ -929,7 +790,7 @@
    - target: {fileID: 6948638370255521775, guid: e21fbc9a859eff446afa87a1208106b9,
        type: 3}
      propertyPath: m_RootOrder
      value: 9
      value: 8
      objectReference: {fileID: 0}
    - target: {fileID: 6948638370255521775, guid: e21fbc9a859eff446afa87a1208106b9,
        type: 3}
@@ -1020,7 +881,7 @@
    - target: {fileID: 2364189766659714919, guid: 393d187774e421848be71dd6a69be174,
        type: 3}
      propertyPath: m_RootOrder
      value: 6
      value: 5
      objectReference: {fileID: 0}
    - target: {fileID: 2364189766659714919, guid: 393d187774e421848be71dd6a69be174,
        type: 3}
@@ -1206,7 +1067,7 @@
    - target: {fileID: 6024426988374568398, guid: da8892980c8b53042a412b759809e5e8,
        type: 3}
      propertyPath: m_RootOrder
      value: 4
      value: 3
      objectReference: {fileID: 0}
    - target: {fileID: 6024426988374568398, guid: da8892980c8b53042a412b759809e5e8,
        type: 3}
Assets/Resources/Prefabs/AgentBlood.prefab
New file
@@ -0,0 +1,203 @@
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!1 &723170875584757217
GameObject:
  m_ObjectHideFlags: 0
  m_CorrespondingSourceObject: {fileID: 0}
  m_PrefabInstance: {fileID: 0}
  m_PrefabAsset: {fileID: 0}
  serializedVersion: 6
  m_Component:
  - component: {fileID: 1634205246924701928}
  - component: {fileID: 4795349835323957441}
  m_Layer: 5
  m_Name: AgentBlood
  m_TagString: Untagged
  m_Icon: {fileID: 0}
  m_NavMeshLayer: 0
  m_StaticEditorFlags: 0
  m_IsActive: 1
--- !u!224 &1634205246924701928
RectTransform:
  m_ObjectHideFlags: 0
  m_CorrespondingSourceObject: {fileID: 0}
  m_PrefabInstance: {fileID: 0}
  m_PrefabAsset: {fileID: 0}
  m_GameObject: {fileID: 723170875584757217}
  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_Children:
  - {fileID: 6709597060920382960}
  - {fileID: 4697338921097942144}
  m_Father: {fileID: 0}
  m_RootOrder: 0
  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: 100, y: 100}
  m_Pivot: {x: 0.5, y: 0.5}
--- !u!114 &4795349835323957441
MonoBehaviour:
  m_ObjectHideFlags: 0
  m_CorrespondingSourceObject: {fileID: 0}
  m_PrefabInstance: {fileID: 0}
  m_PrefabAsset: {fileID: 0}
  m_GameObject: {fileID: 723170875584757217}
  m_Enabled: 1
  m_EditorHideFlags: 0
  m_Script: {fileID: 11500000, guid: d58067ce8bb314a40a35fa05540fc26f, type: 3}
  m_Name:
  m_EditorClassIdentifier:
  BloodImg: {fileID: 223365057846072673}
--- !u!1 &1967359497185282953
GameObject:
  m_ObjectHideFlags: 0
  m_CorrespondingSourceObject: {fileID: 0}
  m_PrefabInstance: {fileID: 0}
  m_PrefabAsset: {fileID: 0}
  serializedVersion: 6
  m_Component:
  - component: {fileID: 4697338921097942144}
  - component: {fileID: 408992041407381287}
  - component: {fileID: 223365057846072673}
  m_Layer: 5
  m_Name: Blood
  m_TagString: Untagged
  m_Icon: {fileID: 0}
  m_NavMeshLayer: 0
  m_StaticEditorFlags: 0
  m_IsActive: 1
--- !u!224 &4697338921097942144
RectTransform:
  m_ObjectHideFlags: 0
  m_CorrespondingSourceObject: {fileID: 0}
  m_PrefabInstance: {fileID: 0}
  m_PrefabAsset: {fileID: 0}
  m_GameObject: {fileID: 1967359497185282953}
  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_Children: []
  m_Father: {fileID: 1634205246924701928}
  m_RootOrder: 1
  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: 114, y: 20}
  m_Pivot: {x: 0.5, y: 0.5}
--- !u!222 &408992041407381287
CanvasRenderer:
  m_ObjectHideFlags: 0
  m_CorrespondingSourceObject: {fileID: 0}
  m_PrefabInstance: {fileID: 0}
  m_PrefabAsset: {fileID: 0}
  m_GameObject: {fileID: 1967359497185282953}
  m_CullTransparentMesh: 0
--- !u!114 &223365057846072673
MonoBehaviour:
  m_ObjectHideFlags: 0
  m_CorrespondingSourceObject: {fileID: 0}
  m_PrefabInstance: {fileID: 0}
  m_PrefabAsset: {fileID: 0}
  m_GameObject: {fileID: 1967359497185282953}
  m_Enabled: 1
  m_EditorHideFlags: 0
  m_Script: {fileID: 11500000, guid: fe87c0e1cc204ed48ad3b37840f39efc, type: 3}
  m_Name:
  m_EditorClassIdentifier:
  m_Material: {fileID: 0}
  m_Color: {r: 1, g: 1, b: 1, a: 1}
  m_RaycastTarget: 1
  m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0}
  m_Maskable: 1
  m_OnCullStateChanged:
    m_PersistentCalls:
      m_Calls: []
  m_Sprite: {fileID: 21300000, guid: 55dc114e05fb7374c92abce91549673a, type: 3}
  m_Type: 3
  m_PreserveAspect: 0
  m_FillCenter: 1
  m_FillMethod: 0
  m_FillAmount: 1
  m_FillClockwise: 1
  m_FillOrigin: 0
  m_UseSpriteMesh: 0
  m_PixelsPerUnitMultiplier: 1
--- !u!1 &5515773206771629688
GameObject:
  m_ObjectHideFlags: 0
  m_CorrespondingSourceObject: {fileID: 0}
  m_PrefabInstance: {fileID: 0}
  m_PrefabAsset: {fileID: 0}
  serializedVersion: 6
  m_Component:
  - component: {fileID: 6709597060920382960}
  - component: {fileID: 5262139274812761644}
  - component: {fileID: 7945776341382208726}
  m_Layer: 5
  m_Name: Bottom
  m_TagString: Untagged
  m_Icon: {fileID: 0}
  m_NavMeshLayer: 0
  m_StaticEditorFlags: 0
  m_IsActive: 1
--- !u!224 &6709597060920382960
RectTransform:
  m_ObjectHideFlags: 0
  m_CorrespondingSourceObject: {fileID: 0}
  m_PrefabInstance: {fileID: 0}
  m_PrefabAsset: {fileID: 0}
  m_GameObject: {fileID: 5515773206771629688}
  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_Children: []
  m_Father: {fileID: 1634205246924701928}
  m_RootOrder: 0
  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: 114, y: 20}
  m_Pivot: {x: 0.5, y: 0.5}
--- !u!222 &5262139274812761644
CanvasRenderer:
  m_ObjectHideFlags: 0
  m_CorrespondingSourceObject: {fileID: 0}
  m_PrefabInstance: {fileID: 0}
  m_PrefabAsset: {fileID: 0}
  m_GameObject: {fileID: 5515773206771629688}
  m_CullTransparentMesh: 0
--- !u!114 &7945776341382208726
MonoBehaviour:
  m_ObjectHideFlags: 0
  m_CorrespondingSourceObject: {fileID: 0}
  m_PrefabInstance: {fileID: 0}
  m_PrefabAsset: {fileID: 0}
  m_GameObject: {fileID: 5515773206771629688}
  m_Enabled: 1
  m_EditorHideFlags: 0
  m_Script: {fileID: 11500000, guid: fe87c0e1cc204ed48ad3b37840f39efc, type: 3}
  m_Name:
  m_EditorClassIdentifier:
  m_Material: {fileID: 0}
  m_Color: {r: 1, g: 1, b: 1, a: 1}
  m_RaycastTarget: 1
  m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0}
  m_Maskable: 1
  m_OnCullStateChanged:
    m_PersistentCalls:
      m_Calls: []
  m_Sprite: {fileID: 21300000, guid: dad497ca20a3fd94787f2ef02372208e, type: 3}
  m_Type: 0
  m_PreserveAspect: 0
  m_FillCenter: 1
  m_FillMethod: 4
  m_FillAmount: 1
  m_FillClockwise: 1
  m_FillOrigin: 0
  m_UseSpriteMesh: 0
  m_PixelsPerUnitMultiplier: 1
Assets/Resources/Prefabs/AgentBlood.prefab.meta
New file
@@ -0,0 +1,7 @@
fileFormatVersion: 2
guid: 9e899c665e9539d4897a98dcfd859702
PrefabImporter:
  externalObjects: {}
  userData:
  assetBundleName:
  assetBundleVariant:
Assets/Scenes/Levels/Battle/Endless2D.unity
@@ -1404,7 +1404,7 @@
    - target: {fileID: 4657746055211589680, guid: 64f56bea91238bd428c595869a4070ad,
        type: 3}
      propertyPath: m_RootOrder
      value: 4
      value: 5
      objectReference: {fileID: 0}
    - target: {fileID: 4657746055211589680, guid: 64f56bea91238bd428c595869a4070ad,
        type: 3}
@@ -4274,6 +4274,7 @@
  - {fileID: 1693998523}
  - {fileID: 1777094488}
  - {fileID: 799533491}
  - {fileID: 1119859203}
  - {fileID: 1176213066}
  - {fileID: 213376311}
  m_Father: {fileID: 1340671931}
@@ -4339,6 +4340,11 @@
        type: 3}
      propertyPath: m_Name
      value: BottomCanvas
      objectReference: {fileID: 0}
    - target: {fileID: 4623057512704841786, guid: 29da21b318f42054db30c52123aa4dbf,
        type: 3}
      propertyPath: m_IsActive
      value: 1
      objectReference: {fileID: 0}
    - target: {fileID: 4623057512704841790, guid: 29da21b318f42054db30c52123aa4dbf,
        type: 3}
@@ -5582,6 +5588,50 @@
  m_Father: {fileID: 1435697235}
  m_RootOrder: 4
  m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!1 &1119859202
GameObject:
  m_ObjectHideFlags: 0
  m_CorrespondingSourceObject: {fileID: 0}
  m_PrefabInstance: {fileID: 0}
  m_PrefabAsset: {fileID: 0}
  serializedVersion: 6
  m_Component:
  - component: {fileID: 1119859203}
  - component: {fileID: 1119859204}
  m_Layer: 5
  m_Name: BloodUI
  m_TagString: Untagged
  m_Icon: {fileID: 0}
  m_NavMeshLayer: 0
  m_StaticEditorFlags: 0
  m_IsActive: 1
--- !u!224 &1119859203
RectTransform:
  m_ObjectHideFlags: 0
  m_CorrespondingSourceObject: {fileID: 0}
  m_PrefabInstance: {fileID: 0}
  m_PrefabAsset: {fileID: 0}
  m_GameObject: {fileID: 1119859202}
  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_Children: []
  m_Father: {fileID: 849284131}
  m_RootOrder: 3
  m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
  m_AnchorMin: {x: 0, y: 0}
  m_AnchorMax: {x: 1, y: 1}
  m_AnchoredPosition: {x: 0, y: 0}
  m_SizeDelta: {x: 0, y: 0}
  m_Pivot: {x: 0.5, y: 0.5}
--- !u!222 &1119859204
CanvasRenderer:
  m_ObjectHideFlags: 0
  m_CorrespondingSourceObject: {fileID: 0}
  m_PrefabInstance: {fileID: 0}
  m_PrefabAsset: {fileID: 0}
  m_GameObject: {fileID: 1119859202}
  m_CullTransparentMesh: 0
--- !u!1 &1143923415
GameObject:
  m_ObjectHideFlags: 0
@@ -10910,7 +10960,7 @@
    - target: {fileID: 1671498435182872929, guid: dcbcc0c51f9291c498c66e05663360e2,
        type: 3}
      propertyPath: m_RootOrder
      value: 3
      value: 4
      objectReference: {fileID: 0}
    - target: {fileID: 1671498435182872929, guid: dcbcc0c51f9291c498c66e05663360e2,
        type: 3}
Assets/Scripts/TowerDefense/Agents/Agent.cs
@@ -433,6 +433,11 @@
        public int WoodAimCount { get; set; }
        /// <summary>
        /// 血条的引用
        /// </summary>
        public AgentBlood BloodBar { get; set; }
        /// <summary>
        /// 更新怪物的移动速度。
        /// </summary>
        /// <param name="fscale"></param>
@@ -449,6 +454,8 @@
        /// <param name="coinDrop"></param>     设置当前小怪的金币掉落数据
        public void SetAgentData(float health, float moveSpeed = -1, int coinDrop = 0)
        {
            SpawnBlood();
            BloodBar.SetCurrentBlood(1f, false);
            configuration.maxHealth = health;
            configuration.startingHealth = health;
            configuration.SetMaxHealth(health);
@@ -477,6 +484,28 @@
        }
        /// <summary>
        /// 生成血条
        /// </summary>
        /// <param name="agent"></param>
        private void SpawnBlood()
        {
            if (BloodBar == null)
            {
                GameObject prefab = Resources.Load<GameObject>("Prefabs/AgentBlood");
                GameObject obj = Instantiate(prefab);
                BloodBar = obj.GetComponent<AgentBlood>();
                GameObject bloodUI = GameObject.Find("MainUI/BloodUI");
                obj.transform.SetParent(bloodUI.transform, false);
                AgentBlood agentBlood = obj.GetComponent<AgentBlood>();
                agentBlood.Target = this;
                configuration.died += agentBlood.OnDied;
                configuration.healthChanged += agentBlood.OnHealthChanged;
            }
            BloodBar.Hide();
        }
        /// <summary>
        /// Checks if the path is blocked
        /// </summary>
        /// <value>
Assets/Scripts/TowerDefense/Level/EndlessWave.cs
@@ -172,8 +172,6 @@
            int gold = waveData.Config.b_coin * enemyData.coin_rate;
            newAgent.SetAgentData(hp, speed, gold);
            // todo 这里先填1级后面需要修改
            newAgent.healthBar.SetHealthLevel(1);
            // 加入Manager统一管理.
            AgentInsManager.instance.addAgent(newAgent);
@@ -194,17 +192,16 @@
                doubleAgent.Initialize();
                doubleAgent.SetAgentData(hp, speed, gold);
                doubleAgent.healthBar.SetHealthLevel(1);
                AgentInsManager.instance.addAgent(doubleAgent);
            }
        }
        /// <summary>
        /// 从Tower的AttributeId获取到怪物的数据
        /// </summary>
        /// <param name="id"></param>
        /// <returns></returns>
        protected List<int> GetMonsterDataFromAttributeId(int id)
        /// 从Tower的AttributeId获取到怪物的数据
        /// </summary>
        /// <param name="id"></param>
        /// <returns></returns>
        protected List<int> GetMonsterDataFromAttributeId(int id)
        {
            geminfo tgem = new geminfo();
            if (JsonDataCenter.gemInfoDic.TryGetValue(id, out tgem))
Assets/Scripts/UI/AgentBlood.cs
New file
@@ -0,0 +1,112 @@
using DG.Tweening;
using UnityEngine.UI;
using UnityEngine;
using TowerDefense.Agents;
using Core.Health;
/**
 * Agent血条
 * @Author: chenxin
 * @Date: 2020-12-03 17:09:45
 */
namespace KTGMGemClient
{
    public class AgentBlood : MonoBehaviour
    {
        private Agent target;
        public Agent Target
        {
            get { return target; }
            set
            {
                target = value;
                if (target != null)
                    SetBase();
            }
        }
        public Image BloodImg;
        private float offsetY = 50f;
        private float scale = 1f;
        private Tweener tween;
        /// <summary>
        /// 简单设置一下血条大小的适配
        /// </summary>
        private void SetBase()
        {
            if (Target != null)
            {
                switch (Target.EnemyData.id)
                {
                    case 1: // 火
                        scale = 0.8f;
                        offsetY = 40f;
                        break;
                    case 2: // 水
                        scale = 1f;
                        break;
                    case 3: // 木
                        scale = 0.5f;
                        offsetY = 20f;
                        break;
                }
                transform.localScale = new Vector3(scale, scale, scale);
            }
        }
        private void Start()
        {
            BloodImg.fillAmount = 1;
        }
        // Update is called once per frame
        private void Update()
        {
            if (!gameObject.activeInHierarchy) return;
            Camera camera = GameObject.Find("SceneCamera3D").GetComponent<Camera>();
            Vector3 screenPos = camera.WorldToScreenPoint(Target.position);
            screenPos.y += offsetY;
            transform.position = screenPos;
        }
        public void SetCurrentBlood(float value, bool useTween = true)
        {
            if (useTween)
                tween = DOTween.To(() => BloodImg.fillAmount, (float v) => BloodImg.fillAmount = v, value, 0.3f);
            else
                BloodImg.fillAmount = value;
        }
        public void OnDied(HealthChangeInfo info)
        {
            if (tween != null)
                tween.Kill();
            Hide();
        }
        public void OnHealthChanged(HealthChangeInfo info)
        {
            if (info.absHealthDifference > 0)
            {
                if (!gameObject.activeInHierarchy && info.newHealth > 0.0001f)
                    gameObject.SetActive(true);
                float val = Mathf.Clamp01(info.newHealth / info.damageable.maxHealth);
                SetCurrentBlood(val);
            }
        }
        public void Hide()
        {
            gameObject.SetActive(false);
        }
    }
}
Assets/Scripts/UI/AgentBlood.cs.meta
New file
@@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: d58067ce8bb314a40a35fa05540fc26f
MonoImporter:
  externalObjects: {}
  serializedVersion: 2
  defaultReferences: []
  executionOrder: 0
  icon: {instanceID: 0}
  userData:
  assetBundleName:
  assetBundleVariant:
Assets/UI/Endless/Blood.meta
New file
@@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: e37a8c192898d8a4e9b51cf17cba0c8a
folderAsset: yes
DefaultImporter:
  externalObjects: {}
  userData:
  assetBundleName:
  assetBundleVariant:
Assets/UI/Endless/Blood/BloodBottom.png
Assets/UI/Endless/Blood/BloodBottom.png.meta
New file
@@ -0,0 +1,118 @@
fileFormatVersion: 2
guid: b1a52a9c1aa606f429f5efc336c598d9
TextureImporter:
  internalIDToNameTable: []
  externalObjects: {}
  serializedVersion: 11
  mipmaps:
    mipMapMode: 0
    enableMipMap: 0
    sRGBTexture: 1
    linearTexture: 0
    fadeOut: 0
    borderMipMap: 0
    mipMapsPreserveCoverage: 0
    alphaTestReferenceValue: 0.5
    mipMapFadeDistanceStart: 1
    mipMapFadeDistanceEnd: 3
  bumpmap:
    convertToNormalMap: 0
    externalNormalMap: 0
    heightScale: 0.25
    normalMapFilter: 0
  isReadable: 0
  streamingMipmaps: 0
  streamingMipmapsPriority: 0
  vTOnly: 0
  grayScaleToAlpha: 0
  generateCubemap: 6
  cubemapConvolution: 0
  seamlessCubemap: 0
  textureFormat: 1
  maxTextureSize: 2048
  textureSettings:
    serializedVersion: 2
    filterMode: -1
    aniso: -1
    mipBias: -100
    wrapU: 1
    wrapV: 1
    wrapW: -1
  nPOTScale: 0
  lightmap: 0
  compressionQuality: 50
  spriteMode: 1
  spriteExtrude: 1
  spriteMeshType: 1
  alignment: 0
  spritePivot: {x: 0.5, y: 0.5}
  spritePixelsToUnits: 100
  spriteBorder: {x: 0, y: 0, z: 0, w: 0}
  spriteGenerateFallbackPhysicsShape: 1
  alphaUsage: 1
  alphaIsTransparency: 1
  spriteTessellationDetail: -1
  textureType: 8
  textureShape: 1
  singleChannelComponent: 0
  maxTextureSizeSet: 0
  compressionQualitySet: 0
  textureFormatSet: 0
  ignorePngGamma: 0
  applyGammaDecoding: 0
  platformSettings:
  - serializedVersion: 3
    buildTarget: DefaultTexturePlatform
    maxTextureSize: 2048
    resizeAlgorithm: 0
    textureFormat: -1
    textureCompression: 1
    compressionQuality: 50
    crunchedCompression: 0
    allowsAlphaSplitting: 0
    overridden: 0
    androidETC2FallbackOverride: 0
    forceMaximumCompressionQuality_BC6H_BC7: 0
  - serializedVersion: 3
    buildTarget: Standalone
    maxTextureSize: 2048
    resizeAlgorithm: 0
    textureFormat: -1
    textureCompression: 1
    compressionQuality: 50
    crunchedCompression: 0
    allowsAlphaSplitting: 0
    overridden: 0
    androidETC2FallbackOverride: 0
    forceMaximumCompressionQuality_BC6H_BC7: 0
  - serializedVersion: 3
    buildTarget: Android
    maxTextureSize: 2048
    resizeAlgorithm: 0
    textureFormat: 4
    textureCompression: 1
    compressionQuality: 50
    crunchedCompression: 0
    allowsAlphaSplitting: 0
    overridden: 1
    androidETC2FallbackOverride: 0
    forceMaximumCompressionQuality_BC6H_BC7: 0
  spriteSheet:
    serializedVersion: 2
    sprites: []
    outline: []
    physicsShape: []
    bones: []
    spriteID: 5e97eb03825dee720800000000000000
    internalID: 0
    vertices: []
    indices:
    edges: []
    weights: []
    secondaryTextures: []
  spritePackingTag:
  pSDRemoveMatte: 0
  pSDShowRemoveMatteOption: 0
  userData:
  assetBundleName:
  assetBundleVariant:
Assets/UI/Endless/Blood/Blood_green.png
Assets/UI/Endless/Blood/Blood_green.png.meta
New file
@@ -0,0 +1,118 @@
fileFormatVersion: 2
guid: 55dc114e05fb7374c92abce91549673a
TextureImporter:
  internalIDToNameTable: []
  externalObjects: {}
  serializedVersion: 11
  mipmaps:
    mipMapMode: 0
    enableMipMap: 0
    sRGBTexture: 1
    linearTexture: 0
    fadeOut: 0
    borderMipMap: 0
    mipMapsPreserveCoverage: 0
    alphaTestReferenceValue: 0.5
    mipMapFadeDistanceStart: 1
    mipMapFadeDistanceEnd: 3
  bumpmap:
    convertToNormalMap: 0
    externalNormalMap: 0
    heightScale: 0.25
    normalMapFilter: 0
  isReadable: 0
  streamingMipmaps: 0
  streamingMipmapsPriority: 0
  vTOnly: 0
  grayScaleToAlpha: 0
  generateCubemap: 6
  cubemapConvolution: 0
  seamlessCubemap: 0
  textureFormat: 1
  maxTextureSize: 2048
  textureSettings:
    serializedVersion: 2
    filterMode: -1
    aniso: -1
    mipBias: -100
    wrapU: 1
    wrapV: 1
    wrapW: -1
  nPOTScale: 0
  lightmap: 0
  compressionQuality: 50
  spriteMode: 1
  spriteExtrude: 1
  spriteMeshType: 1
  alignment: 0
  spritePivot: {x: 0.5, y: 0.5}
  spritePixelsToUnits: 100
  spriteBorder: {x: 0, y: 0, z: 0, w: 0}
  spriteGenerateFallbackPhysicsShape: 1
  alphaUsage: 1
  alphaIsTransparency: 1
  spriteTessellationDetail: -1
  textureType: 8
  textureShape: 1
  singleChannelComponent: 0
  maxTextureSizeSet: 0
  compressionQualitySet: 0
  textureFormatSet: 0
  ignorePngGamma: 0
  applyGammaDecoding: 0
  platformSettings:
  - serializedVersion: 3
    buildTarget: DefaultTexturePlatform
    maxTextureSize: 2048
    resizeAlgorithm: 0
    textureFormat: -1
    textureCompression: 1
    compressionQuality: 50
    crunchedCompression: 0
    allowsAlphaSplitting: 0
    overridden: 0
    androidETC2FallbackOverride: 0
    forceMaximumCompressionQuality_BC6H_BC7: 0
  - serializedVersion: 3
    buildTarget: Standalone
    maxTextureSize: 2048
    resizeAlgorithm: 0
    textureFormat: -1
    textureCompression: 1
    compressionQuality: 50
    crunchedCompression: 0
    allowsAlphaSplitting: 0
    overridden: 0
    androidETC2FallbackOverride: 0
    forceMaximumCompressionQuality_BC6H_BC7: 0
  - serializedVersion: 3
    buildTarget: Android
    maxTextureSize: 2048
    resizeAlgorithm: 0
    textureFormat: 4
    textureCompression: 1
    compressionQuality: 50
    crunchedCompression: 0
    allowsAlphaSplitting: 0
    overridden: 1
    androidETC2FallbackOverride: 0
    forceMaximumCompressionQuality_BC6H_BC7: 0
  spriteSheet:
    serializedVersion: 2
    sprites: []
    outline: []
    physicsShape: []
    bones: []
    spriteID: 5e97eb03825dee720800000000000000
    internalID: 0
    vertices: []
    indices:
    edges: []
    weights: []
    secondaryTextures: []
  spritePackingTag:
  pSDRemoveMatte: 0
  pSDShowRemoveMatteOption: 0
  userData:
  assetBundleName:
  assetBundleVariant:
Assets/UI/Endless/Blood/Blood_red.png
Assets/UI/Endless/Blood/Blood_red.png.meta
New file
@@ -0,0 +1,118 @@
fileFormatVersion: 2
guid: dad497ca20a3fd94787f2ef02372208e
TextureImporter:
  internalIDToNameTable: []
  externalObjects: {}
  serializedVersion: 11
  mipmaps:
    mipMapMode: 0
    enableMipMap: 0
    sRGBTexture: 1
    linearTexture: 0
    fadeOut: 0
    borderMipMap: 0
    mipMapsPreserveCoverage: 0
    alphaTestReferenceValue: 0.5
    mipMapFadeDistanceStart: 1
    mipMapFadeDistanceEnd: 3
  bumpmap:
    convertToNormalMap: 0
    externalNormalMap: 0
    heightScale: 0.25
    normalMapFilter: 0
  isReadable: 0
  streamingMipmaps: 0
  streamingMipmapsPriority: 0
  vTOnly: 0
  grayScaleToAlpha: 0
  generateCubemap: 6
  cubemapConvolution: 0
  seamlessCubemap: 0
  textureFormat: 1
  maxTextureSize: 2048
  textureSettings:
    serializedVersion: 2
    filterMode: -1
    aniso: -1
    mipBias: -100
    wrapU: 1
    wrapV: 1
    wrapW: -1
  nPOTScale: 0
  lightmap: 0
  compressionQuality: 50
  spriteMode: 1
  spriteExtrude: 1
  spriteMeshType: 1
  alignment: 0
  spritePivot: {x: 0.5, y: 0.5}
  spritePixelsToUnits: 100
  spriteBorder: {x: 0, y: 0, z: 0, w: 0}
  spriteGenerateFallbackPhysicsShape: 1
  alphaUsage: 1
  alphaIsTransparency: 1
  spriteTessellationDetail: -1
  textureType: 8
  textureShape: 1
  singleChannelComponent: 0
  maxTextureSizeSet: 0
  compressionQualitySet: 0
  textureFormatSet: 0
  ignorePngGamma: 0
  applyGammaDecoding: 0
  platformSettings:
  - serializedVersion: 3
    buildTarget: DefaultTexturePlatform
    maxTextureSize: 2048
    resizeAlgorithm: 0
    textureFormat: -1
    textureCompression: 1
    compressionQuality: 50
    crunchedCompression: 0
    allowsAlphaSplitting: 0
    overridden: 0
    androidETC2FallbackOverride: 0
    forceMaximumCompressionQuality_BC6H_BC7: 0
  - serializedVersion: 3
    buildTarget: Standalone
    maxTextureSize: 2048
    resizeAlgorithm: 0
    textureFormat: -1
    textureCompression: 1
    compressionQuality: 50
    crunchedCompression: 0
    allowsAlphaSplitting: 0
    overridden: 0
    androidETC2FallbackOverride: 0
    forceMaximumCompressionQuality_BC6H_BC7: 0
  - serializedVersion: 3
    buildTarget: Android
    maxTextureSize: 2048
    resizeAlgorithm: 0
    textureFormat: 4
    textureCompression: 1
    compressionQuality: 50
    crunchedCompression: 0
    allowsAlphaSplitting: 0
    overridden: 1
    androidETC2FallbackOverride: 0
    forceMaximumCompressionQuality_BC6H_BC7: 0
  spriteSheet:
    serializedVersion: 2
    sprites: []
    outline: []
    physicsShape: []
    bones: []
    spriteID: 5e97eb03825dee720800000000000000
    internalID: 0
    vertices: []
    indices:
    edges: []
    weights: []
    secondaryTextures: []
  spritePackingTag:
  pSDRemoveMatte: 0
  pSDShowRemoveMatteOption: 0
  userData:
  assetBundleName:
  assetBundleVariant: