31 lines
933 B
C#
31 lines
933 B
C#
#if UNITY_EDITOR
|
|
using UnityEditor;
|
|
using UnityEngine;
|
|
|
|
namespace DDD
|
|
{
|
|
public class LocalizationManager : MonoBehaviour
|
|
{
|
|
[SerializeField]
|
|
private string _webUrl = "https://script.google.com/macros/s/AKfycbx6ZrQNJIot1A_uwjilgOxHEm7zPommHyi7nH-x1d8sNgMEUeoqHf8iwvEnA1AxKBU6/exec";
|
|
|
|
// [MenuItem("Tools/Localization/Import All From Sheet")]
|
|
// public static void ImportAll()
|
|
// {
|
|
// var url = GetManager()?.WebUrl;
|
|
// if (string.IsNullOrEmpty(url)) return;
|
|
//
|
|
// LocalizationImporter.ImportAll(url);
|
|
// }
|
|
//
|
|
// [MenuItem("Tools/Localization/Export All To Sheet")]
|
|
// public static void ExportAll()
|
|
// {
|
|
// var url = GetManager()?.WebUrl;
|
|
// if (string.IsNullOrEmpty(url)) return;
|
|
//
|
|
// LocalizationExporter.ExportAll(url);
|
|
// }
|
|
}
|
|
}
|
|
#endif |