20 lines
348 B
C#
20 lines
348 B
C#
using GameCore.TinyECS;
|
|
using Unity.Mathematics;
|
|
|
|
namespace GameCore.Test
|
|
{
|
|
using Entity = Entity<EntityType>;
|
|
|
|
public struct TransformData
|
|
{
|
|
public float3 position;
|
|
public float scale;
|
|
public quaternion rotation;
|
|
}
|
|
|
|
public struct StateData
|
|
{
|
|
public bool death;
|
|
public int hp;
|
|
}
|
|
} |