#if UNITY_2020_1_OR_NEWER
[assembly: UnityEditor.Localization]
#elif UNITY_2019_3_OR_NEWER
[assembly: UnityEditor.Localization.Editor.Localization]
#endif
namespace Unity.Tutorials.Core.Editor
{
static class Localization
{
///
/// Routes the call to the correct, or none, Tr() implementation, depending on the used Unity version.
/// See https://docs.unity3d.com/ScriptReference/Localization.Editor.Localization.Tr.html.
///
///
///
public static string Tr(string str)
#if UNITY_2020_1_OR_NEWER
=> UnityEditor.L10n.Tr(str);
#elif UNITY_2019_3_OR_NEWER
=> UnityEditor.Localization.Editor.Localization.Tr(str);
#else
=> str;
#endif
}
}