Component:SetType

From Resonite Wiki
Revision as of 22:04, 21 October 2024 by 989onan (talk | contribs) (add info)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Component image 
Set Type component as seen in the Scene Inspector


This article or section is a Stub. You can help the Resonite Wiki by expanding it.


Set type is a component that is part of the undo system. This stores an undo step for setting a type field.

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.
Target SyncType The value field for a type value that was changed.
ValueBefore direct SyncType The value it was before edit.
ValueAfter direct SyncType The value it became after edit.
_performed Bool Whether this was done (true) or can be redone (false)
_description String The description of this undo step for changing a type field.

Behavior

Examples

See Also

Undo System