Introduce background spawning with parallax effect (#86)
Co-authored-by: Michal Pikulski <michal.a.pikulski@gmail.com> Reviewed-on: #86
This commit is contained in:
@@ -0,0 +1,32 @@
|
||||
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;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user