Files
plugin-library/Assets/00.StaryEvoTools/Runtime/HybridLoad/Base/AppConfig.cs

42 lines
1.3 KiB
C#
Raw Normal View History

2025-05-23 18:26:47 +08:00
using System;
using UnityEngine;
namespace Stary.Evo
{
public class AppConfig
{
2025-09-02 14:15:18 +08:00
public static OpenDomainType OpenDomainType { get; set; }
2026-01-08 12:25:29 +08:00
2025-05-23 18:26:47 +08:00
/// <summary>
/// package name
/// </summary>
2025-05-30 14:50:46 +08:00
public static string PackageDomainName { get; set; }
2026-01-08 12:25:29 +08:00
2025-05-23 18:26:47 +08:00
2026-04-12 16:48:41 +08:00
public static bool IsLogin { get; set; }
2025-05-30 14:50:46 +08:00
public static string IpConfig { get; set; }
public static string UserName { get; set; }
public static string PassWord { get; set; }
public static string ProductName { get; set; }
public static string Platform { get; set; }
2026-01-08 12:25:29 +08:00
2025-05-30 14:50:46 +08:00
public static string MainDomainVersion { get; set; }
2025-05-23 18:26:47 +08:00
2026-04-12 16:48:41 +08:00
2025-05-23 18:26:47 +08:00
2025-10-24 11:11:59 +08:00
2026-01-08 12:25:29 +08:00
public static bool DeveloperMode
{
get { return HybridClREntrance.Global.stage == StageType.Developer || PackageDomainName == "Main"; }
}
2025-05-23 18:26:47 +08:00
}
public class GlobalConfig
{
public const string RikidHandLeft = "LeftHandRender/RKHandVisual/Hand_L/left_wrist/left_palm";
public const string RikidHandRight = "RightHandRender/RKHandVisual/Hand_R/right_wrist/right_palm";
2026-01-08 12:25:29 +08:00
public const string RikidHandRightIndexTip =
"RightHandRender/RKHandVisual/Hand_R/right_wrist/right_index_metacarpal/right_index_proximal/right_index_intermediate/right_index_distal/right_index_tip";
2025-05-23 18:26:47 +08:00
}
}