From 7b31d609d34cf2732bf03c3837d8c5d2a40b2a02 Mon Sep 17 00:00:00 2001 From: Ding Yuntian <1491671119@qq.com> Date: Thu, 26 Dec 2024 21:39:33 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=A1=E5=87=BA=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Assets/Scripts/FixSystemNew/BodyModule/Plug.cs | 3 --- Assets/Scripts/FixSystemNew/Clinic/CharacterViewer.cs | 1 + 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/Assets/Scripts/FixSystemNew/BodyModule/Plug.cs b/Assets/Scripts/FixSystemNew/BodyModule/Plug.cs index e86a9a428..c53c79420 100644 --- a/Assets/Scripts/FixSystemNew/BodyModule/Plug.cs +++ b/Assets/Scripts/FixSystemNew/BodyModule/Plug.cs @@ -113,9 +113,6 @@ namespace AibisDream.FixSystem public void OnPointerUp(PointerEventData eventData) { - // 系统被锁定就返回 - if (!_cableSystem.IsPlugAvailable()) return; - // 停止拖拽 _isDragging = false; diff --git a/Assets/Scripts/FixSystemNew/Clinic/CharacterViewer.cs b/Assets/Scripts/FixSystemNew/Clinic/CharacterViewer.cs index ca084ed43..81c6604cb 100644 --- a/Assets/Scripts/FixSystemNew/Clinic/CharacterViewer.cs +++ b/Assets/Scripts/FixSystemNew/Clinic/CharacterViewer.cs @@ -78,6 +78,7 @@ namespace AibisDream.FixSystem private void SetCharacterAlpha(float alpha) { + _characterAlpha = alpha; SpriteRenderer[] renderers = _curCharacter.GetComponentsInChildren(); foreach (var childRenderer in renderers) {