14 lines
No EOL
234 B
C#
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;
|
|
}
|
|
}
|
|
} |