OnSimulationStop

This event is invoked when the simulation stops. It can be used to free any resources previously allocated, events are automatically unsubscribed when the simulation stops.

⚡ Event

void OnSimulationStop()

⚙️ Parameters

None.

↩️ Return Value

None.

📝 Example

function OnSimulationStop() {

    LogDebug("OnSimulationStop called");
}