22 lines
492 B
C#
22 lines
492 B
C#
using System.Collections;
|
|
using System.Collections.Generic;
|
|
using UnityEngine;
|
|
using UnityEngine.Localization;
|
|
using UnityEngine.Localization.Settings;
|
|
using UnityEngine.Localization.Tables;
|
|
|
|
public class LanguageManager : MonoBehaviour
|
|
{
|
|
public static LanguageManager Instance;
|
|
|
|
/// <summary>
|
|
/// Contains all the translated string for the UI
|
|
/// </summary>
|
|
public LocalizedStringTable currentStringTable;
|
|
|
|
private void Awake()
|
|
{
|
|
Instance = this;
|
|
}
|
|
}
|