Component:IsPlayingDriver

From Resonite Wiki
Component image 
Is Playing Driver component as seen in the Scene Inspector

The IsPlayingDriver component checks if a particular SyncPlayback is currently playing, and drives a set of Bool to reflect this status.

Fields

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.
Playback SyncPlayback The playback to check if it is playing
Targets list of FieldDrive`1<Bool> The set of booleans to drive to whether or not Playback is playing or not.

Usage

Attach to a slot and provide a value for Playback then any boolean in the list of Targets will drive to whether or not Playback is currently playing.

Examples

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


See Also