三国卡牌客户端基础资源仓库
hch
6 天以前 eacf261ff7ced55c03fa11fb55128d166acca217
Assets/Editor/UIComponent/GroupButtonExEditor.cs
@@ -9,6 +9,7 @@
    SerializedProperty unselectIconProperty;
    SerializedProperty titleProperty;
    SerializedProperty effectProperty;
    SerializedProperty redpointProperty;
    protected override void OnEnable()
    {
@@ -18,6 +19,7 @@
        unselectIconProperty = serializedObject.FindProperty("m_UnSelectIcon");
        titleProperty = serializedObject.FindProperty("m_Title");
        effectProperty = serializedObject.FindProperty("m_SelectEffect");
        redpointProperty = serializedObject.FindProperty("redpoint");
    }
    public override void OnInspectorGUI()
@@ -34,6 +36,7 @@
        EditorGUILayout.PropertyField(unselectIconProperty, new GUIContent("Unselect Icon"));
        EditorGUILayout.PropertyField(titleProperty, new GUIContent("Title"));
        EditorGUILayout.PropertyField(effectProperty, new GUIContent("SelectEffect"));
        EditorGUILayout.PropertyField(redpointProperty, new GUIContent("Redpoint"));
        
        serializedObject.ApplyModifiedProperties();
    }