|Target|{{RootFieldType|FieldDrive`1|[[Type:Bool|Bool]]}}|TypeAdv0=true| The field to drive with whether or not <code>LocaleCode</code> is the local user's active locale code.
|LocaleCode|String|
|LocaleCode|String| The locale code to check for ignoring cass.
|MatchMainLanguage|Bool|
|MatchMainLanguage|Bool| Whether to match to the locale's main language.
}}
}}
== Behavior ==
== Examples ==
== See Also ==
== See Also ==
Line 20:
Line 16:
[[Category:Components:Localization{{#translation:}}|Locale Active Driver]]
[[Category:Components:Localization{{#translation:}}|Locale Active Driver]]
[[Category:Components{{#translation:}}|Locale Active Driver]]
[[Category:Components{{#translation:}}|Locale Active Driver]]
[[Category:ComponentStubs]]
Latest revision as of 17:55, 23 January 2025
Component image
Locale Active Driver component as seen in the Scene Inspector
The LocaleActiveDriver does a comparison against the local user's locale code and returns if it matches.