using UnityEngine; using Zenject; namespace DanroJump.Gameplay { public readonly struct PlatformSpawnContext { public PlatformSpawnContext( DiContainer container, JumpPlayerController player, Camera gameplayCamera, int spawnIndex, bool isStartPlatform, float worldY) { Container = container; Player = player; GameplayCamera = gameplayCamera; SpawnIndex = spawnIndex; IsStartPlatform = isStartPlatform; WorldY = worldY; } public DiContainer Container { get; } public JumpPlayerController Player { get; } public Camera GameplayCamera { get; } public int SpawnIndex { get; } public bool IsStartPlatform { get; } public float WorldY { get; } } }