summaryrefslogtreecommitdiff
path: root/Thronefall_1_57/Decompile/I2.Loc/Example_ChangeLanguage.cs
diff options
context:
space:
mode:
Diffstat (limited to 'Thronefall_1_57/Decompile/I2.Loc/Example_ChangeLanguage.cs')
-rw-r--r--Thronefall_1_57/Decompile/I2.Loc/Example_ChangeLanguage.cs29
1 files changed, 0 insertions, 29 deletions
diff --git a/Thronefall_1_57/Decompile/I2.Loc/Example_ChangeLanguage.cs b/Thronefall_1_57/Decompile/I2.Loc/Example_ChangeLanguage.cs
deleted file mode 100644
index 69819ad..0000000
--- a/Thronefall_1_57/Decompile/I2.Loc/Example_ChangeLanguage.cs
+++ /dev/null
@@ -1,29 +0,0 @@
-using UnityEngine;
-
-namespace I2.Loc;
-
-public class Example_ChangeLanguage : MonoBehaviour
-{
- public void SetLanguage_English()
- {
- SetLanguage("English");
- }
-
- public void SetLanguage_French()
- {
- SetLanguage("French");
- }
-
- public void SetLanguage_Spanish()
- {
- SetLanguage("Spanish");
- }
-
- public void SetLanguage(string LangName)
- {
- if (LocalizationManager.HasLanguage(LangName))
- {
- LocalizationManager.CurrentLanguage = LangName;
- }
- }
-}