Documentation

Unity Engine

Download Unity

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 2 months 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.