This is no longer a stub. Added a description, added field descriptions, added usage description.
Line 3:
Line 3:
|Name=Button Loop Set
|Name=Button Loop Set
}}
}}
{{stub}}
== Usage ==
The '''ButtonLoopSet''' component takes in an [[Type:IPlayable|IPlayable]]. When an [[Type:IButton|IButton]] is pressed while this component is in the same [[Slot|slot]], it will set the loop on this playable media depending on what is set up in this component.
{{Table ComponentFields
{{Table ComponentFields
|Playback|IPlayable|
|Playback|IPlayable| The referenced playable media.
|OnPress|LoopSetOptions|
|OnPress|LoopSetOptions| Sets the type of loop for this media when pressed.
|OnRelease|LoopSetOptions|
|OnRelease|LoopSetOptions| Sets the type of loop for this media when released.
}}
}}
== Behavior ==
== Usage ==
Basically a loop button that can be setup anywhere.
The ButtonLoopSet component takes in an IPlayable. When an IButton is pressed while this component is in the same slot, it will set the loop on this playable media depending on what is set up in this component.