From 2389c9ef3ed8c5846ccba666187014b8bb270074 Mon Sep 17 00:00:00 2001
From: Ding Yuntian <1491671119@qq.com>
Date: Mon, 29 Jun 2026 20:20:04 +0800
Subject: [PATCH] =?UTF-8?q?fix(ui):=20show=5Fobj=E6=94=B9=E8=BF=9B?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
Assets/Scenes/Persistence.unity | 4 ++--
Assets/Scripts/UI/Panel/PlayToolPanel.cs | 5 -----
2 files changed, 2 insertions(+), 7 deletions(-)
diff --git a/Assets/Scenes/Persistence.unity b/Assets/Scenes/Persistence.unity
index fe400857f..19895ea43 100644
--- a/Assets/Scenes/Persistence.unity
+++ b/Assets/Scenes/Persistence.unity
@@ -14106,14 +14106,14 @@ MonoBehaviour:
m_Name:
m_EditorClassIdentifier:
m_Material: {fileID: 0}
- m_Color: {r: 1, g: 1, b: 1, a: 1}
+ m_Color: {r: 1, g: 1, b: 1, a: 0}
m_RaycastTarget: 1
m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0}
m_Maskable: 0
m_OnCullStateChanged:
m_PersistentCalls:
m_Calls: []
- m_Sprite: {fileID: 21300000, guid: eccbf2467d281894bafba3ef467f0875, type: 3}
+ m_Sprite: {fileID: 0}
m_Type: 0
m_PreserveAspect: 0
m_FillCenter: 1
diff --git a/Assets/Scripts/UI/Panel/PlayToolPanel.cs b/Assets/Scripts/UI/Panel/PlayToolPanel.cs
index 711364906..da7a216bf 100644
--- a/Assets/Scripts/UI/Panel/PlayToolPanel.cs
+++ b/Assets/Scripts/UI/Panel/PlayToolPanel.cs
@@ -122,7 +122,6 @@ namespace AibisDream.UI
/// 协程
public IEnumerator ShowObj(string picName, float duration = 1)
{
- _showObjImage.color = Color.clear;
_showObjPanel.gameObject.SetActive(true);
var key = string.Format(ObjSpritePath, NormalizeObjPicName(picName));
@@ -163,9 +162,6 @@ namespace AibisDream.UI
public IEnumerator ShowFullScreen(string picName, float duration = 1)
{
- _fullScreenImage.color = Color.clear;
- _fullScreenImage.gameObject.SetActive(true);
-
var key = string.Format(ObjSpritePath, NormalizeObjPicName(picName));
var handle = ResourceSystem.LoadAsync(key);
yield return handle;
@@ -184,7 +180,6 @@ namespace AibisDream.UI
public IEnumerator HideFullScreen(float duration = 1)
{
yield return _fullScreenImage.FadeOutAsync(duration);
- _fullScreenImage.gameObject.SetActive(false);
}
public IEnumerator OpenProgressWindow(string title, string description, float duration)