Browse Source

修改bug

lzx 1 day ago
parent
commit
30f9d8cab1

+ 1 - 1
Assets/Res/UI/HeroInformainPanel/BreakthroughItemWidget.prefab

@@ -422,7 +422,7 @@ MonoBehaviour:
   m_EditorClassIdentifier: 
   m_Material: {fileID: 0}
   m_Color: {r: 1, g: 1, b: 1, a: 1}
-  m_RaycastTarget: 1
+  m_RaycastTarget: 0
   m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0}
   m_Maskable: 1
   m_OnCullStateChanged:

+ 2 - 2
Assets/Scripts/GameUI/ULockWidget.cs

@@ -113,7 +113,7 @@ public class ULockWidget : MonoBehaviour, IPointerClickHandler
             {
                 if (mUIButton != null)
                 {
-                    mUIButton.enabled = false;
+                    mUIButton.interactable = false;
                 }
                 else
                 {
@@ -135,7 +135,7 @@ public class ULockWidget : MonoBehaviour, IPointerClickHandler
             {
                 if (mUIButton != null)
                 {
-                    mUIButton.enabled = true;
+                    mUIButton.interactable = true;
                 }
 
                 //TODO 恢复正常颜色