Files
zeling_v2/Assets/Scripts/Combat/HitInfo.cs
2026-05-08 11:04:00 +08:00

18 lines
387 B
C#
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
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;
}
}