using UnityEngine;
using UnityEditor;
namespace Unity.Tutorials.Core.Editor
{
///
/// Proxy class for accessing UnityEditor.LocalizationDatabase.
///
internal class LocalizationDatabaseProxy
{
///
/// Is Editor Localization enabled.
///
public static bool enableEditorLocalization
{
get => LocalizationDatabase.enableEditorLocalization;
set => LocalizationDatabase.enableEditorLocalization = value;
}
///
/// Returns the current Editor language.
///
public static SystemLanguage currentEditorLanguage =>
LocalizationDatabase.currentEditorLanguage;
///
/// Returns available Editor languages.
///
///
public static SystemLanguage[] GetAvailableEditorLanguages() =>
LocalizationDatabase.GetAvailableEditorLanguages();
}
}