43 lines
915 B
C#
43 lines
915 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using UnityEngine;
|
|
|
|
namespace Michsky.UI.Heat
|
|
{
|
|
[CreateAssetMenu(fileName = "New Localization Settings", menuName = "Heat UI/Localization/New Localization Settings")]
|
|
public class LocalizationSettings : ScriptableObject
|
|
{
|
|
[Serializable]
|
|
public class Language
|
|
{
|
|
public string languageID = "en-US";
|
|
|
|
public string languageName = "English";
|
|
|
|
public string localizedName = "English (US)";
|
|
|
|
public LocalizationLanguage localizationLanguage;
|
|
}
|
|
|
|
[Serializable]
|
|
public class Table
|
|
{
|
|
public string tableID;
|
|
|
|
public LocalizationTable localizationTable;
|
|
}
|
|
|
|
public List<Language> languages = new List<Language>();
|
|
|
|
public List<Table> tables = new List<Table>();
|
|
|
|
public string defaultLanguageID;
|
|
|
|
public int defaultLanguageIndex;
|
|
|
|
public bool enableExperimental;
|
|
|
|
public static string notInitializedText = "NOT_INITIALIZED";
|
|
}
|
|
}
|