chore: initial commit
This commit is contained in:
17
Assets/Scripts/Combat/HitInfo.cs
Normal file
17
Assets/Scripts/Combat/HitInfo.cs
Normal file
@@ -0,0 +1,17 @@
|
||||
using UnityEngine;
|
||||
using BaseGames.Core.Events;
|
||||
|
||||
namespace BaseGames.Combat
|
||||
{
|
||||
/// <summary>
|
||||
/// 命中信息(HurtBox.ReceiveDamage 广播给 VFX/Audio/Feedback)。
|
||||
/// </summary>
|
||||
public struct HitInfo
|
||||
{
|
||||
public DamageInfo DamageInfo;
|
||||
public Vector3 HitPoint;
|
||||
public Vector3 HitNormal;
|
||||
public Transform HitTransform;
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user