14 lines
216 B
C#
14 lines
216 B
C#
using Unity.Entities;
|
|
using Unity.Mathematics;
|
|
|
|
public struct FishSpawner : IComponentData, IQueryTypeParameter
|
|
{
|
|
public int spawnCount;
|
|
|
|
public float3 areaSize;
|
|
|
|
public Entity prefab;
|
|
|
|
public float3 position;
|
|
}
|