Track Unity source, scenes, editable assets, licenses, tools and QA evidence. Exclude generated caches, Windows builds and raw runtime logs.
35 lines
733 B
C#
35 lines
733 B
C#
using System;
|
|
using UnityEngine;
|
|
|
|
namespace Ironspore
|
|
{
|
|
[Serializable]
|
|
public sealed class GameLocale
|
|
{
|
|
public string code;
|
|
public string nativeName;
|
|
public TextAsset table;
|
|
}
|
|
|
|
[CreateAssetMenu(menuName = "Ironspore/Localization Catalog")]
|
|
public sealed class LocalizationCatalog : ScriptableObject
|
|
{
|
|
public GameLocale[] locales;
|
|
public Font worldFont;
|
|
public UnityEngine.TextCore.Text.FontAsset uiFont;
|
|
}
|
|
|
|
[Serializable]
|
|
public sealed class TranslationEntry
|
|
{
|
|
public string key;
|
|
public string value;
|
|
}
|
|
|
|
[Serializable]
|
|
public sealed class TranslationTable
|
|
{
|
|
public TranslationEntry[] entries;
|
|
}
|
|
}
|