(clienr) feat:事件定义
This commit is contained in:
@ -169,6 +169,7 @@ namespace Entity
|
||||
// 协程引用
|
||||
private Coroutine _attackCoroutine;
|
||||
|
||||
protected List<Hediff> hediffs;
|
||||
|
||||
|
||||
[SerializeField] private float _hitBarUIShowTime = 5;
|
||||
|
15
Client/Assets/Scripts/Entity/Hediff.cs
Normal file
15
Client/Assets/Scripts/Entity/Hediff.cs
Normal file
@ -0,0 +1,15 @@
|
||||
using Data;
|
||||
|
||||
namespace Entity
|
||||
{
|
||||
public class Hediff
|
||||
{
|
||||
public float Duration{get;private set;}
|
||||
|
||||
|
||||
public Hediff(HediffDef def)
|
||||
{
|
||||
|
||||
}
|
||||
}
|
||||
}
|
3
Client/Assets/Scripts/Entity/Hediff.cs.meta
Normal file
3
Client/Assets/Scripts/Entity/Hediff.cs.meta
Normal file
@ -0,0 +1,3 @@
|
||||
fileFormatVersion: 2
|
||||
guid: afec36ba23b944cf94ca944a8f8f35f4
|
||||
timeCreated: 1756308924
|
Reference in New Issue
Block a user