Component:LocaleActiveDriver

From Resonite Wiki
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.

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. Some components stop their functionality when this field is disabled, but some don't.
Target field drive of Bool The field to drive with whether or not LocaleCode is the local user's active locale code.
LocaleCode String The locale code to check for ignoring cass.
MatchMainLanguage Bool Whether to match to the locale's main language.

See Also