Component:LocaleStringDriver: Difference between revisions

From Resonite Wiki
Automated: create new component page
 
Automated: update Categories, SyncDelegates
Line 13: Line 13:
|ArgumentSources|{{RootFieldType|SyncDictionary`2|[[Type:String|String]], [[Type:RelayRef`1|RelayRef`1]]<[[Type:IField|IField]]>}}|TypeAdv4=true|
|ArgumentSources|{{RootFieldType|SyncDictionary`2|[[Type:String|String]], [[Type:RelayRef`1|RelayRef`1]]<[[Type:IField|IField]]>}}|TypeAdv4=true|
|ArgumentValues|{{RootFieldType|SyncDictionary`2|[[Type:String|String]], [[Type:SyncVar|SyncVar]]}}|TypeAdv5=true|
|ArgumentValues|{{RootFieldType|SyncDictionary`2|[[Type:String|String]], [[Type:SyncVar|SyncVar]]}}|TypeAdv5=true|
}}
== Sync Delegates ==
{{Table ComponentTriggers
|SetArgumentSource()|[[Type:Action`2|Action`2]]<[[Type:String|String]]: key, [[Type:IField|IField]]: field>|
|SetArgumentValue()|[[Type:Func`3|Func`3]]<[[Type:String|String]]: key, [[Type:Object|Object]]: value>|
}}
}}


Line 23: Line 29:
[[Category:Components:Localization{{#translation:}}|Locale String Driver]]
[[Category:Components:Localization{{#translation:}}|Locale String Driver]]
[[Category:Components{{#translation:}}|Locale String Driver]]
[[Category:Components{{#translation:}}|Locale String Driver]]
[[Category:ComponentStub]]
[[Category:ComponentStubs]]
[[Category:ComponentStubs]]

Revision as of 13:12, 6 November 2024

Component image 
Locale String Driver component as seen in the Scene Inspector


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


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.
Target field drive of String
Key String
Format String
Locale LocaleResource
ArgumentSources direct SyncDictionary`2<String, RelayRef`1<IField>>
ArgumentValues direct SyncDictionary`2<String, SyncVar>

Sync Delegates

Triggers
Method Name Method type and Arguments. Description
SetArgumentSource() Action`2<String: key, IField: field>
SetArgumentValue() Func`3<String: key, Object: value>

Behavior

Examples

See Also