From ab4f6815f9ae1650ecbc42b0a558e3428cbca6da Mon Sep 17 00:00:00 2001
From: hch <305670599@qq.com>
Date: 星期三, 15 七月 2026 15:48:31 +0800
Subject: [PATCH] 0312 渐变字增加系数调整
---
Assets/Editor/UIComponent/GradientTextEditor.cs | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/Assets/Editor/UIComponent/GradientTextEditor.cs b/Assets/Editor/UIComponent/GradientTextEditor.cs
index e7195f0..b256666 100644
--- a/Assets/Editor/UIComponent/GradientTextEditor.cs
+++ b/Assets/Editor/UIComponent/GradientTextEditor.cs
@@ -11,6 +11,7 @@
private SerializedProperty m_BottomLeftColor;
private SerializedProperty m_BottomRightColor;
private SerializedProperty m_UseGradient;
+ private SerializedProperty m_GradientPower;
protected override void OnEnable()
{
@@ -22,6 +23,7 @@
m_BottomLeftColor = serializedObject.FindProperty("m_BottomLeftColor");
m_BottomRightColor = serializedObject.FindProperty("m_BottomRightColor");
m_UseGradient = serializedObject.FindProperty("m_UseGradient");
+ m_GradientPower = serializedObject.FindProperty("m_GradientPower");
}
public override void OnInspectorGUI()
@@ -77,6 +79,8 @@
break;
}
+ EditorGUILayout.PropertyField(m_GradientPower, new GUIContent("缂撳嚭鎸囨暟(1=绾挎��)"));
+
// 蹇�熻缃寜閽�
EditorGUILayout.Space();
EditorGUILayout.LabelField("蹇�熻缃�", EditorStyles.miniLabel);
--
Gitblit v1.8.0