(2 intermediate revisions by one other user not shown)
Line 17:
Line 17:
== Sync Delegates ==
== Sync Delegates ==
{{Table ComponentTriggers
{{Table ComponentTriggers
|SetArgumentSource()|[[Type:Action`2|Action`2]]<[[Type:String|String]]: key, [[Type:IField|IField]]: field>| Set a translation's argument key to use a certain field as the value source.
|SetArgumentSource:[[Type:Action`2|Action`2]]<[[Type:String|String]], [[Type:IField|IField]]>|[[Type:Action`2|Action`2]]<[[Type:String|String]], [[Type:IField|IField]]>|false| Can be called to set the argument source for the locale data.
|SetArgumentValue()|[[Type:Func`3|Func`3]]<[[Type:String|String]]: key, [[Type:Object|Object]]: value>| Set a translation's argument key to use a certain value.
|SetArgumentValue:[[Type:Func`3|Func`3]]<[[Type:String|String]], [[Type:Object|Object]], [[Type:Bool|Bool]]>|[[Type:Func`3|Func`3]]<[[Type:String|String]], [[Type:Object|Object]], [[Type:Bool|Bool]]>|false| Can be called to set the argument value for the locale data.
Locale String Driver component as seen in the Scene Inspector
The LocaleStringDriver component is used to turn a key into a translated string from a locale, and then fill its value arguments with field contents or values.