Files
RedHotRoast-ios/Assets/Scripts/Define/Constant/AppConst.cs
T

53 lines
1.5 KiB
C#
Raw Normal View History

2026-04-22 09:52:55 +08:00
using UnityEngine;
using System.Collections.Generic;
using SGModule.Common;
2026-04-22 09:52:55 +08:00
namespace LoveLegend
2026-04-22 09:52:55 +08:00
{
public static class AppConst
{
#region Field
public static bool IsEnabledEngineLog = ConfigManager.GameConfig.enabledLog;
2026-04-22 09:52:55 +08:00
public const LogType EnabledFilterLogType =
LogType.Log | LogType.Warning | LogType.Error | LogType.Assert |
LogType.Exception;
public const bool IsRunInBG = true;
public const int SleepTimeoutMode = SleepTimeout.NeverSleep;
public const int AntiAliasing = 0;
public const int HighFrameRate = 60;
public const int LowFrameRate = 45;
public const float HDHighViewScale = 1f;
public const float HDLowViewScale = 0.9f;
public const float PixelsPerUnit = 100f;
public static Vector2Int StandardResolution = new Vector2Int(1080, 1920);
public static Vector2Int UIResolution = new Vector2Int(1080, 1920);
public static bool UseInternalSetting = true;
public static bool IsMultiLangue = true;
public static string CurrMultiLangue = "en";
public static string DefaultLangue = "en";
public static string InternalLangue = "en";
public static string DeviceLangue = "en";
public static List<string> CtrlDisableList = new List<string>();
#endregion
public static bool isPt()
{
if (CurrMultiLangue == "pt") return true;
return false;
}
}
}