A game about forced loneliness, made by TACStudios
1#if UNITY_2020_2_OR_NEWER
2[assembly: UnityEditor.Localization]
3#else
4using UnityEngine;
5using UnityEditor;
6
7namespace UnityEditor.Timeline
8{
9 // dummy functions
10 internal static class L10n
11 {
12 public static string Tr(string str)
13 {
14 return str;
15 }
16
17 public static string[] Tr(string[] str_list)
18 {
19 return str_list;
20 }
21
22 public static string Tr(string str, string groupName)
23 {
24 return str;
25 }
26
27 public static string TrPath(string path)
28 {
29 return path;
30 }
31
32 public static GUIContent TextContent(string text, string tooltip = null, Texture icon = null)
33 {
34 return EditorGUIUtility.TrTextContent(text, tooltip, icon);
35 }
36
37 public static GUIContent TextContent(string text, string tooltip, string iconName)
38 {
39 return EditorGUIUtility.TrTextContent(text, tooltip, iconName);
40 }
41
42 public static GUIContent TextContent(string text, Texture icon)
43 {
44 return EditorGUIUtility.TrTextContent(text, icon);
45 }
46
47 public static GUIContent TextContentWithIcon(string text, Texture icon)
48 {
49 return EditorGUIUtility.TrTextContentWithIcon(text, icon);
50 }
51
52 public static GUIContent TextContentWithIcon(string text, string iconName)
53 {
54 return EditorGUIUtility.TrTextContentWithIcon(text, iconName);
55 }
56
57 public static GUIContent TextContentWithIcon(string text, string tooltip, string iconName)
58 {
59 return EditorGUIUtility.TrTextContentWithIcon(text, tooltip, iconName);
60 }
61
62 public static GUIContent TextContentWithIcon(string text, string tooltip, Texture icon)
63 {
64 return EditorGUIUtility.TrTextContentWithIcon(text, tooltip, icon);
65 }
66
67 public static GUIContent TextContentWithIcon(string text, string tooltip, MessageType messageType)
68 {
69 return EditorGUIUtility.TrTextContentWithIcon(text, tooltip, messageType);
70 }
71
72 public static GUIContent TextContentWithIcon(string text, MessageType messageType)
73 {
74 return EditorGUIUtility.TrTextContentWithIcon(text, messageType);
75 }
76
77 public static GUIContent IconContent(string iconName, string tooltip = null)
78 {
79 return EditorGUIUtility.TrIconContent(iconName, tooltip);
80 }
81
82 public static GUIContent IconContent(Texture icon, string tooltip = null)
83 {
84 return EditorGUIUtility.TrIconContent(icon, tooltip);
85 }
86
87 public static GUIContent TempContent(string t)
88 {
89 return EditorGUIUtility.TrTempContent(t);
90 }
91
92 public static GUIContent[] TempContent(string[] texts)
93 {
94 return EditorGUIUtility.TrTempContent(texts);
95 }
96
97 public static GUIContent[] TempContent(string[] texts, string[] tooltips)
98 {
99 return EditorGUIUtility.TrTempContent(texts, tooltips);
100 }
101 }
102}
103#endif