45 lines
1.3 KiB
C#
45 lines
1.3 KiB
C#
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]")]
|
|
public List<string> HotUpdateAssemblies = new List<string>() { "GameLib.dll", "GameProto.dll", "GameBase.dll", "GameLogic.dll" };
|
|
|
|
[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";
|
|
}
|