This commit is contained in:
陈思海 2025-11-14 13:34:21 +08:00
parent e6fd735226
commit e30fa04bc3
13 changed files with 46 additions and 72 deletions

View File

@ -1,8 +0,0 @@
fileFormatVersion: 2
guid: 9181b472a17593b4297ca64ab22ee580
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

View File

@ -1,8 +0,0 @@
fileFormatVersion: 2
guid: 01020433c7cce224cb00676deb461233
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

View File

@ -5,6 +5,7 @@ using AlicizaX.Resource.Runtime;
using AlicizaX.Localization.Runtime; using AlicizaX.Localization.Runtime;
using AlicizaX; using AlicizaX;
using Cysharp.Threading.Tasks; using Cysharp.Threading.Tasks;
using Game.UI;
using UnityEngine; using UnityEngine;
@ -17,6 +18,7 @@ namespace Unity.Startup.Procedure
public static void Start() public static void Start()
{ {
eventRuntimeHandle = EventPublisher.Subscribe<AssetDownloadProgressUpdateEventArgs>(SetProgressUpdate); eventRuntimeHandle = EventPublisher.Subscribe<AssetDownloadProgressUpdateEventArgs>(SetProgressUpdate);
GameApp.UI.ShowUI<UIGameLaunchWindow>();
} }
public static void Dispose() public static void Dispose()

View File

@ -20,7 +20,6 @@ namespace Unity.Startup.Procedure
{ {
hostUrl = HttpHelper.CDNUrl; hostUrl = HttpHelper.CDNUrl;
} }
Log.Info(hostUrl);
await GameApp.Resource.InitPackageAsync(string.Empty, hostUrl, hostUrl); await GameApp.Resource.InitPackageAsync(string.Empty, hostUrl, hostUrl);
await UniTask.DelayFrame(); await UniTask.DelayFrame();
UpdateStaticVersion().Forget(); UpdateStaticVersion().Forget();

View File

@ -7,7 +7,7 @@ namespace Game.UI
[UIRes(ui_UIGameLaunchWindow.ResTag, EUIResLoadType.Resources)] [UIRes(ui_UIGameLaunchWindow.ResTag, EUIResLoadType.Resources)]
public class ui_UIGameLaunchWindow : UIHolderObjectBase public class ui_UIGameLaunchWindow : UIHolderObjectBase
{ {
public const string ResTag = "Window/UIGameLaunchWindow"; public const string ResTag = "UI/Window/UIGameLaunchWindow";
#region Generated by Script Tool #region Generated by Script Tool
[SerializeField] [SerializeField]

View File

@ -0,0 +1,11 @@
using AlicizaX.UI.Runtime;
using Game.UI;
namespace Unity.Startup
{
[Window(UILayer.UI,false,-1)]
public class UIGameLaunchWindow:UIWindow<ui_UIGameLaunchWindow>
{
}
}

View File

@ -0,0 +1,3 @@
fileFormatVersion: 2
guid: 7e32727ffd2c469eaef3e9bc260678be
timeCreated: 1763098344

View File

@ -19,6 +19,7 @@ MonoBehaviour:
- PackageName: DefaultPackage - PackageName: DefaultPackage
PackageDesc: "\u9ED8\u8BA4\u8D44\u6E90\u5305" PackageDesc: "\u9ED8\u8BA4\u8D44\u6E90\u5305"
EnableAddressable: 1 EnableAddressable: 1
SupportExtensionless: 1
LocationToLower: 0 LocationToLower: 0
IncludeAssetGUID: 0 IncludeAssetGUID: 0
AutoCollectShaders: 1 AutoCollectShaders: 1
@ -162,32 +163,6 @@ MonoBehaviour:
FilterRuleName: CollectAll FilterRuleName: CollectAll
AssetTags: AssetTags:
UserData: UserData:
- GroupName: Animation
GroupDesc: "\u52A8\u753B"
AssetTags: Animation
ActiveRuleName: EnableGroup
Collectors:
- CollectPath: Assets/Bundles/Animation
CollectorGUID: 9181b472a17593b4297ca64ab22ee580
CollectorType: 0
AddressRuleName: AddressByFileName
PackRuleName: PackDirectory
FilterRuleName: CollectAll
AssetTags:
UserData:
- GroupName: Map
GroupDesc: "\u5730\u56FE"
AssetTags: Map
ActiveRuleName: EnableGroup
Collectors:
- CollectPath: Assets/Bundles/Map
CollectorGUID: 01020433c7cce224cb00676deb461233
CollectorType: 0
AddressRuleName: AddressByFileName
PackRuleName: PackDirectory
FilterRuleName: CollectAll
AssetTags:
UserData:
- GroupName: ShaderVariants - GroupName: ShaderVariants
GroupDesc: ShaderVariants GroupDesc: ShaderVariants
AssetTags: ShaderVariants AssetTags: ShaderVariants

View File

@ -10,7 +10,7 @@
"BuildPipeline": "EditorSimulateBuildPipeline", "BuildPipeline": "EditorSimulateBuildPipeline",
"PackageName": "DefaultPackage", "PackageName": "DefaultPackage",
"PackageVersion": "Simulate", "PackageVersion": "Simulate",
"PackageNote": "2025/11/13 17:20:00", "PackageNote": "2025/11/14 13:33:09",
"AssetList": [ "AssetList": [
{ {
"Address": "A1", "Address": "A1",

@ -1 +1 @@
Subproject commit a1af4b9165529d445f3dbc932c7920fad8094815 Subproject commit bb268b32a39187f69ed5ce9c106fc59338334676

View File

@ -64,7 +64,7 @@ MonoBehaviour:
- ProjectName: MainProject - ProjectName: MainProject
NameSpace: Game.UI NameSpace: Game.UI
GenerateHolderCodePath: Assets/Scripts/Startup/UI/Generate GenerateHolderCodePath: Assets/Scripts/Startup/UI/Generate
UIPrefabRootPath: Assets/Resources/UI/ UIPrefabRootPath: Assets/Resources/
LoadType: 0 LoadType: 0
- ProjectName: Hotfix - ProjectName: Hotfix
NameSpace: Game.UI NameSpace: Game.UI