18 lines
472 B
C#
18 lines
472 B
C#
using Unity.Entities;
|
|
using Unity.Mathematics;
|
|
|
|
namespace ProjectM.Simulation
|
|
{
|
|
/// <summary>
|
|
/// Singleton describing how many upgrade pickups to spawn and where (mirrors TrainingDummySpawner).
|
|
/// Consumed once by the server's UpgradePickupSpawnSystem.
|
|
/// </summary>
|
|
public struct UpgradePickupSpawner : IComponentData
|
|
{
|
|
public Entity Prefab;
|
|
public float3 Origin;
|
|
public int Count;
|
|
public float Spacing;
|
|
}
|
|
}
|