This commit is contained in:
CortexCore
2024-12-29 18:03:29 +08:00
parent 0b3bb54322
commit 385220e0f6
5 changed files with 58 additions and 56 deletions

View File

@@ -49,6 +49,8 @@ namespace Net.Like.Xue.Tokyo
var serviceCollection = BITApp.ServiceCollection = new ServiceCollection();
serviceCollection.AddSingleton(source);
serviceCollection.AddSingleton<IServiceCollection>(serviceCollection);
serviceCollection.AddTransient(typeof(ILogger<>),typeof( UnityLogger<>));

View File

@@ -1,4 +1,4 @@
<ui:UXML xmlns:ui="UnityEngine.UIElements" xmlns:uie="UnityEditor.UIElements" xsi="http://www.w3.org/2001/XMLSchema-instance" engine="UnityEngine.UIElements" editor="UnityEditor.UIElements" noNamespaceSchemaLocation="../../../UIElementsSchema/UIElements.xsd" editor-extension-mode="False">
<ui:Template name="BITConsole" src="project://database/Assets/BITKit/Unity/UX/BITConsole.uxml?fileID=9197481963319205126&amp;guid=b42b9a148466f1f41a27bfc482972943&amp;type=3#BITConsole" />
<ui:Instance template="BITConsole" name="BITConsole" picking-mode="Ignore" style="flex-grow: 1;" />
</ui:UXML>
<ui:UXML xmlns:ui="UnityEngine.UIElements" xmlns:uie="UnityEditor.UIElements" xsi="http://www.w3.org/2001/XMLSchema-instance" engine="UnityEngine.UIElements" editor="UnityEditor.UIElements" noNamespaceSchemaLocation="../../../UIElementsSchema/UIElements.xsd" editor-extension-mode="False">
<ui:Template name="BITConsole" src="project://database/Assets/BITKit/Unity/UX/BITConsole.uxml?fileID=9197481963319205126&amp;guid=b42b9a148466f1f41a27bfc482972943&amp;type=3#BITConsole" />
<ui:Instance template="BITConsole" name="BITConsole" picking-mode="Ignore" style="flex-grow: 1;" />
</ui:UXML>