Infinite Ground / Endless Ground / Pooling Ground for 3D games
Preview:
- Create Gameobject > add component Infinite Ground
- Assign Target (player), Ground Prefab, and Ground Size (size in world scale)
- InfiniteGround.cs will spawns ground prefab in 9 places at Start
- InfiniteGround.cs will detect and reposition the 'Spawned Ground' that appears further from the target