using UnityEngine; using UnityEngine.Events; namespace SC.XR.Unity.Module_DetectorSystem { public class LanguagePlugin { private static LanguagePlugin instance; public static LanguagePlugin Instance { get { if (instance == null) { if (Application.isEditor) { instance = LanguagePluginWin.Create(); } else if (!Application.isEditor && Application.platform == RuntimePlatform.Android) { instance = LanguagePluginAndroid.Create(); } else { instance = LanguagePluginOther.Create(); } } return instance; } } public virtual SCLanguageEnum GetSystemLanguage() { return 0; } } }