@rbxts/prvdmwrong-lifecycles
v0.2.0-dev.8
Published
Implements a "small" amount of lifecycle events for providers. We'll admit. We've gotten a bit too lifecycle happy: - `:onPostSimulation(dt: number)` runs every `RunService.PostSimulation` - `:onPreSimulation(dt: number)` runs every `RunService.PreSimul
Downloads
8
Readme
Lifecycles for Prvd 'M Wrong
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
This package is part of Prvd 'M Wrong.