13 lines
374 B
C#
13 lines
374 B
C#
using GameCore.ECS;
|
|
using GameCore.Events.Interfaces;
|
|
using GameCore.Math;
|
|
|
|
namespace GameCore.Events;
|
|
|
|
public readonly struct HitscanImpactEvent(Entity owner, Vector3 from, Vector3 to, HitResult hit) : IEvent
|
|
{
|
|
public readonly Entity Owner = owner;
|
|
public readonly Vector3 From = from;
|
|
public readonly Vector3 To = to;
|
|
public readonly HitResult Hit = hit;
|
|
} |