public static void SaveReplay(string fileName, Replay replay) { File.WriteAllBytes(ReplayPath(fileName), replay.ToByteArray().Compressed()); }
private static void StartStreaming(Replay replay) { StopStreaming(); streamer = UnityInstance.Instance.StartCoroutine(StreamPlayback(replay)); }