Component:StoppedPlayableCleaner: Difference between revisions

From Resonite Wiki
Add some info, will need to find out what GracePeriod does
Forgot Spaces
 
Line 4: Line 4:
}}
}}
{{stub}}
{{stub}}
Stopped playable cleaner is used on [[ProtoFlux:PlayOneShot|play one shots]] in order to delete them once they have finished playing.
Stopped playable cleaner is used on [[ProtoFlux:Play One Shot|play one shots]] in order to delete them once they have finished playing.


== Usage ==
== Usage ==
Line 19: Line 19:


== See Also ==
== See Also ==
* [[ProtoFlux:PlayOneShot|Play One Shot ProtoFlux Node]]
* [[ProtoFlux:Play One Shot|Play One Shot ProtoFlux Node]]
* [[Component:AudioClipPlayer|Audio Clip Player Component]]
* [[Component:AudioClipPlayer|Audio Clip Player Component]]



Latest revision as of 16:41, 18 October 2024

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