This commit is contained in:
CortexCore
2024-11-14 17:17:46 +08:00
parent 416e3322db
commit b65b45c062
368 changed files with 1785 additions and 400 deletions

View File

@@ -110,6 +110,8 @@ namespace Net.Like.Xue.Tokyo
//生成玩家
serviceCollection.AddSingleton<GameSpawnPlayerService>();
serviceCollection.AddSingleton<YooAssetMaterialFix>();
//获取服务提供者
var serviceProvider = serviceCollection.BuildServiceProvider();
@@ -156,6 +158,8 @@ namespace Net.Like.Xue.Tokyo
serviceProvider.GetRequiredService<UXConsole>();
serviceProvider.GetRequiredService<YooAssetMaterialFix>();
Application.targetFrameRate = 90;
await destroyCancellationToken.WaitUntilCanceled();