FlinchState.

ReloadCurrentScene() Method

Summary

Reloads the current scene.

Syntax

public void ReloadCurrentScene()

Remarks

This method isn't used in code, but in the example player prefab has it assigned to the end event of the PlatformerGameKit.Characters.States.FlinchState.DieAnimation. In a real game, you would need a script to properly handle the player's death.

Return Value

Type Description
void