12 lines
273 B
C#
12 lines
273 B
C#
|
|
using Unity.Entities;
|
||
|
|
using Unity.Mathematics;
|
||
|
|
|
||
|
|
namespace HappyForest.Prototypen
|
||
|
|
{
|
||
|
|
// IComponentData markiert dieses Struct als DOTS-Komponente
|
||
|
|
public struct PilleWanderData : IComponentData
|
||
|
|
{
|
||
|
|
public float Speed;
|
||
|
|
public float3 Direction;
|
||
|
|
}
|
||
|
|
}
|