ScriptComponent.onEnd() method

Invoked whenever the game has ended.

Signature:

onEnd(): void;

Returns:

void