diff options
| author | Andrew Lee <alee14498@gmail.com> | 2019-11-03 18:31:04 -0500 |
|---|---|---|
| committer | Andrew Lee <alee14498@gmail.com> | 2019-11-03 18:31:04 -0500 |
| commit | e8dd5d4fd406e6e6b710cbe85309f6870bccc37a (patch) | |
| tree | db0e99cfdbefb1625d66d07631f43565ae8ff41f /Assets/Packages/Lean/Localization/Scripts/LeanSource.cs | |
| parent | 20b14c9a89821e6592bf25bed9329a5abe20495c (diff) | |
| download | Unicity-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.cs | 30 |
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 |
