Component:SetType

From Resonite Wiki
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