Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


SetLocaleEnabled(IAssetProvider, Locale, bool)

Adds or removes a locale's tables across the provider's collections when the locale is toggled.
Read time 1 minuteLast updated 13 days ago

Definition

public void SetLocaleEnabled(IAssetProvider provider, Locale locale, bool enabled)

Parameters

The provider instance from the settings chain.

locale

The locale being toggled.

enabled

Whether the locale is now enabled.