This is a sample project that shows one way of replicating the replay system in the game Super Meat Boy using Unity.
The branches in this repo represent the start and end points for implementation done in the video. The video can be found on the below YouTube channel.
youtube.com/@ShapedByRainStudios
Please feel free to take the this example project and use it however you'd like!