Summary
Reloads the current scene.
- Assembly
- PlatformerGameKit
.dll - Namespace
- PlatformerGameKit
.Characters .States - Containing Type
- FlinchState
Syntax
public void ReloadCurrentScene()
Remarks
This method isn't used in code, but in the sample 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 |