Files
aibis-dream/Assets/Scripts/Utility/ConstRef.cs
T
dingyuntian 55e7a5c18c 手机端问题修改
1. tap跳转功能实现
2. 跳字优化
2025-12-29 17:42:15 +08:00

91 lines
3.2 KiB
C#

using System.IO;
using UnityEngine;
namespace AibisDream.Utility
{
public static class ConstRef
{
#if UNITY_ANDROID || UNITY_IOS
public const string QQURL = "https://qm.qq.com/q/Rfvn9jeyUc";
#else
public const string QQURL = "https://qm.qq.com/cgi-bin/qm/qr?_wv=1027&k=XQFpOqRb1_zqkCdR2bLT3kHb11XzZ54T" +
"&authKey=w8G8qxzecnATXDOec1Ybv8LA%2FTTN8gQkyegvbK%2FUZ9m90WxggTjXy2U6%2FJes" +
"WJF3&noverify=0&group_code=325268983";
#endif
public const string DiscordURL = "https://discord.gg/C7Xv8Z9NxG";
public const string BugSurveyURL = "https://jsj.top/f/F24cC6";
public const string SurveyURL_CN = "https://jsj.top/f/HkmCnH";
public const string SurveyURL_EN = "https://jsj.top/f/y501LX";
public const string SurveyURL_JP = "https://jsj.top/f/icnVug";
public const string WishlistURL = "https://store.steampowered.com/app/3473430/_All_Our_Broken_Parts?utm_source=playtest";
public static readonly string TestSaveFilePath = Application.streamingAssetsPath + "/TestSaveFiles";
#if UnityEditor
public static readonly string SaveFilePath = Application.persistentDataPath + "/SaveFiles/";
#else
public static readonly string SaveFilePath = Path.Combine(Application.persistentDataPath, "AllOurBrokenParts", "saves");
#endif
public static readonly string ChapterProgressPath = Path.Combine(Application.persistentDataPath, "AllOurBrokenParts", "Config", "chapter.json");
public static readonly string CharacterConfigPath = Path.Combine(Application.streamingAssetsPath, "Config", "character.csv");
public static readonly string LogFilePath = Path.Combine(Application.persistentDataPath, "LogFile");
#region 本地化索引
public const string UITextTable = "UIText";
public const string ActorNameTable = "ActorName";
#endregion
#region 资产
public const string CutLinePrefabName = "CutLine";
public const string TaskItemName = "Task Item Temp";
public const string GearFollowerPrefabName = "GearFollower";
public const string ScreenTextName = "Screen Text";
public const string ActorPrefabName = "ActorAnima";
public const string SpriteActorPrefabName = "SpriteActor";
public const string MobileAnima = "AnimaMobileObject";
public const string MobileSprite = "SpriteMobileObject";
public const string MobileObject = "PrefabMobileObject";
public const string BubblePrefab = "NormalBubble";
public const string PipelinePrefabAddress = "PipelinePrefab";
public const string RecordPrefab = "RecordItem";
#endregion
#region 动画配置
public const float TargetAspect = 16f / 9f;
public const float PanelDelayDuration = 0.4f;
#endregion
#region 文字速度配置 (毫秒)
public const int CharacterDelayTime = 70;
public const int LineMaxDelay = 2800;
public const int LineMinDelay = 600;
public const int AutoHideDelay = 150;
public const int FixedDelay = 200;
#endregion
}
}