This project is a path generator script in Unity using C#. The script generates a random path consisting of straight and turning platforms, given the number of turns and the density of left and right turns as input.
- Clone or download the project to your local machine.
- Open the project in Unity.
- Open the Scenes folder and open the Main scene.
- To generate the path, select the PathGenerator object in the Hierarchy window.
- Adjust the mapSize, LeftAndRightDensity, and other variables as desired.
- Click the Generate Platforms button to generate the path.
- Click the Clear Platforms button to clear the path.