diff --git a/Client/Assets/Editor/Build/ReleaseTools.cs b/Client/Assets/Editor/Build/ReleaseTools.cs
index a793fe9..90704e5 100644
--- a/Client/Assets/Editor/Build/ReleaseTools.cs
+++ b/Client/Assets/Editor/Build/ReleaseTools.cs
@@ -219,7 +219,7 @@ namespace BuildCli
buildParameters.FileNameStyle = EFileNameStyle.BundleName_HashName;
buildParameters.BuildinFileCopyOption = EBuildinFileCopyOption.ClearAndCopyByTags;
buildParameters.BuildinFileCopyParams = "Launch";
- buildParameters.EncryptionServices = CreateEncryptionInstance("DefaultPackage", EBuildPipeline.ScriptableBuildPipeline);
+ buildParameters.EncryptionServices = CreateEncryptionInstance("DefaultPackage", EBuildPipeline.BuiltinBuildPipeline);
// 启用共享资源打包
buildParameters.EnableSharePackRule = true;
diff --git a/Client/Assets/Editor/Build/YooExtension.meta b/Client/Assets/Editor/Build/YooExtension.meta
new file mode 100644
index 0000000..7e5fba3
--- /dev/null
+++ b/Client/Assets/Editor/Build/YooExtension.meta
@@ -0,0 +1,3 @@
+fileFormatVersion: 2
+guid: d4c8155609124d828af3f732a15a0992
+timeCreated: 1737867267
\ No newline at end of file
diff --git a/Client/Assets/Editor/Build/YooExtension/Encryption.cs b/Client/Assets/Editor/Build/YooExtension/Encryption.cs
new file mode 100644
index 0000000..5fbacd9
--- /dev/null
+++ b/Client/Assets/Editor/Build/YooExtension/Encryption.cs
@@ -0,0 +1,51 @@
+namespace BuildCli.YooExtension
+{
+ using System;
+ using System.IO;
+ using YooAsset;
+
+ ///
+ /// 文件偏移加密方式
+ ///
+ public class FileOffsetEncryption : IEncryptionServices
+ {
+ public EncryptResult Encrypt(EncryptFileInfo fileInfo)
+ {
+ int offset = 32;
+ byte[] fileData = File.ReadAllBytes(fileInfo.FileLoadPath);
+ var encryptedData = new byte[fileData.Length + offset];
+ Buffer.BlockCopy(fileData, 0, encryptedData, offset, fileData.Length);
+
+ EncryptResult result = new EncryptResult();
+ result.Encrypted = true;
+ result.EncryptedData = encryptedData;
+ return result;
+ }
+ }
+
+ //
+ // ///
+ // /// 文件流加密方式
+ // ///
+ // public class FileStreamEncryption : IEncryptionServices
+ // {
+ // public EncryptResult Encrypt(EncryptFileInfo fileInfo)
+ // {
+ // if (fileInfo.BundleName.Contains("DLL"))
+ // {
+ //
+ // }
+ //
+ // var fileData = File.ReadAllBytes(fileInfo.FileLoadPath);
+ // for (int i = 0; i < fileData.Length; i++)
+ // {
+ // fileData[i] ^= BundleStream.KEY;
+ // }
+ //
+ // EncryptResult result = new EncryptResult();
+ // result.Encrypted = true;
+ // result.EncryptedData = fileData;
+ // return result;
+ // }
+ // }
+}
diff --git a/Client/Assets/Editor/Build/YooExtension/Encryption.cs.meta b/Client/Assets/Editor/Build/YooExtension/Encryption.cs.meta
new file mode 100644
index 0000000..7233121
--- /dev/null
+++ b/Client/Assets/Editor/Build/YooExtension/Encryption.cs.meta
@@ -0,0 +1,3 @@
+fileFormatVersion: 2
+guid: 39b42829cd724f10999caec280e260f7
+timeCreated: 1737867622
\ No newline at end of file
diff --git a/Client/Assets/Editor/Build/YooExtension/GameIgnoreRule.cs b/Client/Assets/Editor/Build/YooExtension/GameIgnoreRule.cs
new file mode 100644
index 0000000..08054e1
--- /dev/null
+++ b/Client/Assets/Editor/Build/YooExtension/GameIgnoreRule.cs
@@ -0,0 +1,47 @@
+using UnityEditor;
+using YooAsset.Editor;
+
+namespace BuildCli.YooExtension
+{
+ public class GameIgnoreRule : IIgnoreRule
+ {
+ ///
+ /// 查询是否为忽略文件
+ ///
+ public bool IsIgnore(AssetInfo assetInfo)
+ {
+ if (assetInfo.AssetPath.StartsWith("Assets/") == false && assetInfo.AssetPath.StartsWith("Packages/") == false)
+ {
+ UnityEngine.Debug.LogError($"Invalid asset path : {assetInfo.AssetPath}");
+ return true;
+ }
+
+ // 忽略文件夹
+ if (AssetDatabase.IsValidFolder(assetInfo.AssetPath))
+ return true;
+
+ // 忽略编辑器图标资源
+ if (assetInfo.AssetPath.Contains("/Gizmos/"))
+ return true;
+ // 忽略编辑器专属资源
+ if (assetInfo.AssetPath.Contains("/Editor/") || assetInfo.AssetPath.Contains("/Editor Resources/"))
+ return true;
+
+
+ // 忽略编辑器下的类型资源
+ if (assetInfo.AssetType == typeof(LightingDataAsset))
+ return true;
+ if (assetInfo.AssetType == typeof(LightmapParameters))
+ return true;
+
+ // 忽略Unity引擎无法识别的文件
+ if (assetInfo.AssetType == typeof(UnityEditor.DefaultAsset))
+ {
+ UnityEngine.Debug.LogWarning($"Cannot pack default asset : {assetInfo.AssetPath}");
+ return true;
+ }
+
+ return DefaultIgnoreRule.IgnoreFileExtensions.Contains(assetInfo.FileExtension);
+ }
+ }
+}
diff --git a/Client/Assets/Editor/Build/YooExtension/GameIgnoreRule.cs.meta b/Client/Assets/Editor/Build/YooExtension/GameIgnoreRule.cs.meta
new file mode 100644
index 0000000..5fde24c
--- /dev/null
+++ b/Client/Assets/Editor/Build/YooExtension/GameIgnoreRule.cs.meta
@@ -0,0 +1,3 @@
+fileFormatVersion: 2
+guid: 61fc20278e7f482cb871fb5c6259a70b
+timeCreated: 1737867291
\ No newline at end of file
diff --git a/Client/Assets/Editor/Tools/ScreenShotWindow.cs b/Client/Assets/Editor/Tools/ScreenShotWindow.cs
index cb7c3d3..530d1cf 100644
--- a/Client/Assets/Editor/Tools/ScreenShotWindow.cs
+++ b/Client/Assets/Editor/Tools/ScreenShotWindow.cs
@@ -1,6 +1,7 @@
using UnityEngine;
using UnityEditor;
using System;
+using AlicizaX.EditorExtension.Editor;
namespace BuildCli
{
@@ -9,7 +10,7 @@ namespace BuildCli
private string saveFileName = string.Empty;
private string saveDirPathKey = "CaptureSaveDirPathKey";
- [UnityEditor.MenuItem("开发工具/截图工具", false, 102)]
+ [UnityEditor.MenuItem("开发工具/常用Tools/截图工具", false, 102)]
private static void Capture()
{
if (HasOpenInstances())
diff --git a/Client/Assets/Main.unity b/Client/Assets/Main.unity
index df1579b..2559a1b 100644
--- a/Client/Assets/Main.unity
+++ b/Client/Assets/Main.unity
@@ -119,519 +119,6 @@ NavMeshSettings:
debug:
m_Flags: 0
m_NavMeshData: {fileID: 0}
---- !u!1 &17177054
-GameObject:
- m_ObjectHideFlags: 0
- m_CorrespondingSourceObject: {fileID: 0}
- m_PrefabInstance: {fileID: 0}
- m_PrefabAsset: {fileID: 0}
- serializedVersion: 6
- m_Component:
- - component: {fileID: 17177055}
- - component: {fileID: 17177056}
- m_Layer: 0
- m_Name: EventKit
- m_TagString: Untagged
- m_Icon: {fileID: 0}
- m_NavMeshLayer: 0
- m_StaticEditorFlags: 0
- m_IsActive: 1
---- !u!4 &17177055
-Transform:
- m_ObjectHideFlags: 0
- m_CorrespondingSourceObject: {fileID: 0}
- m_PrefabInstance: {fileID: 0}
- m_PrefabAsset: {fileID: 0}
- m_GameObject: {fileID: 17177054}
- serializedVersion: 2
- m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
- m_LocalPosition: {x: 0, y: 0, z: 0}
- m_LocalScale: {x: 1, y: 1, z: 1}
- m_ConstrainProportionsScale: 0
- m_Children: []
- m_Father: {fileID: 1455375114}
- m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
---- !u!114 &17177056
-MonoBehaviour:
- m_ObjectHideFlags: 0
- m_CorrespondingSourceObject: {fileID: 0}
- m_PrefabInstance: {fileID: 0}
- m_PrefabAsset: {fileID: 0}
- m_GameObject: {fileID: 17177054}
- m_Enabled: 1
- m_EditorHideFlags: 0
- m_Script: {fileID: 11500000, guid: 7eec9f691e06464cbfc45f619c7fee9d, type: 3}
- m_Name:
- m_EditorClassIdentifier:
- componentType:
---- !u!1 &77951143
-GameObject:
- m_ObjectHideFlags: 0
- m_CorrespondingSourceObject: {fileID: 0}
- m_PrefabInstance: {fileID: 0}
- m_PrefabAsset: {fileID: 0}
- serializedVersion: 6
- m_Component:
- - component: {fileID: 77951144}
- - component: {fileID: 77951145}
- m_Layer: 0
- m_Name: Event
- m_TagString: Untagged
- m_Icon: {fileID: 0}
- m_NavMeshLayer: 0
- m_StaticEditorFlags: 0
- m_IsActive: 1
---- !u!4 &77951144
-Transform:
- m_ObjectHideFlags: 0
- m_CorrespondingSourceObject: {fileID: 0}
- m_PrefabInstance: {fileID: 0}
- m_PrefabAsset: {fileID: 0}
- m_GameObject: {fileID: 77951143}
- serializedVersion: 2
- m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
- m_LocalPosition: {x: 0, y: 0, z: 0}
- m_LocalScale: {x: 1, y: 1, z: 1}
- m_ConstrainProportionsScale: 0
- m_Children: []
- m_Father: {fileID: 1455375114}
- m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
---- !u!114 &77951145
-MonoBehaviour:
- m_ObjectHideFlags: 0
- m_CorrespondingSourceObject: {fileID: 0}
- m_PrefabInstance: {fileID: 0}
- m_PrefabAsset: {fileID: 0}
- m_GameObject: {fileID: 77951143}
- m_Enabled: 1
- m_EditorHideFlags: 0
- m_Script: {fileID: 11500000, guid: 48602115335c4223a70dc35cd6b29bbd, type: 3}
- m_Name:
- m_EditorClassIdentifier:
- componentType: AlicizaX.Event.Runtime.EventManager
---- !u!1 &110080585
-GameObject:
- m_ObjectHideFlags: 0
- m_CorrespondingSourceObject: {fileID: 0}
- m_PrefabInstance: {fileID: 0}
- m_PrefabAsset: {fileID: 0}
- serializedVersion: 6
- m_Component:
- - component: {fileID: 110080586}
- - component: {fileID: 110080587}
- m_Layer: 0
- m_Name: Resources
- m_TagString: Untagged
- m_Icon: {fileID: 0}
- m_NavMeshLayer: 0
- m_StaticEditorFlags: 0
- m_IsActive: 1
---- !u!4 &110080586
-Transform:
- m_ObjectHideFlags: 0
- m_CorrespondingSourceObject: {fileID: 0}
- m_PrefabInstance: {fileID: 0}
- m_PrefabAsset: {fileID: 0}
- m_GameObject: {fileID: 110080585}
- serializedVersion: 2
- m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
- m_LocalPosition: {x: 0, y: 0, z: 0}
- m_LocalScale: {x: 1, y: 1, z: 1}
- m_ConstrainProportionsScale: 0
- m_Children: []
- m_Father: {fileID: 1455375114}
- m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
---- !u!114 &110080587
-MonoBehaviour:
- m_ObjectHideFlags: 0
- m_CorrespondingSourceObject: {fileID: 0}
- m_PrefabInstance: {fileID: 0}
- m_PrefabAsset: {fileID: 0}
- m_GameObject: {fileID: 110080585}
- m_Enabled: 1
- m_EditorHideFlags: 0
- m_Script: {fileID: 11500000, guid: 91e581bb79676824f8c04687f21ed727, type: 3}
- m_Name:
- m_EditorClassIdentifier:
- componentType: AlicizaX.Resource.Runtime.ResourceManager
- m_GamePlayMode: 2
- m_Milliseconds: 30
- m_defaultPackageName: DefaultPackage
- m_AssetAutoReleaseInterval: 60
- m_AssetCapacity: 64
- m_AssetExpireTime: 60
- m_AssetPriority: 0
---- !u!1 &187276826
-GameObject:
- m_ObjectHideFlags: 0
- m_CorrespondingSourceObject: {fileID: 0}
- m_PrefabInstance: {fileID: 0}
- m_PrefabAsset: {fileID: 0}
- serializedVersion: 6
- m_Component:
- - component: {fileID: 187276827}
- - component: {fileID: 187276828}
- m_Layer: 0
- m_Name: ResourcesExt
- m_TagString: Untagged
- m_Icon: {fileID: 0}
- m_NavMeshLayer: 0
- m_StaticEditorFlags: 0
- m_IsActive: 1
---- !u!4 &187276827
-Transform:
- m_ObjectHideFlags: 0
- m_CorrespondingSourceObject: {fileID: 0}
- m_PrefabInstance: {fileID: 0}
- m_PrefabAsset: {fileID: 0}
- m_GameObject: {fileID: 187276826}
- serializedVersion: 2
- m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
- m_LocalPosition: {x: 0, y: 0, z: 0}
- m_LocalScale: {x: 1, y: 1, z: 1}
- m_ConstrainProportionsScale: 0
- m_Children: []
- m_Father: {fileID: 1455375114}
- m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
---- !u!114 &187276828
-MonoBehaviour:
- m_ObjectHideFlags: 0
- m_CorrespondingSourceObject: {fileID: 0}
- m_PrefabInstance: {fileID: 0}
- m_PrefabAsset: {fileID: 0}
- m_GameObject: {fileID: 187276826}
- m_Enabled: 1
- m_EditorHideFlags: 0
- m_Script: {fileID: 11500000, guid: e3adf1e69b12944448c9fe6ae10983cb, type: 3}
- m_Name:
- m_EditorClassIdentifier:
- componentType:
- m_CheckCanReleaseInterval: 30
- m_AutoReleaseInterval: 60
---- !u!1 &354344801
-GameObject:
- m_ObjectHideFlags: 0
- m_CorrespondingSourceObject: {fileID: 0}
- m_PrefabInstance: {fileID: 0}
- m_PrefabAsset: {fileID: 0}
- serializedVersion: 6
- m_Component:
- - component: {fileID: 354344802}
- - component: {fileID: 354344803}
- m_Layer: 0
- m_Name: UI
- m_TagString: Untagged
- m_Icon: {fileID: 0}
- m_NavMeshLayer: 0
- m_StaticEditorFlags: 0
- m_IsActive: 1
---- !u!4 &354344802
-Transform:
- m_ObjectHideFlags: 0
- m_CorrespondingSourceObject: {fileID: 0}
- m_PrefabInstance: {fileID: 0}
- m_PrefabAsset: {fileID: 0}
- m_GameObject: {fileID: 354344801}
- serializedVersion: 2
- m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
- m_LocalPosition: {x: 0, y: 0, z: 0}
- m_LocalScale: {x: 1, y: 1, z: 1}
- m_ConstrainProportionsScale: 0
- m_Children: []
- m_Father: {fileID: 1455375114}
- m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
---- !u!114 &354344803
-MonoBehaviour:
- m_ObjectHideFlags: 0
- m_CorrespondingSourceObject: {fileID: 0}
- m_PrefabInstance: {fileID: 0}
- m_PrefabAsset: {fileID: 0}
- m_GameObject: {fileID: 354344801}
- m_Enabled: 1
- m_EditorHideFlags: 0
- m_Script: {fileID: 11500000, guid: 028204b1d2277bd4782816ee91aeed81, type: 3}
- m_Name:
- m_EditorClassIdentifier:
- componentType: AlicizaX.UI.Runtime.UIManager
- uiRoot: {fileID: 4612363183729467837, guid: 9368ff38b2090b2468f8358242026e4b, type: 3}
---- !u!1 &539295520
-GameObject:
- m_ObjectHideFlags: 0
- m_CorrespondingSourceObject: {fileID: 0}
- m_PrefabInstance: {fileID: 0}
- m_PrefabAsset: {fileID: 0}
- serializedVersion: 6
- m_Component:
- - component: {fileID: 539295521}
- - component: {fileID: 539295522}
- m_Layer: 0
- m_Name: Scene
- m_TagString: Untagged
- m_Icon: {fileID: 0}
- m_NavMeshLayer: 0
- m_StaticEditorFlags: 0
- m_IsActive: 1
---- !u!4 &539295521
-Transform:
- m_ObjectHideFlags: 0
- m_CorrespondingSourceObject: {fileID: 0}
- m_PrefabInstance: {fileID: 0}
- m_PrefabAsset: {fileID: 0}
- m_GameObject: {fileID: 539295520}
- serializedVersion: 2
- m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
- m_LocalPosition: {x: 0, y: 0, z: 0}
- m_LocalScale: {x: 1, y: 1, z: 1}
- m_ConstrainProportionsScale: 0
- m_Children: []
- m_Father: {fileID: 1455375114}
- m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
---- !u!114 &539295522
-MonoBehaviour:
- m_ObjectHideFlags: 0
- m_CorrespondingSourceObject: {fileID: 0}
- m_PrefabInstance: {fileID: 0}
- m_PrefabAsset: {fileID: 0}
- m_GameObject: {fileID: 539295520}
- m_Enabled: 1
- m_EditorHideFlags: 0
- m_Script: {fileID: 11500000, guid: 6ccaedadefd0fbf498241670caa387e8, type: 3}
- m_Name:
- m_EditorClassIdentifier:
- componentType: AlicizaX.Scene.Runtime.GameSceneManager
- m_EnableLoadSceneUpdateEvent: 1
- m_EnableLoadSceneDependencyAssetEvent: 1
---- !u!1 &559090126
-GameObject:
- m_ObjectHideFlags: 0
- m_CorrespondingSourceObject: {fileID: 0}
- m_PrefabInstance: {fileID: 0}
- m_PrefabAsset: {fileID: 0}
- serializedVersion: 6
- m_Component:
- - component: {fileID: 559090127}
- - component: {fileID: 559090128}
- m_Layer: 0
- m_Name: Config
- m_TagString: Untagged
- m_Icon: {fileID: 0}
- m_NavMeshLayer: 0
- m_StaticEditorFlags: 0
- m_IsActive: 1
---- !u!4 &559090127
-Transform:
- m_ObjectHideFlags: 0
- m_CorrespondingSourceObject: {fileID: 0}
- m_PrefabInstance: {fileID: 0}
- m_PrefabAsset: {fileID: 0}
- m_GameObject: {fileID: 559090126}
- serializedVersion: 2
- m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
- m_LocalPosition: {x: 0, y: 0, z: 0}
- m_LocalScale: {x: 1, y: 1, z: 1}
- m_ConstrainProportionsScale: 0
- m_Children: []
- m_Father: {fileID: 1455375114}
- m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
---- !u!114 &559090128
-MonoBehaviour:
- m_ObjectHideFlags: 0
- m_CorrespondingSourceObject: {fileID: 0}
- m_PrefabInstance: {fileID: 0}
- m_PrefabAsset: {fileID: 0}
- m_GameObject: {fileID: 559090126}
- m_Enabled: 1
- m_EditorHideFlags: 0
- m_Script: {fileID: 11500000, guid: be92abf1b6aa472c9ff7ebd49bbab9bf, type: 3}
- m_Name:
- m_EditorClassIdentifier:
- componentType: AlicizaX.Config.Runtime.ConfigManager
---- !u!1 &804333829
-GameObject:
- m_ObjectHideFlags: 0
- m_CorrespondingSourceObject: {fileID: 0}
- m_PrefabInstance: {fileID: 0}
- m_PrefabAsset: {fileID: 0}
- serializedVersion: 6
- m_Component:
- - component: {fileID: 804333830}
- - component: {fileID: 804333831}
- m_Layer: 0
- m_Name: Procedure
- m_TagString: Untagged
- m_Icon: {fileID: 0}
- m_NavMeshLayer: 0
- m_StaticEditorFlags: 0
- m_IsActive: 1
---- !u!4 &804333830
-Transform:
- m_ObjectHideFlags: 0
- m_CorrespondingSourceObject: {fileID: 0}
- m_PrefabInstance: {fileID: 0}
- m_PrefabAsset: {fileID: 0}
- m_GameObject: {fileID: 804333829}
- serializedVersion: 2
- m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
- m_LocalPosition: {x: 0, y: 0, z: 0}
- m_LocalScale: {x: 1, y: 1, z: 1}
- m_ConstrainProportionsScale: 0
- m_Children: []
- m_Father: {fileID: 1455375114}
- m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
---- !u!114 &804333831
-MonoBehaviour:
- m_ObjectHideFlags: 0
- m_CorrespondingSourceObject: {fileID: 0}
- m_PrefabInstance: {fileID: 0}
- m_PrefabAsset: {fileID: 0}
- m_GameObject: {fileID: 804333829}
- m_Enabled: 1
- m_EditorHideFlags: 0
- m_Script: {fileID: 11500000, guid: 4d13b628448e4c71a78c4e51756cf98c, type: 3}
- m_Name:
- m_EditorClassIdentifier:
- componentType: AlicizaX.Procedure.Runtime.ProcedureManager
- m_AvailableProcedureTypeNames:
- - Unity.Startup.Procedure.ProcedureClearCache
- - Unity.Startup.Procedure.ProcedureCreateDownloader
- - Unity.Startup.Procedure.ProcedureDownloadWebFiles
- - Unity.Startup.Procedure.ProcedureGameLauncherState
- - Unity.Startup.Procedure.ProcedureGetAppVersionInfoState
- - Unity.Startup.Procedure.ProcedureGetGlobalInfoState
- - Unity.Startup.Procedure.ProcedureLauncherState
- - Unity.Startup.Procedure.ProcedureLoadAssembly
- - Unity.Startup.Procedure.ProcedurePatchDone
- - Unity.Startup.Procedure.ProcedurePatchInit
- - Unity.Startup.Procedure.ProcedureUpdateManifest
- - Unity.Startup.Procedure.ProcedureUpdateStaticVersion
- m_EntranceProcedureTypeName: Unity.Startup.Procedure.ProcedureLauncherState
---- !u!1 &965054549
-GameObject:
- m_ObjectHideFlags: 0
- m_CorrespondingSourceObject: {fileID: 0}
- m_PrefabInstance: {fileID: 0}
- m_PrefabAsset: {fileID: 0}
- serializedVersion: 6
- m_Component:
- - component: {fileID: 965054550}
- - component: {fileID: 965054551}
- m_Layer: 0
- m_Name: Audio
- m_TagString: Untagged
- m_Icon: {fileID: 0}
- m_NavMeshLayer: 0
- m_StaticEditorFlags: 0
- m_IsActive: 1
---- !u!4 &965054550
-Transform:
- m_ObjectHideFlags: 0
- m_CorrespondingSourceObject: {fileID: 0}
- m_PrefabInstance: {fileID: 0}
- m_PrefabAsset: {fileID: 0}
- m_GameObject: {fileID: 965054549}
- serializedVersion: 2
- m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
- m_LocalPosition: {x: 0, y: 0, z: 0}
- m_LocalScale: {x: 1, y: 1, z: 1}
- m_ConstrainProportionsScale: 0
- m_Children: []
- m_Father: {fileID: 1455375114}
- m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
---- !u!114 &965054551
-MonoBehaviour:
- m_ObjectHideFlags: 0
- m_CorrespondingSourceObject: {fileID: 0}
- m_PrefabInstance: {fileID: 0}
- m_PrefabAsset: {fileID: 0}
- m_GameObject: {fileID: 965054549}
- m_Enabled: 1
- m_EditorHideFlags: 0
- m_Script: {fileID: 11500000, guid: 7d0b3cff83fd3874394b1b456bb54dab, type: 3}
- m_Name:
- m_EditorClassIdentifier:
- componentType: AlicizaX.Audio.Runtime.AudioManager
- m_AudioMixer: {fileID: 24100000, guid: 1af7a1b121ae17541a1967d430cef006, type: 2}
- m_InstanceRoot: {fileID: 965054550}
- m_AudioGroupConfigs:
- - m_Name: Music
- m_Mute: 0
- m_Volume: 0.5
- m_AgentHelperCount: 1
- AudioType: 2
- audioRolloffMode: 1
- minDistance: 15
- maxDistance: 50
- - m_Name: Sound
- m_Mute: 1
- m_Volume: 0.5
- m_AgentHelperCount: 4
- AudioType: 0
- audioRolloffMode: 0
- minDistance: 1
- maxDistance: 500
- - m_Name: UISound
- m_Mute: 0
- m_Volume: 0.5
- m_AgentHelperCount: 4
- AudioType: 1
- audioRolloffMode: 0
- minDistance: 1
- maxDistance: 500
- - m_Name: Voice
- m_Mute: 0
- m_Volume: 0.5
- m_AgentHelperCount: 1
- AudioType: 3
- audioRolloffMode: 0
- minDistance: 1
- maxDistance: 500
---- !u!1 &1107828071
-GameObject:
- m_ObjectHideFlags: 0
- m_CorrespondingSourceObject: {fileID: 0}
- m_PrefabInstance: {fileID: 0}
- m_PrefabAsset: {fileID: 0}
- serializedVersion: 6
- m_Component:
- - component: {fileID: 1107828072}
- - component: {fileID: 1107828073}
- m_Layer: 0
- m_Name: Setting
- m_TagString: Untagged
- m_Icon: {fileID: 0}
- m_NavMeshLayer: 0
- m_StaticEditorFlags: 0
- m_IsActive: 1
---- !u!4 &1107828072
-Transform:
- m_ObjectHideFlags: 0
- m_CorrespondingSourceObject: {fileID: 0}
- m_PrefabInstance: {fileID: 0}
- m_PrefabAsset: {fileID: 0}
- m_GameObject: {fileID: 1107828071}
- serializedVersion: 2
- m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
- m_LocalPosition: {x: 0, y: 0, z: 0}
- m_LocalScale: {x: 1, y: 1, z: 1}
- m_ConstrainProportionsScale: 0
- m_Children: []
- m_Father: {fileID: 1455375114}
- m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
---- !u!114 &1107828073
-MonoBehaviour:
- m_ObjectHideFlags: 0
- m_CorrespondingSourceObject: {fileID: 0}
- m_PrefabInstance: {fileID: 0}
- m_PrefabAsset: {fileID: 0}
- m_GameObject: {fileID: 1107828071}
- m_Enabled: 1
- m_EditorHideFlags: 0
- m_Script: {fileID: 11500000, guid: dd5fa5f9376d4c2abee7a298edbfbd19, type: 3}
- m_Name:
- m_EditorClassIdentifier:
- componentType: AlicizaX.Setting.Runtime.SettingManager
- m_SettingHelperTypeName: AlicizaX.Setting.Runtime.DefaultSettingHelper
- m_CustomSettingHelper: {fileID: 0}
--- !u!1 &1378554099
GameObject:
m_ObjectHideFlags: 0
@@ -769,321 +256,66 @@ Transform:
m_Children: []
m_Father: {fileID: 0}
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
---- !u!1 &1455375113
-GameObject:
+--- !u!1001 &9151303530987613966
+PrefabInstance:
m_ObjectHideFlags: 0
- m_CorrespondingSourceObject: {fileID: 0}
- m_PrefabInstance: {fileID: 0}
- m_PrefabAsset: {fileID: 0}
- serializedVersion: 6
- m_Component:
- - component: {fileID: 1455375114}
- - component: {fileID: 1455375115}
- m_Layer: 0
- m_Name: Entry
- m_TagString: Untagged
- m_Icon: {fileID: 0}
- m_NavMeshLayer: 0
- m_StaticEditorFlags: 0
- m_IsActive: 1
---- !u!4 &1455375114
-Transform:
- m_ObjectHideFlags: 0
- m_CorrespondingSourceObject: {fileID: 0}
- m_PrefabInstance: {fileID: 0}
- m_PrefabAsset: {fileID: 0}
- m_GameObject: {fileID: 1455375113}
serializedVersion: 2
- m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
- m_LocalPosition: {x: 0, y: 0, z: 0}
- m_LocalScale: {x: 1, y: 1, z: 1}
- m_ConstrainProportionsScale: 0
- m_Children:
- - {fileID: 2121063206}
- - {fileID: 2066725839}
- - {fileID: 804333830}
- - {fileID: 1107828072}
- - {fileID: 2110718264}
- - {fileID: 17177055}
- - {fileID: 77951144}
- - {fileID: 110080586}
- - {fileID: 187276827}
- - {fileID: 539295521}
- - {fileID: 2030429591}
- - {fileID: 965054550}
- - {fileID: 559090127}
- - {fileID: 2081231531}
- - {fileID: 354344802}
- m_Father: {fileID: 0}
- m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
---- !u!114 &1455375115
-MonoBehaviour:
- m_ObjectHideFlags: 0
- m_CorrespondingSourceObject: {fileID: 0}
- m_PrefabInstance: {fileID: 0}
- m_PrefabAsset: {fileID: 0}
- m_GameObject: {fileID: 1455375113}
- m_Enabled: 1
- m_EditorHideFlags: 0
- m_Script: {fileID: 11500000, guid: 252fa1bb9e36411fb4582d0656b987bf, type: 3}
- m_Name:
- m_EditorClassIdentifier:
- componentType:
- m_FrameRate: 120
- m_GameSpeed: 1
- m_RunInBackground: 1
- m_NeverSleep: 1
---- !u!1 &2030429590
-GameObject:
- m_ObjectHideFlags: 0
- m_CorrespondingSourceObject: {fileID: 0}
- m_PrefabInstance: {fileID: 0}
- m_PrefabAsset: {fileID: 0}
- serializedVersion: 6
- m_Component:
- - component: {fileID: 2030429591}
- - component: {fileID: 2030429592}
- m_Layer: 0
- m_Name: Debugger
- m_TagString: Untagged
- m_Icon: {fileID: 0}
- m_NavMeshLayer: 0
- m_StaticEditorFlags: 0
- m_IsActive: 1
---- !u!4 &2030429591
-Transform:
- m_ObjectHideFlags: 0
- m_CorrespondingSourceObject: {fileID: 0}
- m_PrefabInstance: {fileID: 0}
- m_PrefabAsset: {fileID: 0}
- m_GameObject: {fileID: 2030429590}
- serializedVersion: 2
- m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
- m_LocalPosition: {x: 0, y: 0, z: 0}
- m_LocalScale: {x: 1, y: 1, z: 1}
- m_ConstrainProportionsScale: 0
- m_Children: []
- m_Father: {fileID: 1455375114}
- m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
---- !u!114 &2030429592
-MonoBehaviour:
- m_ObjectHideFlags: 0
- m_CorrespondingSourceObject: {fileID: 0}
- m_PrefabInstance: {fileID: 0}
- m_PrefabAsset: {fileID: 0}
- m_GameObject: {fileID: 2030429590}
- m_Enabled: 1
- m_EditorHideFlags: 0
- m_Script: {fileID: 11500000, guid: f05eaceeebe870a4595e51f998ed518b, type: 3}
- m_Name:
- m_EditorClassIdentifier:
- componentType: AlicizaX.Debugger.Runtime.DebuggerManager
- m_Skin: {fileID: 11400000, guid: dce698819fdb70b42b393d9b0b6d420e, type: 2}
- m_ActiveWindow: 0
- m_ShowFullWindow: 0
- m_ConsoleWindow:
- m_LockScroll: 1
- m_MaxLine: 100
- m_InfoFilter: 1
- m_WarningFilter: 1
- m_ErrorFilter: 1
- m_FatalFilter: 1
- m_InfoColor:
- serializedVersion: 2
- rgba: 4294967295
- m_WarningColor:
- serializedVersion: 2
- rgba: 4278512639
- m_ErrorColor:
- serializedVersion: 2
- rgba: 4278190335
- m_FatalColor:
- serializedVersion: 2
- rgba: 4281545650
---- !u!1 &2066725838
-GameObject:
- m_ObjectHideFlags: 0
- m_CorrespondingSourceObject: {fileID: 0}
- m_PrefabInstance: {fileID: 0}
- m_PrefabAsset: {fileID: 0}
- serializedVersion: 6
- m_Component:
- - component: {fileID: 2066725839}
- - component: {fileID: 2066725840}
- m_Layer: 0
- m_Name: Object Pool
- m_TagString: Untagged
- m_Icon: {fileID: 0}
- m_NavMeshLayer: 0
- m_StaticEditorFlags: 0
- m_IsActive: 1
---- !u!4 &2066725839
-Transform:
- m_ObjectHideFlags: 0
- m_CorrespondingSourceObject: {fileID: 0}
- m_PrefabInstance: {fileID: 0}
- m_PrefabAsset: {fileID: 0}
- m_GameObject: {fileID: 2066725838}
- serializedVersion: 2
- m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
- m_LocalPosition: {x: 0, y: 0, z: 0}
- m_LocalScale: {x: 1, y: 1, z: 1}
- m_ConstrainProportionsScale: 0
- m_Children: []
- m_Father: {fileID: 1455375114}
- m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
---- !u!114 &2066725840
-MonoBehaviour:
- m_ObjectHideFlags: 0
- m_CorrespondingSourceObject: {fileID: 0}
- m_PrefabInstance: {fileID: 0}
- m_PrefabAsset: {fileID: 0}
- m_GameObject: {fileID: 2066725838}
- m_Enabled: 1
- m_EditorHideFlags: 0
- m_Script: {fileID: 11500000, guid: 1e28a727443c86c40aeb42ff20e0a343, type: 3}
- m_Name:
- m_EditorClassIdentifier:
- componentType: AlicizaX.ObjectPool.ObjectPoolManager
---- !u!1 &2081231530
-GameObject:
- m_ObjectHideFlags: 0
- m_CorrespondingSourceObject: {fileID: 0}
- m_PrefabInstance: {fileID: 0}
- m_PrefabAsset: {fileID: 0}
- serializedVersion: 6
- m_Component:
- - component: {fileID: 2081231531}
- - component: {fileID: 2081231532}
- m_Layer: 0
- m_Name: Fsm
- m_TagString: Untagged
- m_Icon: {fileID: 0}
- m_NavMeshLayer: 0
- m_StaticEditorFlags: 0
- m_IsActive: 1
---- !u!4 &2081231531
-Transform:
- m_ObjectHideFlags: 0
- m_CorrespondingSourceObject: {fileID: 0}
- m_PrefabInstance: {fileID: 0}
- m_PrefabAsset: {fileID: 0}
- m_GameObject: {fileID: 2081231530}
- serializedVersion: 2
- m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
- m_LocalPosition: {x: 0, y: 0, z: 0}
- m_LocalScale: {x: 1, y: 1, z: 1}
- m_ConstrainProportionsScale: 0
- m_Children: []
- m_Father: {fileID: 1455375114}
- m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
---- !u!114 &2081231532
-MonoBehaviour:
- m_ObjectHideFlags: 0
- m_CorrespondingSourceObject: {fileID: 0}
- m_PrefabInstance: {fileID: 0}
- m_PrefabAsset: {fileID: 0}
- m_GameObject: {fileID: 2081231530}
- m_Enabled: 1
- m_EditorHideFlags: 0
- m_Script: {fileID: 11500000, guid: a69e41ab65d84e83a0468f1a2cc3926f, type: 3}
- m_Name:
- m_EditorClassIdentifier:
- componentType: AlicizaX.Fsm.Runtime.FsmManager
---- !u!1 &2110718263
-GameObject:
- m_ObjectHideFlags: 0
- m_CorrespondingSourceObject: {fileID: 0}
- m_PrefabInstance: {fileID: 0}
- m_PrefabAsset: {fileID: 0}
- serializedVersion: 6
- m_Component:
- - component: {fileID: 2110718264}
- - component: {fileID: 2110718265}
- m_Layer: 0
- m_Name: Timer
- m_TagString: Untagged
- m_Icon: {fileID: 0}
- m_NavMeshLayer: 0
- m_StaticEditorFlags: 0
- m_IsActive: 1
---- !u!4 &2110718264
-Transform:
- m_ObjectHideFlags: 0
- m_CorrespondingSourceObject: {fileID: 0}
- m_PrefabInstance: {fileID: 0}
- m_PrefabAsset: {fileID: 0}
- m_GameObject: {fileID: 2110718263}
- serializedVersion: 2
- m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
- m_LocalPosition: {x: 0, y: 0, z: 0}
- m_LocalScale: {x: 1, y: 1, z: 1}
- m_ConstrainProportionsScale: 0
- m_Children: []
- m_Father: {fileID: 1455375114}
- m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
---- !u!114 &2110718265
-MonoBehaviour:
- m_ObjectHideFlags: 0
- m_CorrespondingSourceObject: {fileID: 0}
- m_PrefabInstance: {fileID: 0}
- m_PrefabAsset: {fileID: 0}
- m_GameObject: {fileID: 2110718263}
- m_Enabled: 1
- m_EditorHideFlags: 0
- m_Script: {fileID: 11500000, guid: 6bbfa5f028024a70812e412b33c0a86a, type: 3}
- m_Name:
- m_EditorClassIdentifier:
- componentType: AlicizaX.Timer.Runtime.TimerManager
---- !u!1 &2121063205
-GameObject:
- m_ObjectHideFlags: 0
- m_CorrespondingSourceObject: {fileID: 0}
- m_PrefabInstance: {fileID: 0}
- m_PrefabAsset: {fileID: 0}
- serializedVersion: 6
- m_Component:
- - component: {fileID: 2121063206}
- - component: {fileID: 2121063207}
- m_Layer: 0
- m_Name: Reference Pool
- m_TagString: Untagged
- m_Icon: {fileID: 0}
- m_NavMeshLayer: 0
- m_StaticEditorFlags: 0
- m_IsActive: 1
---- !u!4 &2121063206
-Transform:
- m_ObjectHideFlags: 0
- m_CorrespondingSourceObject: {fileID: 0}
- m_PrefabInstance: {fileID: 0}
- m_PrefabAsset: {fileID: 0}
- m_GameObject: {fileID: 2121063205}
- serializedVersion: 2
- m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
- m_LocalPosition: {x: 0, y: 0, z: 0}
- m_LocalScale: {x: 1, y: 1, z: 1}
- m_ConstrainProportionsScale: 0
- m_Children: []
- m_Father: {fileID: 1455375114}
- m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
---- !u!114 &2121063207
-MonoBehaviour:
- m_ObjectHideFlags: 0
- m_CorrespondingSourceObject: {fileID: 0}
- m_PrefabInstance: {fileID: 0}
- m_PrefabAsset: {fileID: 0}
- m_GameObject: {fileID: 2121063205}
- m_Enabled: 1
- m_EditorHideFlags: 0
- m_Script: {fileID: 11500000, guid: 8ae4d40d7e878bc498492dc9c410d071, type: 3}
- m_Name:
- m_EditorClassIdentifier:
- componentType:
- m_EnableStrictCheck: 0
+ m_Modification:
+ serializedVersion: 3
+ m_TransformParent: {fileID: 0}
+ m_Modifications:
+ - target: {fileID: 872693327694151783, guid: 8e4808bf30e54a8439a661bfa35ee982, type: 3}
+ propertyPath: m_LocalPosition.x
+ value: 0
+ objectReference: {fileID: 0}
+ - target: {fileID: 872693327694151783, guid: 8e4808bf30e54a8439a661bfa35ee982, type: 3}
+ propertyPath: m_LocalPosition.y
+ value: 0
+ objectReference: {fileID: 0}
+ - target: {fileID: 872693327694151783, guid: 8e4808bf30e54a8439a661bfa35ee982, type: 3}
+ propertyPath: m_LocalPosition.z
+ value: 0
+ objectReference: {fileID: 0}
+ - target: {fileID: 872693327694151783, guid: 8e4808bf30e54a8439a661bfa35ee982, type: 3}
+ propertyPath: m_LocalRotation.w
+ value: 1
+ objectReference: {fileID: 0}
+ - target: {fileID: 872693327694151783, guid: 8e4808bf30e54a8439a661bfa35ee982, type: 3}
+ propertyPath: m_LocalRotation.x
+ value: 0
+ objectReference: {fileID: 0}
+ - target: {fileID: 872693327694151783, guid: 8e4808bf30e54a8439a661bfa35ee982, type: 3}
+ propertyPath: m_LocalRotation.y
+ value: 0
+ objectReference: {fileID: 0}
+ - target: {fileID: 872693327694151783, guid: 8e4808bf30e54a8439a661bfa35ee982, type: 3}
+ propertyPath: m_LocalRotation.z
+ value: 0
+ objectReference: {fileID: 0}
+ - target: {fileID: 872693327694151783, guid: 8e4808bf30e54a8439a661bfa35ee982, type: 3}
+ propertyPath: m_LocalEulerAnglesHint.x
+ value: 0
+ objectReference: {fileID: 0}
+ - target: {fileID: 872693327694151783, guid: 8e4808bf30e54a8439a661bfa35ee982, type: 3}
+ propertyPath: m_LocalEulerAnglesHint.y
+ value: 0
+ objectReference: {fileID: 0}
+ - target: {fileID: 872693327694151783, guid: 8e4808bf30e54a8439a661bfa35ee982, type: 3}
+ propertyPath: m_LocalEulerAnglesHint.z
+ value: 0
+ objectReference: {fileID: 0}
+ - target: {fileID: 7543149531317296434, guid: 8e4808bf30e54a8439a661bfa35ee982, type: 3}
+ propertyPath: m_Name
+ value: Entry
+ objectReference: {fileID: 0}
+ m_RemovedComponents: []
+ m_RemovedGameObjects: []
+ m_AddedGameObjects: []
+ m_AddedComponents: []
+ m_SourcePrefab: {fileID: 100100000, guid: 8e4808bf30e54a8439a661bfa35ee982, type: 3}
--- !u!1660057539 &9223372036854775807
SceneRoots:
m_ObjectHideFlags: 0
m_Roots:
- - {fileID: 1455375114}
+ - {fileID: 9151303530987613966}
- {fileID: 1378554103}
diff --git a/Client/Assets/Scripts/Startup/Framework/Procedure/HotfixHelper.cs b/Client/Assets/Scripts/Startup/Framework/Procedure/HotfixHelper.cs
deleted file mode 100644
index 6ea270b..0000000
--- a/Client/Assets/Scripts/Startup/Framework/Procedure/HotfixHelper.cs
+++ /dev/null
@@ -1,61 +0,0 @@
-// using System;
-// using System.Linq;
-// using System.Reflection;
-// using AlicizaX.Runtime;
-// using HybridCLR;
-//
-// namespace Unity.Startup.Procedure
-// {
-// public static class HotfixHelper
-// {
-// const string HotfixName = "Unity.Hotfix";
-//
-// public static async void StartHotfix()
-// {
-// if (ApplicationHelper.IsEditor)
-// {
-// var assemblies = Utility.Assembly.GetAssemblies();
-// foreach (var assembly in assemblies)
-// {
-// if (assembly.GetName().Name.Equals(HotfixName, StringComparison.OrdinalIgnoreCase))
-// {
-// Run(assembly);
-// break;
-// }
-// }
-//
-// return;
-// }
-//
-// Log.Info("开始加载AOT DLL");
-//
-// var aotDlls = AOTGenericReferences.PatchedAOTAssemblyList.ToArray();
-// foreach (var aotDll in aotDlls)
-// {
-// Log.Info("开始加载AOT DLL ==> " + aotDll);
-// var assetHandle = GameApp.Resource.LoadAssetAsyncHandle(Utility.Asset.Path.GetAOTCodePath(aotDll));
-// var aotBytes = assetHandle.GetAssetObject().bytes;
-// RuntimeApi.LoadMetadataForAOTAssembly(aotBytes, HomologousImageMode.SuperSet);
-// }
-//
-// Log.Info("结束加载AOT DLL");
-// Log.Info("开始加载Unity.Hotfix.dll");
-// var assetHotfixDllPath = Utility.Asset.Path.GetCodePath(HotfixName + Utility.Const.FileNameSuffix.DLL);
-// var assetHotfixDllOperationHandle = GameApp.Resource.LoadAssetAsyncHandle(assetHotfixDllPath);
-// var assemblyDataHotfixDll = assetHotfixDllOperationHandle.GetAssetObject().bytes;
-// Log.Info("开始加载程序集Hotfix");
-// var hotfixAssembly = Assembly.Load(assemblyDataHotfixDll, null);
-// Run(hotfixAssembly);
-// }
-//
-// private static void Run(Assembly assembly)
-// {
-// Log.Info("加载程序集Hotfix 结束 Assembly " + assembly.FullName);
-// var entryType = assembly.GetType("Hotfix.HotfixLauncher");
-// Log.Info("加载程序集Hotfix 结束 EntryType " + entryType.FullName);
-// var method = entryType.GetMethod("Main");
-// Log.Info("加载程序集Hotfix 结束 EntryType=>method " + method?.Name);
-// method?.Invoke(null, null);
-// }
-// }
-// }
\ No newline at end of file
diff --git a/Client/Assets/Scripts/Startup/Framework/Procedure/HotfixHelper.cs.meta b/Client/Assets/Scripts/Startup/Framework/Procedure/HotfixHelper.cs.meta
deleted file mode 100644
index 292374e..0000000
--- a/Client/Assets/Scripts/Startup/Framework/Procedure/HotfixHelper.cs.meta
+++ /dev/null
@@ -1,3 +0,0 @@
-fileFormatVersion: 2
-guid: 9d1ad4e910614930b986e764fe6fce62
-timeCreated: 1680094814
\ No newline at end of file
diff --git a/Client/Assets/Scripts/Startup/Framework/Procedure/LauncherUIHandler.cs b/Client/Assets/Scripts/Startup/Framework/Procedure/LauncherUIHandler.cs
index 5518b69..e5ce3cf 100644
--- a/Client/Assets/Scripts/Startup/Framework/Procedure/LauncherUIHandler.cs
+++ b/Client/Assets/Scripts/Startup/Framework/Procedure/LauncherUIHandler.cs
@@ -18,11 +18,6 @@ namespace Unity.Startup.Procedure
{
}
- public static void ShowLogText(string text)
- {
- Log.Info("TipText:{0}", text);
- }
-
private static float _lastUpdateDownloadedSize;
private static float _totalSpeed;
private static int _speedSampleCount;
@@ -44,7 +39,7 @@ namespace Unity.Startup.Procedure
}
}
- public static void SetProgressUpdate(object sender, GameEventArgs gameEventArgs)
+ private static void SetProgressUpdate(object sender, GameEventArgs gameEventArgs)
{
var message = (AssetDownloadProgressUpdateEventArgs)gameEventArgs;
_currentDownloadBytes = message.CurrentDownloadSizeBytes;
@@ -74,4 +69,4 @@ namespace Unity.Startup.Procedure
return ts.ToString(@"mm\:ss");
}
}
-}
\ No newline at end of file
+}
diff --git a/Client/Assets/Scripts/Startup/Framework/Procedure/PatchUpdater/ProcedureClearCache.cs b/Client/Assets/Scripts/Startup/Framework/Procedure/PatchUpdater/ProcedureClearCache.cs
index b2da182..2c903c4 100644
--- a/Client/Assets/Scripts/Startup/Framework/Procedure/PatchUpdater/ProcedureClearCache.cs
+++ b/Client/Assets/Scripts/Startup/Framework/Procedure/PatchUpdater/ProcedureClearCache.cs
@@ -22,7 +22,7 @@ namespace Unity.Startup.Procedure
private void ClearCacheCompleted(AsyncOperationBase obj)
{
- Log.Debug($"清理包裹缓存完成");
+ Log.Info($"清理包裹缓存完成");
ChangeState(owner);
}
}
diff --git a/Client/Assets/Scripts/Startup/Framework/Procedure/PatchUpdater/ProcedureCreateDownloader.cs b/Client/Assets/Scripts/Startup/Framework/Procedure/PatchUpdater/ProcedureCreateDownloader.cs
index 2deef5c..5291c5f 100644
--- a/Client/Assets/Scripts/Startup/Framework/Procedure/PatchUpdater/ProcedureCreateDownloader.cs
+++ b/Client/Assets/Scripts/Startup/Framework/Procedure/PatchUpdater/ProcedureCreateDownloader.cs
@@ -9,10 +9,12 @@ namespace Unity.Startup.Procedure
{
internal sealed class ProcedureCreateDownloader : ProcedureBase
{
+ private const int DownloadingMaxNum = 10;
+ private const int FailedTryAgain = 3;
+
protected override void OnEnter(IFsm procedureOwner)
{
base.OnEnter(procedureOwner);
-
GameApp.Event.Fire(this, AssetPatchStatesChangeEventArgs.Create(EPatchStates.CreateDownloader));
CreateDownloader(procedureOwner);
}
@@ -20,10 +22,7 @@ namespace Unity.Startup.Procedure
void CreateDownloader(IFsm procedureOwner)
{
- // Debug.Log("创建补丁下载器.");
- int downloadingMaxNum = 10;
- int failedTryAgain = 3;
- ResourceDownloaderOperation downloader = YooAssets.CreateResourceDownloader(downloadingMaxNum, failedTryAgain);
+ ResourceDownloaderOperation downloader = YooAssets.CreateResourceDownloader(DownloadingMaxNum, FailedTryAgain);
var downloaderVarObject = new VarObject();
downloaderVarObject.SetValue(downloader);
procedureOwner.SetData("Downloader", downloaderVarObject);
@@ -34,8 +33,6 @@ namespace Unity.Startup.Procedure
}
else
{
- Debug.Log($"一共发现了{downloader.TotalDownloadCount}个资源需要更新下载。");
-
// 发现新更新文件后,挂起流程系统
int totalDownloadCount = downloader.TotalDownloadCount;
long totalDownloadBytes = downloader.TotalDownloadBytes;
@@ -44,7 +41,7 @@ namespace Unity.Startup.Procedure
sizeMb = Mathf.Clamp(sizeMb, 0.1f, float.MaxValue);
string totalSizeMb = sizeMb.ToString("f1");
- Debug.Log($"总共需要下载文件大小为:{totalSizeMb}");
+ Log.Info($"一共发现了{downloader.TotalDownloadCount}个资源需要更新下载,总共需要下载文件大小为:{totalSizeMb}!");
//这里进行确认 如果要下载在进行跳转到Download
diff --git a/Client/Assets/Scripts/Startup/Framework/Procedure/PatchUpdater/ProcedureDownloadWebFiles.cs b/Client/Assets/Scripts/Startup/Framework/Procedure/PatchUpdater/ProcedureDownloadWebFiles.cs
index 95b9d2e..04e362f 100644
--- a/Client/Assets/Scripts/Startup/Framework/Procedure/PatchUpdater/ProcedureDownloadWebFiles.cs
+++ b/Client/Assets/Scripts/Startup/Framework/Procedure/PatchUpdater/ProcedureDownloadWebFiles.cs
@@ -40,7 +40,7 @@ namespace Unity.Startup.Procedure
// 检测下载结果
if (downloader.Status != EOperationStatus.Succeed)
{
- Log.Debug("全部下载完毕!");
+ Log.Error("资源更新失败!");
return;
}
diff --git a/Client/Assets/Scripts/Startup/Framework/Procedure/ProcedureGetAppVersionInfoState.cs b/Client/Assets/Scripts/Startup/Framework/Procedure/ProcedureGetAppVersionInfoState.cs
index 7a7fa3b..593d858 100644
--- a/Client/Assets/Scripts/Startup/Framework/Procedure/ProcedureGetAppVersionInfoState.cs
+++ b/Client/Assets/Scripts/Startup/Framework/Procedure/ProcedureGetAppVersionInfoState.cs
@@ -21,7 +21,6 @@ namespace Unity.Startup.Procedure
// 编辑器下的模拟模式
if (GameApp.Resource.GamePlayMode == EPlayMode.EditorSimulateMode)
{
- Debug.Log("当前为编辑器模式,直接启动 FsmGetAppVersionInfoState");
ChangeState(procedureOwner);
return;
}
@@ -61,4 +60,4 @@ namespace Unity.Startup.Procedure
}
}
}
-}
\ No newline at end of file
+}
diff --git a/Client/Assets/Scripts/Startup/Framework/Procedure/ProcedureGetGlobalInfoState.cs b/Client/Assets/Scripts/Startup/Framework/Procedure/ProcedureGetGlobalInfoState.cs
index 7677614..521678f 100644
--- a/Client/Assets/Scripts/Startup/Framework/Procedure/ProcedureGetGlobalInfoState.cs
+++ b/Client/Assets/Scripts/Startup/Framework/Procedure/ProcedureGetGlobalInfoState.cs
@@ -17,17 +17,14 @@ namespace Unity.Startup.Procedure
protected override void OnEnter(IFsm procedureOwner)
{
base.OnEnter(procedureOwner);
- // 编辑器下的模拟模式
if (GameApp.Resource.GamePlayMode == EPlayMode.EditorSimulateMode)
{
- Log.Debug("当前为编辑器模式,直接启动 ProcedureGetAppVersionInfoState");
ChangeState(procedureOwner);
return;
}
if (GameApp.Resource.GamePlayMode == EPlayMode.OfflinePlayMode)
{
- Log.Debug("当前为离线模式,直接启动 ProcedurePatchInit");
ChangeState(procedureOwner);
return;
}
@@ -73,4 +70,4 @@ namespace Unity.Startup.Procedure
}
}
}
-}
\ No newline at end of file
+}
diff --git a/Client/Assets/Scripts/Startup/Framework/Procedure/ProcedureLoadAssembly.cs b/Client/Assets/Scripts/Startup/Framework/Procedure/ProcedureLoadAssembly.cs
index 05ad0b8..c005ea8 100644
--- a/Client/Assets/Scripts/Startup/Framework/Procedure/ProcedureLoadAssembly.cs
+++ b/Client/Assets/Scripts/Startup/Framework/Procedure/ProcedureLoadAssembly.cs
@@ -30,7 +30,7 @@ namespace Unity.Startup.Procedure
protected override void OnEnter(IFsm procedureOwner)
{
base.OnEnter(procedureOwner);
- Log.Info("HyBridCLR ProcedureLoadAssembly OnEnter");
+ Log.Info(" ProcedureLoadAssembly OnEnter");
m_LoadAssemblyComplete = false;
m_HotfixAssemblys = new List();
@@ -284,4 +284,4 @@ namespace Unity.Startup.Procedure
GameApp.Resource.UnloadAsset(textAsset);
}
}
-}
\ No newline at end of file
+}
diff --git a/Client/Assets/YooAsset/AssetBundleCollectorSetting.asset b/Client/Assets/YooAsset/AssetBundleCollectorSetting.asset
index 22a464c..1809dd9 100644
--- a/Client/Assets/YooAsset/AssetBundleCollectorSetting.asset
+++ b/Client/Assets/YooAsset/AssetBundleCollectorSetting.asset
@@ -22,7 +22,7 @@ MonoBehaviour:
LocationToLower: 0
IncludeAssetGUID: 0
AutoCollectShaders: 1
- IgnoreRuleName: NormalIgnoreRule
+ IgnoreRuleName: GameIgnoreRule
Groups:
- GroupName: Entity
GroupDesc: "\u89D2\u8272"
diff --git a/Client/Packages/com.alicizax.unity.editor.extension/Editor.meta b/Client/Packages/com.alicizax.unity.editor.extension/Editor.meta
new file mode 100644
index 0000000..25107ae
--- /dev/null
+++ b/Client/Packages/com.alicizax.unity.editor.extension/Editor.meta
@@ -0,0 +1,8 @@
+fileFormatVersion: 2
+guid: dcf5732141edc614185c12b4efb68227
+folderAsset: yes
+DefaultImporter:
+ externalObjects: {}
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Client/Packages/com.alicizax.unity.editor.extension/Editor/AlicizaX.EditorExtension.Editor.asmdef b/Client/Packages/com.alicizax.unity.editor.extension/Editor/AlicizaX.EditorExtension.Editor.asmdef
new file mode 100644
index 0000000..efcb860
--- /dev/null
+++ b/Client/Packages/com.alicizax.unity.editor.extension/Editor/AlicizaX.EditorExtension.Editor.asmdef
@@ -0,0 +1,16 @@
+{
+ "name": "AlicizaX.EditorExtension.Editor",
+ "rootNamespace": "AlicizaX.EditorExtension.Editor",
+ "references": [],
+ "includePlatforms": [
+ "Editor"
+ ],
+ "excludePlatforms": [],
+ "allowUnsafeCode": true,
+ "overrideReferences": false,
+ "precompiledReferences": [],
+ "autoReferenced": true,
+ "defineConstraints": [],
+ "versionDefines": [],
+ "noEngineReferences": false
+}
\ No newline at end of file
diff --git a/Client/Packages/com.alicizax.unity.editor.extension/Editor/AlicizaX.EditorExtension.Editor.asmdef.meta b/Client/Packages/com.alicizax.unity.editor.extension/Editor/AlicizaX.EditorExtension.Editor.asmdef.meta
new file mode 100644
index 0000000..7efa1cd
--- /dev/null
+++ b/Client/Packages/com.alicizax.unity.editor.extension/Editor/AlicizaX.EditorExtension.Editor.asmdef.meta
@@ -0,0 +1,7 @@
+fileFormatVersion: 2
+guid: 99a2a63c2a1143c4ba448165a98a5108
+AssemblyDefinitionImporter:
+ externalObjects: {}
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Client/Packages/com.alicizax.unity.editor.extension/Editor/Table.meta b/Client/Packages/com.alicizax.unity.editor.extension/Editor/Table.meta
new file mode 100644
index 0000000..433e7b9
--- /dev/null
+++ b/Client/Packages/com.alicizax.unity.editor.extension/Editor/Table.meta
@@ -0,0 +1,8 @@
+fileFormatVersion: 2
+guid: 5753f0f3f47dd234699b76df886f3f81
+folderAsset: yes
+DefaultImporter:
+ externalObjects: {}
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Client/Packages/com.alicizax.unity.editor.extension/Editor/Table/GenericTableWindow.cs b/Client/Packages/com.alicizax.unity.editor.extension/Editor/Table/GenericTableWindow.cs
new file mode 100644
index 0000000..202f422
--- /dev/null
+++ b/Client/Packages/com.alicizax.unity.editor.extension/Editor/Table/GenericTableWindow.cs
@@ -0,0 +1,400 @@
+using System;
+using System.Collections.Generic;
+using System.Reflection;
+using UnityEditor;
+using UnityEditor.SceneManagement;
+using UnityEngine;
+using UObject = UnityEngine.Object;
+
+namespace AlicizaX.EditorExtension.Editor
+{
+ ///
+ /// 通用表格绘制器
+ ///
+ public sealed class GenericTableWindow : EditorWindow
+ {
+ ///
+ /// 打开通用表格绘制器
+ ///
+ /// 表格数据目标实例
+ /// 表格数据的字段名称
+ public static void OpenWindow(UObject target, string fieldName)
+ {
+ GenericTableWindow window = GetWindow();
+ window.titleContent.image = EditorGUIUtility.IconContent("ScriptableObject Icon").image;
+ window.titleContent.text = "Generic Table";
+ window.OnInit(target, fieldName);
+ }
+
+ private const int Border = 10;
+ private const int TitleHeight = 20;
+ private Dictionary _fieldInfos = new Dictionary();
+ private TableView