[https://github.com/Neos-Metaverse/NeosPublic/issues/2108 <s>#2108 - ButtonValueShift "WrapAround" does not wrap around in reverse properly</s>]
[https://github.com/Neos-Metaverse/NeosPublic/issues/2431 <s>#2431 - ButtonValueShift<floatQ> is created with invalid values and fails to rotate target</s>]
[https://github.com/Neos-Metaverse/NeosPublic/issues/2441 <s>#2441 - ButtonValueShift<floatQ> doesn't rotate target as expected</s>]
Revision as of 22:31, 24 February 2024
This article or section is a Stub. You can help the Resonite Wiki by expanding it.
Component image
Button Value Shift`1 component as seen in the Scene Inspector
The ButtonValueShift component can be used to make a button add X to a value whenever it is pressed.
Whether or not the value should wrap around to the other extreme when reaching either Min or Max.
Usage
To function, the component simply needs to be attached to a slot that also has a button component attached to it.
From then on, pressing that button will activate the ButtonValueShift, making it shift its TargetValue by its Delta.