Component:StoppedPlayableCleaner

From Resonite Wiki
Revision as of 16:41, 18 October 2024 by 989onan (talk | contribs) (Forgot Spaces)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Component image 
File:StoppedPlayableCleanerComponent.png
Stopped Playable Cleaner component as seen in the Scene Inspector


This article or section is a Stub. You can help the Resonite Wiki by expanding it.


Stopped playable cleaner is used on play one shots in order to delete 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
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