From f448a4aff7c479db081175c9206913cc6dedf553 Mon Sep 17 00:00:00 2001
From: hch <305670599@qq.com>
Date: 星期二, 09 十二月 2025 16:23:03 +0800
Subject: [PATCH] 0312 优化字符串拼接函数
---
Main/Component/UI/Common/EnableButtonConfig.cs | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/Main/Component/UI/Common/EnableButtonConfig.cs b/Main/Component/UI/Common/EnableButtonConfig.cs
index 20c8160..4c7bf9f 100644
--- a/Main/Component/UI/Common/EnableButtonConfig.cs
+++ b/Main/Component/UI/Common/EnableButtonConfig.cs
@@ -31,7 +31,7 @@
{
return dict[_type];
}
- var _cfg= BuiltInLoader.LoadScriptableObject<EnableButtonConfig>(StringUtility.Contact("EnableButton_", _type));
+ var _cfg= BuiltInLoader.LoadScriptableObject<EnableButtonConfig>(StringUtility.Contact("EnableButton_", _type.ToString()));
dict.Add(_type, _cfg);
return _cfg;
}
--
Gitblit v1.8.0