人头统计,伤害统计

This commit is contained in:
GL 2024-12-27 17:13:20 +08:00
parent 7a00470469
commit ae5c74f487
3 changed files with 6 additions and 3 deletions

View File

@ -427,7 +427,7 @@ MonoBehaviour:
spriteRenderer: {fileID: 4703411402842800734} spriteRenderer: {fileID: 4703411402842800734}
image: {fileID: 0} image: {fileID: 0}
isAnimationPlay: 1 isAnimationPlay: 1
mycollider: {fileID: 0} mycollider: {fileID: 5307107303863668509}
attackClass: {fileID: 0} attackClass: {fileID: 0}
CurrentIndex: 33 CurrentIndex: 33
hitIndex: 2 hitIndex: 2
@ -437,6 +437,8 @@ MonoBehaviour:
mySkillUp: {fileID: 0} mySkillUp: {fileID: 0}
enemyId: enemyId:
moveSpeed: 2 moveSpeed: 2
MengyaoSprite: {fileID: 0}
SkillSprites: []
harmNumber: 0 harmNumber: 0
--- !u!210 &6468108308622956862 --- !u!210 &6468108308622956862
SortingGroup: SortingGroup:
@ -617,7 +619,7 @@ SpriteRenderer:
m_SortingLayerID: 0 m_SortingLayerID: 0
m_SortingLayer: 0 m_SortingLayer: 0
m_SortingOrder: 0 m_SortingOrder: 0
m_Sprite: {fileID: 21300000, guid: aa6f66265746cb041bbfdf887abe64f9, type: 3} m_Sprite: {fileID: 21300000, guid: 645dca14ffff13041862597ed96cee91, type: 3}
m_Color: {r: 1, g: 1, b: 1, a: 1} m_Color: {r: 1, g: 1, b: 1, a: 1}
m_FlipX: 0 m_FlipX: 0
m_FlipY: 0 m_FlipY: 0

@ -1 +1 @@
Subproject commit 7d53694eb5a1302dad487dfa09580b1a1720da88 Subproject commit cdcf8585abc0d49cdcac9356695c1e674a69efec

View File

@ -9,6 +9,7 @@ public class enemy : Role
[Header("移动速度")] public float moveSpeed; [Header("移动速度")] public float moveSpeed;
[Header("萌妖头像")] public Sprite MengyaoSprite; [Header("萌妖头像")] public Sprite MengyaoSprite;
[Header("萌妖技能图标")] public List<Sprite> SkillSprites; [Header("萌妖技能图标")] public List<Sprite> SkillSprites;
[HideInInspector] [HideInInspector]
public float harmNumber = 0; // 伤害 public float harmNumber = 0; // 伤害
public float HarmNumber public float HarmNumber