123456789101112131415161718192021222324252627282930313233343536373839 |
- 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;
- }
- }
- }
|