From ac18067b5e2447bc1ca614a54d50af63a34845df Mon Sep 17 00:00:00 2001
From: yyl <yyl>
Date: 星期三, 26 十一月 2025 14:34:16 +0800
Subject: [PATCH] Merge branch 'master' of http://192.168.1.20:10010/r/Project_SG_client

---
 Assets/Editor/UIComponent/UIBaseEditor.cs |   30 +++++++++++++++---------------
 1 files changed, 15 insertions(+), 15 deletions(-)

diff --git a/Assets/Editor/UIComponent/UIBaseEditor.cs b/Assets/Editor/UIComponent/UIBaseEditor.cs
index 309548f..93dbc68 100644
--- a/Assets/Editor/UIComponent/UIBaseEditor.cs
+++ b/Assets/Editor/UIComponent/UIBaseEditor.cs
@@ -1,10 +1,10 @@
-锘縰sing UnityEditor;
-using UnityEngine;
-using UnityEngine.UI;
-
-[CustomEditor(typeof(UIBase),true),CanEditMultipleObjects]
+锘縰sing UnityEditor;
+using UnityEngine;
+using UnityEngine.UI;
+
+[CustomEditor(typeof(UIBase),true),CanEditMultipleObjects]
 public class UIBaseEditor: Editor
-{
+{
     public override void OnInspectorGUI() {
         UIBase ui = target as UIBase;
         //澧炲姞涓寜閽� 鐐瑰嚮鐢熸垚涓�涓柊鐨勯伄缃�
@@ -23,8 +23,8 @@
                 GameObject.DestroyImmediate(ui.screenMask);
                 ui.screenMask = null;
             }
-        }
-        base.OnInspectorGUI();
+        }
+        base.OnInspectorGUI();
         EditorGUILayout.Space();
 
 
@@ -32,7 +32,7 @@
         if (ui.openMask)
         {
             CreateScreen(ui);
-            ui.screenMask.GetComponent<Image>().color = new Color32(0, 0, 0, 226);
+            ui.screenMask.GetComponent<Image>().color = new Color(0, 0, 0, 0.7f);
         }
         else
         {
@@ -53,8 +53,8 @@
 
         
 
-    }
-
+    }
+
     void CreateScreen(UIBase ui)
     {
         if (ui.screenMask == null)
@@ -63,7 +63,7 @@
         ui.screenMask.transform.localPosition = Vector3.zero;
         ui.screenMask.transform.localScale = Vector3.one;
         ui.screenMask.transform.localRotation = Quaternion.identity;
-        ui.screenMask.transform.SetAsFirstSibling();
-    }
-}
-
+        ui.screenMask.transform.SetAsFirstSibling();
+    }
+}
+

--
Gitblit v1.8.0