Component:DebugSettingSwitch: Difference between revisions

From Resonite Wiki
debug
add info
 
Line 3: Line 3:
|Name=Debug Setting Switch
|Name=Debug Setting Switch
}}
}}
{{stub}}
The '''DebugSettingSwitch''' component is used to Switch profiles as a way of debugging. Same thing switching between VR and desktop does. Only works in user space.


{{Template:Debug}}
{{Template:Debug}}
Line 9: Line 9:
== Fields ==
== Fields ==
{{Table ComponentFields
{{Table ComponentFields
|TargetProfile|String|
|TargetProfile|String| The profile to Switch to.
}}
}}


== Usage ==
== Usage ==
Debug.


== Examples ==
== Examples ==
Debug.


== See Also ==
== See Also ==
Line 20: Line 22:
[[Category:Components:Uncategorized{{#translation:}}|Debug Setting Switch]]
[[Category:Components:Uncategorized{{#translation:}}|Debug Setting Switch]]
[[Category:Components{{#translation:}}|Debug Setting Switch]]
[[Category:Components{{#translation:}}|Debug Setting Switch]]
[[Category:ComponentStubs]]

Latest revision as of 16:48, 15 February 2025

Component image 
Debug Setting Switch component as seen in the Scene Inspector

The DebugSettingSwitch component is used to Switch profiles as a way of debugging. Same thing switching between VR and desktop does. Only works in user space.

This game element is a debug item. Elements like this may be removed at any time without warning, and creations should not rely on it.

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.
TargetProfile String The profile to Switch to.

Usage

Debug.

Examples

Debug.

See Also