zip压缩加载测试
This commit is contained in:
52
Assets/Main/Script/Runtime/Base/AppConfig.cs
Normal file
52
Assets/Main/Script/Runtime/Base/AppConfig.cs
Normal file
@@ -0,0 +1,52 @@
|
||||
using System;
|
||||
using UnityEngine;
|
||||
|
||||
namespace Stary.Evo
|
||||
{
|
||||
public class AppConfig
|
||||
{
|
||||
/// <summary>
|
||||
/// package name
|
||||
/// </summary>
|
||||
public static string ASSETPACKGENAME;
|
||||
|
||||
/// <summary>
|
||||
/// 热更资源路径
|
||||
/// </summary>
|
||||
public static string PATHCONFIG;
|
||||
|
||||
public static string IPCONFIG;
|
||||
public static string USERNAME;
|
||||
public static string PASSWORD;
|
||||
|
||||
public static string IPCONFIGVideo;
|
||||
|
||||
/// <summary>
|
||||
/// 主场景main实例物体
|
||||
/// </summary>
|
||||
private static GameObject _MainBaseModel;
|
||||
|
||||
/// <summary>
|
||||
/// 赋值默认的实例
|
||||
/// </summary>
|
||||
public static void SetDefaultMainInstance(GameObject mainbase)
|
||||
{
|
||||
_MainBaseModel = mainbase;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 赋值默认的实例
|
||||
/// </summary>
|
||||
public static GameObject GetDefaultMainInstance()
|
||||
{
|
||||
return _MainBaseModel;
|
||||
}
|
||||
}
|
||||
|
||||
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";
|
||||
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";
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user