From 02a0d5bd3ff02ae9bc3a05140fc81d783c405334 Mon Sep 17 00:00:00 2001 From: ntr Date: Thu, 24 Aug 2023 14:56:00 +1000 Subject: [PATCH] interface icon --- Assets/Src/UI/InterfaceIcon.cs | 2 +- ProjectSettings/ProjectSettings.asset | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/Assets/Src/UI/InterfaceIcon.cs b/Assets/Src/UI/InterfaceIcon.cs index 0b346ee..696c13e 100644 --- a/Assets/Src/UI/InterfaceIcon.cs +++ b/Assets/Src/UI/InterfaceIcon.cs @@ -20,7 +20,7 @@ public class InterfaceIcon : VisualElement { public new class UxmlFactory : UxmlFactory {} public new class UxmlTraits : VisualElement.UxmlTraits { readonly UxmlEnumAttributeDescription _iconAttribute = new() { name = "icon" }; - readonly UxmlStringAttributeDescription _detailAttribute = new UxmlStringAttributeDescription() { name = "text" }; + readonly UxmlStringAttributeDescription _detailAttribute = new UxmlStringAttributeDescription() { name = "detail" }; public override void Init(VisualElement ve, IUxmlAttributes bag, CreationContext cc) { base.Init(ve, bag, cc); diff --git a/ProjectSettings/ProjectSettings.asset b/ProjectSettings/ProjectSettings.asset index 77e4ef3..dcbe2de 100644 --- a/ProjectSettings/ProjectSettings.asset +++ b/ProjectSettings/ProjectSettings.asset @@ -134,7 +134,8 @@ PlayerSettings: vulkanEnableCommandBufferRecycling: 1 loadStoreDebugModeEnabled: 0 bundleVersion: 0.1 - preloadedAssets: [] + preloadedAssets: + - {fileID: 11400000, guid: 020903acd8b50dd45a683fb9312ba7af, type: 2} metroInputSource: 0 wsaTransparentSwapchain: 0 m_HolographicPauseOnTrackingLoss: 1