@rbxts/ohmyprvd-lifecycles
v0.2.0-dev.2
Published
Implements a "small" amount of lifecycle events for providers.
Downloads
5
Readme
Oh My Prvd Lifecycles
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:BindToClosefor games andplugin.Unloadingfor plugins
