44 lines
931 B
C#
44 lines
931 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using AlicizaX.Runtime;
|
|
using UnityEngine;
|
|
using UnityEngine.Serialization;
|
|
|
|
/// <summary>
|
|
/// HybridCLRCustomGlobalSettings.
|
|
/// </summary>
|
|
[Serializable]
|
|
public class AssemblyLoadData
|
|
{
|
|
public static bool Enable
|
|
{
|
|
get
|
|
{
|
|
#if ENABLE_HYBRIDCLR
|
|
return true;
|
|
#else
|
|
return false;
|
|
#endif
|
|
}
|
|
}
|
|
|
|
public static AssemblyLoadData Instance
|
|
{
|
|
get
|
|
{
|
|
if (_instance == null)
|
|
{
|
|
TextAsset text = Resources.Load<TextAsset>("AssemblyLoadData");
|
|
_instance = Utility.Json.ToObject<AssemblyLoadData>(text.text);
|
|
}
|
|
|
|
return _instance;
|
|
}
|
|
}
|
|
|
|
private static AssemblyLoadData _instance;
|
|
|
|
public List<string> HotUpdateAssemblies = new List<string>()
|
|
{ "GameLib.dll", "GameProto.dll", "GameBase.dll", "GameLogic.dll" };
|
|
}
|