In this unity endless runner tutorial we learn how to raise events to spawn track pieces in an endless runner style game. As the player passes through a trigger collider at the end of a track piece, we raise an event that tells the track generator to generate and place the next track piece. This allows the player to drive endlessly with new tracks being spawned in front of them, a key concept for endless runner games. If you like this unity tutorial please drop a like on the video and subscribe.
Full project source code on Github: http://bit.ly/endlessracer
Check out my 2D level generation asset Strata: http://bit.ly/strataunity
This Unity3d video will be relevant for people looking for unity endless runner, unity endless game tutorials and wanting to learn about unity events or procedural generation. Thanks for checking it out!