Component:StoppedPlayableCleaner

From Resonite Wiki
Component image 
File:StoppedPlayableCleanerComponent.png
Stopped Playable Cleaner component as seen in the Scene Inspector

Stopped playable cleaner is used on play one shots in order to delete or clean them once they have finished playing.

Usage

Fields
Name Type Description
persistent Bool Determines whether or not this item will be saved to the server.
UpdateOrder Int Controls the order in which this component is updated.
Enabled Bool Controls whether or not this component is enabled.
Playable IPlayable the audio player that is playing audio
GracePeriod Float How long to wait before deleting the component after it has finished playing.
CheckingUser User The user that is monitoring the Playable on their machine to check when it has stopped playing

Behavior

This component can stop working if the user is AFK or the slot is disabled, and can cause issues in items like boopers and overload the sound buffer.

Examples

See Also