2D-Platformer/Assets/Scripts/Events/ItemPickupEventData.cs
2022-02-12 12:53:50 +02:00

14 lines
No EOL
234 B
C#

using Unity.Entities;
namespace Events
{
public struct ItemPickupEventData : IComponentData
{
public readonly Entity PlayerEntity;
public ItemPickupEventData(Entity playerEntity)
{
PlayerEntity = playerEntity;
}
}
}