This package implements a "small" amount of lifecycle events for providers.
We'll admit. We've gotten a bit too lifecycle happy:
-
:onPostSimulation(dt: number)
runs everyRunService.PostSimulation
-
:onPreSimulation(dt: number)
runs everyRunService.PreSimulation
-
:onPreRender(dt: number)
runs everyRunService.PreRender
-
:onPlayerAdded(player: Player)
runs everyPlayer.PlayerAdded
-
:onPlayerLeaving(player: Player)
runs everyPlayer.PlayerLeaving
-
:onShutdown()
binds togame:BindToClose
for games andplugin.Unloading
for plugins