42 lines
803 B
C#
42 lines
803 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using UnityEngine;
|
|
|
|
namespace Michsky.UI.Heat
|
|
{
|
|
[CreateAssetMenu(fileName = "New Localization Table", menuName = "Heat UI/Localization/New Language")]
|
|
public class LocalizationLanguage : ScriptableObject
|
|
{
|
|
[Serializable]
|
|
public class TableList
|
|
{
|
|
public LocalizationTable table;
|
|
|
|
public List<TableContent> tableContent = new List<TableContent>();
|
|
}
|
|
|
|
[Serializable]
|
|
public class TableContent
|
|
{
|
|
public string key;
|
|
|
|
[TextArea]
|
|
public string value;
|
|
|
|
public AudioClip audioValue;
|
|
|
|
public Sprite spriteValue;
|
|
}
|
|
|
|
public LocalizationSettings localizationSettings;
|
|
|
|
public string languageID;
|
|
|
|
public string languageName;
|
|
|
|
public string localizedName;
|
|
|
|
public List<TableList> tableList = new List<TableList>();
|
|
}
|
|
}
|