Component:LegacyUIStyle: Difference between revisions

From Resonite Wiki
Automated: create new component page
 
add info
Line 3: Line 3:
|Name=Legacy UIStyle
|Name=Legacy UIStyle
}}
}}
{{stub}}
The '''LegacyUIStyle''' component is used in old legacy content to specify what colors a UI should be depending on where it is. This should not be used in new content, and should be removed/replaced whenever possible.


== Usage ==
== Fields ==
{{Table ComponentFields
{{Table ComponentFields
|Color|ColorX|
|Color|ColorX| The normal color.
|UserParentedColor|ColorX|
|UserParentedColor|ColorX| The color a UI should have when parented under the user.
|PrivateColor|ColorX|
|PrivateColor|ColorX| The color a UI should have when it's in the dash world.
}}
}}


== Behavior ==
== Usage ==
Just dont.


== Examples ==
== Examples ==
Used to specify to Legacy UI what color it should use.


== See Also ==
== See Also ==
Line 20: Line 22:
[[Category:Components:Rendering:Visuals{{#translation:}}|Legacy UIStyle]]
[[Category:Components:Rendering:Visuals{{#translation:}}|Legacy UIStyle]]
[[Category:Components{{#translation:}}|Legacy UIStyle]]
[[Category:Components{{#translation:}}|Legacy UIStyle]]
[[Category:ComponentStubs]]

Revision as of 20:24, 21 January 2025

Component image 
Legacy UIStyle component as seen in the Scene Inspector

The LegacyUIStyle component is used in old legacy content to specify what colors a UI should be depending on where it is. This should not be used in new content, and should be removed/replaced whenever possible.

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. Some components stop their functionality when this field is disabled, but some don't.
Color ColorX The normal color.
UserParentedColor ColorX The color a UI should have when parented under the user.
PrivateColor ColorX The color a UI should have when it's in the dash world.

Usage

Just dont.

Examples

Used to specify to Legacy UI what color it should use.

See Also