33 lines
934 B
C#
33 lines
934 B
C#
|
|
using Core.Settings;
|
|||
|
|
using UnityEngine;
|
|||
|
|
|
|||
|
|
namespace Minigames.Airplane.Data
|
|||
|
|
{
|
|||
|
|
/// <summary>
|
|||
|
|
/// Parameters passed from AirplaneSpawnManager to spawners during initialization.
|
|||
|
|
/// Encapsulates shared references and configuration.
|
|||
|
|
/// </summary>
|
|||
|
|
public class SpawnInitParameters
|
|||
|
|
{
|
|||
|
|
/// <summary>
|
|||
|
|
/// Parent transform for spawned objects (organization)
|
|||
|
|
/// </summary>
|
|||
|
|
public Transform SpawnContainer { get; set; }
|
|||
|
|
|
|||
|
|
/// <summary>
|
|||
|
|
/// Settings reference for spawn configuration
|
|||
|
|
/// </summary>
|
|||
|
|
public IAirplaneSettings Settings { get; set; }
|
|||
|
|
|
|||
|
|
/// <summary>
|
|||
|
|
/// Create spawn initialization parameters
|
|||
|
|
/// </summary>
|
|||
|
|
public SpawnInitParameters(Transform spawnContainer, IAirplaneSettings settings)
|
|||
|
|
{
|
|||
|
|
SpawnContainer = spawnContainer;
|
|||
|
|
Settings = settings;
|
|||
|
|
}
|
|||
|
|
}
|
|||
|
|
}
|
|||
|
|
|