add project files
This commit is contained in:
@@ -0,0 +1,28 @@
|
||||
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>
|
||||
{
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user