From 5a7227396606499e022fb5d2e9b99375dda267ec Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=99=88=E6=80=9D=E6=B5=B7?= <1464576565@qq.com> Date: Tue, 18 Mar 2025 11:58:20 +0800 Subject: [PATCH] modify --- Asset/Entry.prefab | 46 --------------------------- Runtime/AlicizaX.Entry.Runtime.asmdef | 1 - Runtime/GameApp.Config.cs | 23 -------------- Runtime/GameApp.Config.cs.meta | 3 -- 4 files changed, 73 deletions(-) delete mode 100644 Runtime/GameApp.Config.cs delete mode 100644 Runtime/GameApp.Config.cs.meta diff --git a/Asset/Entry.prefab b/Asset/Entry.prefab index 32bf2e6..9dd4040 100644 --- a/Asset/Entry.prefab +++ b/Asset/Entry.prefab @@ -445,51 +445,6 @@ MonoBehaviour: m_Name: m_EditorClassIdentifier: componentType: AlicizaX.Scene.Runtime.GameSceneManager ---- !u!1 &5379455891244748021 -GameObject: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - serializedVersion: 6 - m_Component: - - component: {fileID: 4323824073023419020} - - component: {fileID: 59316958468602302} - m_Layer: 0 - m_Name: Config - m_TagString: Untagged - m_Icon: {fileID: 0} - m_NavMeshLayer: 0 - m_StaticEditorFlags: 0 - m_IsActive: 1 ---- !u!4 &4323824073023419020 -Transform: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 5379455891244748021} - 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: 425597497363353001} - m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} ---- !u!114 &59316958468602302 -MonoBehaviour: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 5379455891244748021} - 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 &5472542677182214335 GameObject: m_ObjectHideFlags: 0 @@ -532,7 +487,6 @@ Transform: - {fileID: 8504326711444028785} - {fileID: 7231588671532407876} - {fileID: 1640076400431107710} - - {fileID: 4323824073023419020} - {fileID: 8452422965548084857} - {fileID: 9160912643551877041} - {fileID: 9144434048949093429} diff --git a/Runtime/AlicizaX.Entry.Runtime.asmdef b/Runtime/AlicizaX.Entry.Runtime.asmdef index f45b80e..5978795 100644 --- a/Runtime/AlicizaX.Entry.Runtime.asmdef +++ b/Runtime/AlicizaX.Entry.Runtime.asmdef @@ -13,7 +13,6 @@ "GUID:000cc1eaf688c5246be5328cb0cf16c8", "GUID:0d00816689626d846bd06cd779413413", "GUID:198eb6af143bbc4488e2779d96697e06", - "GUID:fa962577ca32d0e429a1ff4b4d30f43c", "GUID:a19b414bea3b97240a91aeab9a8eab36", "GUID:e9c35c8938f782649bb7e670099ca425" ], diff --git a/Runtime/GameApp.Config.cs b/Runtime/GameApp.Config.cs deleted file mode 100644 index 7c2d86f..0000000 --- a/Runtime/GameApp.Config.cs +++ /dev/null @@ -1,23 +0,0 @@ -using AlicizaX.Config.Runtime; -using AlicizaX.Runtime; - -public static partial class GameApp -{ - /// - /// 获取配置组件。 - /// - public static ConfigComponent Config - { - get - { - if (_config == null) - { - _config = GameEntry.GetComponent(); - } - - return _config; - } - } - - private static ConfigComponent _config; -} \ No newline at end of file diff --git a/Runtime/GameApp.Config.cs.meta b/Runtime/GameApp.Config.cs.meta deleted file mode 100644 index 440a8f9..0000000 --- a/Runtime/GameApp.Config.cs.meta +++ /dev/null @@ -1,3 +0,0 @@ -fileFormatVersion: 2 -guid: 34737ac17a5944d894d2310d8bab4765 -timeCreated: 1737440423 \ No newline at end of file