Quantum 3
3.1.0
An example of how to start a Quantum replay simulation from a replay file. Also works for loading a snapshot to start a local session from. More...
Public Member Functions | |
| void | Start () |
| Unity start event, will start the Quantum runner and simulation after deserializing the replay file. More... | |
| void | Update () |
| Unity Update event will update the simulation if a custom SimulationSpeedMultiplier was set. More... | |
Public Attributes | |
| TextAsset | DatabaseFile |
| Quantum asset database Json file. More... | |
| SimulationUpdateTime | DeltaTimeType = SimulationUpdateTime.EngineDeltaTime |
| Set the DeltaTimeType to SimulationUpdateTime.EngineDeltaTime to not progress the simulation time during break points. More... | |
| InstantReplaySettings | InstantReplayConfig = InstantReplaySettings.Default |
| Set InstantReplaySettings to enable instant replays. More... | |
| TextAsset | ReplayFile |
| Replay JSON file. More... | |
| bool | ShowReplayLabel |
| Toggle the replay gui label on/off. More... | |
| float | SimulationSpeedMultiplier = 1.0f |
| Simulation speed multiplier to playback the replay in a different speed. More... | |
An example of how to start a Quantum replay simulation from a replay file. Also works for loading a snapshot to start a local session from.
|
inline |
Unity start event, will start the Quantum runner and simulation after deserializing the replay file.
|
inline |
Unity Update event will update the simulation if a custom SimulationSpeedMultiplier was set.
| TextAsset Quantum.QuantumRunnerLocalReplay.ReplayFile |
Replay JSON file.
| TextAsset Quantum.QuantumRunnerLocalReplay.DatabaseFile |
Quantum asset database Json file.
| float Quantum.QuantumRunnerLocalReplay.SimulationSpeedMultiplier = 1.0f |
Simulation speed multiplier to playback the replay in a different speed.
| bool Quantum.QuantumRunnerLocalReplay.ShowReplayLabel |
Toggle the replay gui label on/off.
| SimulationUpdateTime Quantum.QuantumRunnerLocalReplay.DeltaTimeType = SimulationUpdateTime.EngineDeltaTime |
Set the DeltaTimeType to SimulationUpdateTime.EngineDeltaTime to not progress the simulation time during break points.
| InstantReplaySettings Quantum.QuantumRunnerLocalReplay.InstantReplayConfig = InstantReplaySettings.Default |
Set InstantReplaySettings to enable instant replays.