Component:NullableMemberEditor: Difference between revisions

From Resonite Wiki
Automated: create new component page
 
add info
 
Line 3: Line 3:
|Name=Nullable Member Editor
|Name=Nullable Member Editor
}}
}}
{{stub}}
The '''Nullable Member Editor''' component is commonly used in [[Ref Hacking]] and is used to modify nullable values.


== Usage ==
Please look into Flux or component alternatives other than this component to edit nullables.
 
== Fields ==
{{Table ComponentFields
{{Table ComponentFields
|Continuous|Bool|
|Continuous|Bool| Whether changes should instantly update a target value.
|_path|String|
|_path|String| The sub element to edit via C# reflection.
|_target|{{RootFieldType|RelayRef`1|[[Type:IField|IField]]}}|TypeAdv2=true|
|_target|{{RootFieldType|RelayRef`1|[[Type:IField|IField]]}}|TypeAdv2=true| The value to be modifying.
|NullableBaseType|{{RootFieldType|SyncType}}|TypeAdv3=true|
|NullableBaseType|{{RootFieldType|SyncType}}|TypeAdv3=true| The type of the value stored within the nullable (for "Nullable<Float>" aka "Float?" This is "Float")
|_checkBox|'''[[Component:Checkbox|Checkbox]]'''|TypeAdv4=true|
|_checkBox|'''[[Component:Checkbox|Checkbox]]'''|TypeAdv4=true| Whether the nullable has a value.
|_stateDrive|{{RootFieldType|FieldDrive`1|[[Type:Bool|Bool]]}}|TypeAdv5=true|
|_stateDrive|{{RootFieldType|FieldDrive`1|[[Type:Bool|Bool]]}}|TypeAdv5=true| The field to drive with whether or not the nullable has a value.
|_button|'''[[Component:Button|Button]]'''|TypeAdv6=true|
|_button|'''[[Component:Button|Button]]'''|TypeAdv6=true| The button for editing the nullable.
}}
}}


== Behavior ==
== Usage ==
Used in [[Ref Hacking]]. Don't use for your creations or they will break at any time.


== Examples ==
== Examples ==


== See Also ==
== See Also ==
* [[Ref Hacking]]


[[Category:Components:Uncategorized{{#translation:}}|Nullable Member Editor]]
[[Category:Components:Uncategorized{{#translation:}}|Nullable Member Editor]]
[[Category:Components{{#translation:}}|Nullable Member Editor]]
[[Category:Components{{#translation:}}|Nullable Member Editor]]
[[Category:ComponentStubs]]

Latest revision as of 19:11, 26 June 2025

Component image 
Nullable Member Editor component as seen in the Scene Inspector

The Nullable Member Editor component is commonly used in Ref Hacking and is used to modify nullable values.

Please look into Flux or component alternatives other than this component to edit nullables.

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.
Continuous Bool Whether changes should instantly update a target value.
_path String The sub element to edit via C# reflection.
_target direct RelayRef`1<IField> The value to be modifying.
NullableBaseType direct SyncType The type of the value stored within the nullable (for "Nullable<Float>" aka "Float?" This is "Float")
_checkBox Checkbox Whether the nullable has a value.
_stateDrive field drive of Bool The field to drive with whether or not the nullable has a value.
_button Button The button for editing the nullable.

Usage

Used in Ref Hacking. Don't use for your creations or they will break at any time.

Examples

See Also