Initial Commit

This commit is contained in:
2026-03-16 14:38:46 +02:00
commit b8f7327a21
2327 changed files with 253610 additions and 0 deletions
@@ -0,0 +1,23 @@
using UnityEngine;
namespace FlappyBird.Ground
{
[CreateAssetMenu(fileName = "GroundSettings", menuName = "FlappyBird/Ground Settings")]
public class GroundSettings : ScriptableObject
{
[Tooltip("World X position where the first ground segment starts.")]
public float spawnX = -5f;
[Tooltip("World X position where ground segments are returned to the pool.")]
public float despawnX = -15f;
[Tooltip("The exact width of the ground sprite/collider to ensure seamless looping.")]
public float groundWidth = 10f;
[Tooltip("World Y position where the ground is placed.")]
public float yPosition = -4f;
[Tooltip("Number of ground segments to create up front.")]
public int initialPoolSize = 3;
}
}