Checkpoints save random number state during capture and restore them during replay.
Unlike barriers this function's call order can change between capture and replay.
This API can be used at the end of multiple asynchronous operations executed in parallel to maintain the random number sequence.
Because these operations can end in any order and then call
UnityEngine.Random, the random sequence can be different between capture and replay. Checkpoints allow you to accommodate for such scenarios.