An example of how to start a Quantum replay simulation from a replay file. 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... | |
SimulationUpdateTime | DeltaTypeType => DeltaTimeType |
Use DeltaTimeType instead. More... | |
InstantReplaySettings | InstantReplayConfig = InstantReplaySettings.Default |
Instant replay configurations to start the replay with. 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.
|
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.
SimulationUpdateTime Quantum.QuantumRunnerLocalReplay.DeltaTimeType = SimulationUpdateTime.EngineDeltaTime |
Set the DeltaTimeType to SimulationUpdateTime.EngineDeltaTime to not progress the simulation time during break points.
SimulationUpdateTime Quantum.QuantumRunnerLocalReplay.DeltaTypeType => DeltaTimeType |
Use DeltaTimeType instead.
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.
InstantReplaySettings Quantum.QuantumRunnerLocalReplay.InstantReplayConfig = InstantReplaySettings.Default |
Instant replay configurations to start the replay with.