2025-02-07 16:04:12 +08:00
using System ;
using System.Collections.Generic ;
using AlicizaX.Runtime ;
using UnityEngine ;
using UnityEngine.Serialization ;
/// <summary>
/// HybridCLRCustomGlobalSettings.
/// </summary>
[Serializable]
public class FrameworkHotUpdateSettings : ScriptableObject
{
public bool Enable
{
get
{
#if ENABLE_HYBRIDCLR
return true ;
#else
return false ;
#endif
}
}
[Header("Auto sync with [HybridCLRGlobalSettings] ")] [Tooltip(" You should modify the file form file path [ Assets / CustomHybridCLR / Settings / HybridCLRGlobalSettings . asset ] ")]
2025-02-10 15:29:53 +08:00
public List < string > HotUpdateAssemblies = new List < string > ( ) { "GameLib.dll" , "GameProto.dll" , "GameBase.dll" , "GameLogic.dll" } ;
2025-02-07 16:04:12 +08:00
[Header("Need manual setting!")] public List < string > AOTMetaAssemblies = new List < string > ( ) { "mscorlib.dll" , "System.dll" , "System.Core.dll" } ;
/// <summary>
/// Dll of main business logic assembly
/// </summary>
public string LogicMainDllName = "GameLogic.dll" ;
/// <summary>
/// 程序集文本资产打包Asset后缀名
/// </summary>
public string AssemblyTextAssetExtension = ".bytes" ;
/// <summary>
/// 程序集文本资产资源目录
/// </summary>
public string AssemblyTextAssetPath = "AssetRaw/DLL" ;
2025-02-10 15:29:53 +08:00
}