43 lines
922 B
C#
43 lines
922 B
C#
using System;
|
|
using UnityEngine;
|
|
|
|
namespace AlicizaX.Runtime
|
|
{
|
|
[Serializable]
|
|
public class AppBuilderSetting
|
|
{
|
|
public static bool EnableHybirdCLR
|
|
{
|
|
get
|
|
{
|
|
#if ENABLE_HYBRIDCLR
|
|
return true;
|
|
|
|
#else
|
|
return false;
|
|
#endif
|
|
}
|
|
}
|
|
|
|
public static AppBuilderSetting Instance
|
|
{
|
|
get
|
|
{
|
|
if (_instance == null)
|
|
{
|
|
TextAsset text = Resources.Load<TextAsset>("AppBuilderSetting");
|
|
_instance = Utility.Json.ToObject<AppBuilderSetting>(text.text);
|
|
}
|
|
|
|
return _instance;
|
|
}
|
|
}
|
|
|
|
private static AppBuilderSetting _instance;
|
|
|
|
public bool DebugMode = false;
|
|
public int ResMode = 0;
|
|
public Language Language = Runtime.Language.ChineseSimplified;
|
|
}
|
|
}
|