Files
2026-07-08 20:42:51 +08:00

61 lines
2.2 KiB
C#

using UnityEngine;
using TMPro;
namespace Michsky.UI.Reach
{
[CreateAssetMenu(fileName = "New UI Manager", menuName = "Reach UI/New UI Manager")]
public class UIManager : ScriptableObject
{
public static string buildID = "R201-240201";
// Settings
public bool enableDynamicUpdate = true;
// Achievements
public AchievementLibrary achievementLibrary;
public Color commonColor = new Color32(255, 255, 255, 255);
public Color rareColor = new Color32(255, 255, 255, 255);
public Color legendaryColor = new Color32(255, 255, 255, 255);
// Audio
public AudioClip hoverSound;
public AudioClip clickSound;
public AudioClip notificationSound;
// Colors
public Color accentColor = new Color32(255, 255, 255, 255);
public Color accentColorInvert = new Color32(255, 255, 255, 255);
public Color primaryColor = new Color32(255, 255, 255, 255);
public Color secondaryColor = new Color32(255, 255, 255, 255);
public Color negativeColor = new Color32(255, 255, 255, 255);
public Color backgroundColor = new Color32(255, 255, 255, 255);
// Fonts
public TMP_FontAsset fontLight;
public TMP_FontAsset fontRegular;
public TMP_FontAsset fontMedium;
public TMP_FontAsset fontSemiBold;
public TMP_FontAsset fontBold;
public TMP_FontAsset customFont;
// Localization
public bool enableLocalization;
public LocalizationSettings localizationSettings;
public static string localizationSaveKey = "GameLanguage_";
public LocalizationLanguage currentLanguage;
public static bool isLocalizationEnabled = false;
// Logo
public Sprite brandLogo;
public Sprite gameLogo;
// Splash Screen
public bool enableSplashScreen = true;
public bool showSplashScreenOnce = true;
public PressAnyKeyTextType pakType;
public string pakText = "Press {Any Key} To Start";
public string pakLocalizationText = "PAK_Part1 {PAK_Key} PAK_Part2";
public enum PressAnyKeyTextType { Default, Custom }
}
}