modify
This commit is contained in:
parent
f1c33b80bb
commit
4311cefe56
@ -6,14 +6,6 @@ namespace AlicizaX.Editor
|
||||
{
|
||||
public static class BuilderGenerate
|
||||
{
|
||||
public static void GenerateAssemblyLoadData()
|
||||
{
|
||||
AssemblyLoadData assemblyLoadData = new AssemblyLoadData();
|
||||
assemblyLoadData.HotUpdateAssemblies = HybridCLR.Editor.SettingsUtil.HotUpdateAssemblyFilesIncludePreserved;
|
||||
File.WriteAllText("Assets/Resources/AssemblyLoadData.bytes", Utility.Json.ToJson(assemblyLoadData));
|
||||
AssetDatabase.SaveAssets();
|
||||
AssetDatabase.Refresh();
|
||||
}
|
||||
|
||||
public static void GeneratAppBuilderSetting(Language language, bool debugMode, int resMode)
|
||||
{
|
||||
|
@ -6,6 +6,19 @@ namespace AlicizaX.Runtime
|
||||
[Serializable]
|
||||
public class AppBuilderSetting
|
||||
{
|
||||
public static bool EnableHybirdCLR
|
||||
{
|
||||
get
|
||||
{
|
||||
#if ENABLE_HYBRIDCLR
|
||||
return true;
|
||||
|
||||
#else
|
||||
return false;
|
||||
#endif
|
||||
}
|
||||
}
|
||||
|
||||
public static AppBuilderSetting Instance
|
||||
{
|
||||
get
|
||||
|
@ -1,43 +0,0 @@
|
||||
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" };
|
||||
}
|
@ -1,3 +0,0 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 7c0f00a264c34df985e6c6b6e3f8b353
|
||||
timeCreated: 1737524712
|
Loading…
Reference in New Issue
Block a user