Category:Components:Common UI:Button Interactions: Difference between revisions

Category page
moved media button interactions to their subcategory, added missing components, added a few descriptions, removed "Makes a button" repetition
Added a description for this category.
 
(2 intermediate revisions by the same user not shown)
Line 7: Line 7:


{{Table ComponentCategoryComponents
{{Table ComponentCategoryComponents
|ButtonActionTrigger||
|ButtonActionTrigger|| Triggers actions such as (C#) methods from [[Type:IButton|IButton]] interactions.
|ButtonDestroy|| Destroys an [[Type:IDestroyable|IDestroyable]].
|ButtonDestroy|| Destroys an [[Type:IDestroyable|IDestroyable]].
|ButtonDynamicImpulseTrigger||
|ButtonDynamicImpulseTrigger|| Sends dynamic impulses to flux node receivers that are listening to the same tag.
|ButtonDynamicImpulseTriggerWithReference|T|
|ButtonDynamicImpulseTriggerWithReference|T| Sends dynamic impulses to flux node receivers (for [[Reference Types]]) that are listening to the same tag.
|ButtonDynamicImpulseTriggerWithValue|T|
|ButtonDynamicImpulseTriggerWithValue|T| Sends dynamic impulses to flux node receivers (for [[Value Types]]) that are listening to the same tag.
|ButtonEditColorX|| Opens a color input to edit a given field.
|ButtonEditColorX|| Opens a color input to edit a given field.
|ButtonEnumShift|T|
|ButtonEnumShift|T| When a button is pressed, shifts the enum value by an amount provided.
|ButtonHoverEventRelay|| Forwards hover events to another slot.
|ButtonHoverEventRelay|| Forwards hover events to another slot.
|ButtonParentUnderUser||
|ButtonParentUnderUser|| When a button is pressed, parents a [[Slot|slot]] to the user that pressed the button.
|ButtonPressEventRelay|| Forwards press events to another slot.
|ButtonPressEventRelay|| Forwards press events to another slot.
|ButtonReferenceCycle|T| Changes from one reference to the next in a list of references.
|ButtonReferenceCycle|T| Changes from one reference to the next in a list of references.
Line 25: Line 25:
|ButtonValueSet|T| Writes a value to a field.
|ButtonValueSet|T| Writes a value to a field.
|ButtonValueShift|T| Add X to a value every time the button is pressed.
|ButtonValueShift|T| Add X to a value every time the button is pressed.
|ButtonWorldLink||
|ButtonWorldLink|| When pressed, this component will attempt to load a [[World|world]] for that user using the [[COmponent:WorldLink|WorldLink]] component.
}}
}}


[[Category:Components:Common UI]]
[[Category:Components:Common UI]]

Latest revision as of 00:57, 12 September 2024

Most components in this category and its subcategories make a button do something on press.

Subcategories
Category Summary
Media play audio on Button Events or interact with IPlayables
Specialized specific components implementing a few basic Resonite features
Components
Component Description
ButtonActionTrigger Triggers actions such as (C#) methods from IButton interactions.
ButtonDestroy Destroys an IDestroyable.
ButtonDynamicImpulseTrigger Sends dynamic impulses to flux node receivers that are listening to the same tag.
ButtonDynamicImpulseTriggerWithReference<T> Sends dynamic impulses to flux node receivers (for Reference Types) that are listening to the same tag.
ButtonDynamicImpulseTriggerWithValue<T> Sends dynamic impulses to flux node receivers (for Value Types) that are listening to the same tag.
ButtonEditColorX Opens a color input to edit a given field.
ButtonEnumShift<T> When a button is pressed, shifts the enum value by an amount provided.
ButtonHoverEventRelay Forwards hover events to another slot.
ButtonParentUnderUser When a button is pressed, parents a slot to the user that pressed the button.
ButtonPressEventRelay Forwards press events to another slot.
ButtonReferenceCycle<T> Changes from one reference to the next in a list of references.
ButtonReferenceSet<T> Write a reference to a field.
ButtonStringAppend Appends a specified string to the end of a string value.
ButtonStringErase Removes characters from the beginning or end of a string.
ButtonToggle Toggles a boolean value between on and off.
ButtonValueCycle<T> Changes from one value to the next in a list of values.
ButtonValueSet<T> Writes a value to a field.
ButtonValueShift<T> Add X to a value every time the button is pressed.
ButtonWorldLink When pressed, this component will attempt to load a world for that user using the WorldLink component.