aboutsummaryrefslogtreecommitdiff
path: root/Assets/Packages/Lean/Localization/Scripts/LeanSource.cs
diff options
context:
space:
mode:
authorAndrew Lee <alee14498@gmail.com>2019-11-03 18:31:04 -0500
committerAndrew Lee <alee14498@gmail.com>2019-11-03 18:31:04 -0500
commite8dd5d4fd406e6e6b710cbe85309f6870bccc37a (patch)
treedb0e99cfdbefb1625d66d07631f43565ae8ff41f /Assets/Packages/Lean/Localization/Scripts/LeanSource.cs
parent20b14c9a89821e6592bf25bed9329a5abe20495c (diff)
downloadUnicity-e8dd5d4fd406e6e6b710cbe85309f6870bccc37a.tar.gz
Unicity-e8dd5d4fd406e6e6b710cbe85309f6870bccc37a.tar.bz2
Unicity-e8dd5d4fd406e6e6b710cbe85309f6870bccc37a.zip
Remove everything
Diffstat (limited to 'Assets/Packages/Lean/Localization/Scripts/LeanSource.cs')
-rw-r--r--Assets/Packages/Lean/Localization/Scripts/LeanSource.cs30
1 files changed, 0 insertions, 30 deletions
diff --git a/Assets/Packages/Lean/Localization/Scripts/LeanSource.cs b/Assets/Packages/Lean/Localization/Scripts/LeanSource.cs
deleted file mode 100644
index 7480245..0000000
--- a/Assets/Packages/Lean/Localization/Scripts/LeanSource.cs
+++ /dev/null
@@ -1,30 +0,0 @@
-using UnityEngine;
-using System.Collections.Generic;
-
-namespace Lean.Localization
-{
- /// <summary>This is the interface used for all translation sources. When a translation source is built, it will populate the LeanLocalization class with its translation data.</summary>
- public abstract class LeanSource : MonoBehaviour
- {
- public static LinkedList<LeanSource> Instances = new LinkedList<LeanSource>();
-
- [System.NonSerialized]
- private LinkedListNode<LeanSource> node;
-
- public abstract void Compile(string primaryLanguage, string secondaryLanguage);
-
- protected virtual void OnEnable()
- {
- node = Instances.AddLast(this);
-
- LeanLocalization.DelayUpdateTranslations();
- }
-
- protected virtual void OnDisable()
- {
- Instances.Remove(node);
-
- LeanLocalization.DelayUpdateTranslations();
- }
- }
-} \ No newline at end of file