Component:BatchAction

From Resonite Wiki
Revision as of 12:37, 16 October 2024 by 989onan (talk | contribs) (Add info, no longer stub)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Component image 
Batch Action component as seen in the Scene Inspector

Batch action is a component that is used internally by the Undo Manager to handle keeping data that the user has done so that same user can Undo it later via the control menu(s).

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.
_description String a short description of what this group of items is undoing. Can be filled automatically with custom content when generated by a begin and end Undo Batch protoflux node

Usage

Used for User group Undo Steps

Examples

This component can be generated in the Undo Manager when doing certain actions, or when a End Undo Batch ProtoFlux node is used successfully for a user.

== Related Components