Skip to content

ForceHardReset

Note

This function only exists in REV02 and above.

Description

Sets whether the next stage reload should reload all assets.

Note

This function does not reload the scene by itself; you must call LoadScene() manually.

Parameters

shouldHardReset

If set to false, the stage will reload normally. If set to true, the stage will reload all assets when reloaded.

Return Value

None.

Syntax

RSDK.ForceHardReset(bool32 shouldHardReset);
Stage::ForceHardReset(bool32 shouldHardReset);

Example

RSDK.ForceHardReset(true);
Stage::ForceHardReset(true);