Component:ButtonEnumShift

From Resonite Wiki
This page contains changes which are not marked for translation.
Component image 
Button Enum Shift`1 component as seen in the Scene Inspector


The ButtonEnumShift component takes in a target Enum and the amount to shift by (positive numbers are forward, negative numbers are backwards). When an IButton component on the same slot is pressed, this component will shift the enum.

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.
TargetValue IField`1<E> The target Enum.
ShiftDelta Int The amount to shift by.

Usage

This is used to shift enums by button press.

Examples

Related Components