Component:VirtualMultiKey

From Resonite Wiki
Revision as of 00:04, 17 October 2024 by 989onan (talk | contribs) (add related)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Component image 
Virtual Multi Key component as seen in the Scene Inspector

This component when triggered by a button event will make the user press all the keys in the multikey at the same time.

Usage

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.
Keys direct SyncFieldList`1<Key> A list of keys that should be simulated being pressed when receiving a button event and they will be simulated by the source user of the button event.

Behavior

The keys do not press in order, and keys will not be pressed more than once if listed more than once.

Examples

See Also