Component:TypeField

From Resonite Wiki
Revision as of 03:34, 12 November 2024 by 989onan (talk | contribs) (Add info)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Component image 
Type Field component as seen in the Scene Inspector

The TypeField component is used to store a Type which is usually a reference to a C# class.

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.
Type direct SyncType The Type this component is storing.

Usage

This can be used with ProtoFlux to get the color of a Type or its full name.

Examples

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


See Also