Component:BooleanValueDriver: Difference between revisions

From Resonite Wiki
imported>Epsilion
mNo edit summary
 
m ProbablePrime moved page BooleanValueDriver`1 (Component) to Component:BooleanValueDriver`1: Creating component Namespace
(No difference)

Revision as of 06:30, 20 January 2024


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


Component image 
BooleanValueDriver`1 component as seen in the Scene Inspector

Intoduction

Drives the Field in TargetField to the value specified in TrueValue or FalseValue based on State

TargetField is generic, and is assigned a type when created in the Component Attacher

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.
State Bool The state of this component. Chooses which Value to use when driving TargetField
TargetField T The Field to drive
FalseValue T The value that is used to drive TargetField when State is false.
TrueValue T The value that is used to drive TargetField when State is true.

Behavior

Examples

Related Components