29 lines
535 B
C#
29 lines
535 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using UnityEngine;
|
|
using OHM.UnityToolkit;
|
|
|
|
namespace OHM.UnityToolkit.Localization
|
|
{
|
|
[CreateAssetMenu(fileName = "locale_def", menuName = "OHM/Localization/New locale def")]
|
|
public class LocaleDef : ScriptableObject
|
|
{
|
|
public SystemLanguage language;
|
|
|
|
public string languageCode;
|
|
|
|
public KeysDic keys;
|
|
|
|
public void Test()
|
|
{
|
|
LocalizationManager.Instance.TestLocale(this);
|
|
}
|
|
|
|
[Serializable]
|
|
public class KeysDic : SerializableDictionary<string, string>
|
|
{
|
|
}
|
|
|
|
}
|
|
}
|