From d72f3fb181c4ef6feb054064dc25f8f4ba5bf290 Mon Sep 17 00:00:00 2001
From: yyl <yyl>
Date: 星期四, 12 六月 2025 18:48:38 +0800
Subject: [PATCH] 18 子 2D卡牌客户端搭建 / 2D卡牌客户端搭建 新增界面ScaleOverInOut曲线(给策划/美术调

---
 Assets/Editor/UI/UIBaseInspector.cs |    6 ++++++
 1 files changed, 6 insertions(+), 0 deletions(-)

diff --git a/Assets/Editor/UI/UIBaseInspector.cs b/Assets/Editor/UI/UIBaseInspector.cs
index 0874163..2267e79 100644
--- a/Assets/Editor/UI/UIBaseInspector.cs
+++ b/Assets/Editor/UI/UIBaseInspector.cs
@@ -16,6 +16,7 @@
     SerializedProperty closeAnimationType;
     SerializedProperty animeRoot;
     SerializedProperty animeDuration;
+    SerializedProperty scaleOverInOutCurve;
     SerializedProperty animationEase;
 
     SerializedProperty openMask;
@@ -34,6 +35,7 @@
         closeAnimationType = serializedObject.FindProperty("closeAnimationType");
         animeRoot = serializedObject.FindProperty("_rectTransform");
         animeDuration = serializedObject.FindProperty("animeDuration");
+        scaleOverInOutCurve = serializedObject.FindProperty("scaleOverInOutCurve");
         animationEase = serializedObject.FindProperty("animationEase");
 
         openMask = serializedObject.FindProperty("openMask");
@@ -68,6 +70,10 @@
         {
             EditorGUI.indentLevel++;
             EditorGUILayout.PropertyField(animeDuration);
+            if ((UIAnimationType)openAnimationType.enumValueIndex == UIAnimationType.ScaleOverInOut)
+            {
+                EditorGUILayout.PropertyField(scaleOverInOutCurve);
+            }
             EditorGUILayout.PropertyField(animationEase);
             EditorGUI.indentLevel--;
         }

--
Gitblit v1.8.0