Dynamic Value Variable Driver is a component that can drive a [[Type:IField`1|IField`1 (Value Holder)]] to the value assigned to a dynamic variable with the name <code>VariableName</code>. if the specified variable cannot be found, the value will revert to <code>DefaultTarget</code> how this works is explained on [[Dynamic Variables]] page.
{{Infobox Component
{{Infobox Component
|Image=DynamicValueVariableDriver`1Component.png
|Image=DynamicValueVariableDriver`1Component.png
Line 11:
Line 11:
== Fields ==
== Fields ==
{{Table ComponentFields
{{Table ComponentFields
|VariableName|String|
|VariableName|String| {{Template:Variable Name Component}}
[[Category:Components{{#translation:}}|Dynamic Value Variable Driver`1]]
[[Category:Components{{#translation:}}|Dynamic Value Variable Driver`1]]
[[Category:Components:Data:Dynamic{{#translation:}}|Dynamic Value Variable Driver`1]]
[[Category:Components:Data:Dynamic{{#translation:}}|Dynamic Value Variable Driver`1]]
Revision as of 16:51, 19 March 2024
Dynamic Value Variable Driver is a component that can drive a IField`1 (Value Holder) to the value assigned to a dynamic variable with the name VariableName. if the specified variable cannot be found, the value will revert to DefaultTarget how this works is explained on Dynamic Variables page.
Component image
Dynamic Value Variable Driver`1 component as seen in the Scene Inspector