过程版本存档

This commit is contained in:
2024-10-10 12:46:34 +08:00
parent 8d681c0287
commit d037457701
4937 changed files with 1207357 additions and 570 deletions
@@ -0,0 +1,37 @@
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
using UnityEditor;
using UnityEditorInternal;
using UnityEditor.UI;
namespace RainbowArt.CleanFlatUI
{
[CustomEditor(typeof(DropdownMultiCheckTransition))]
public class DropdownMultiCheckTransitionEditor : DropdownEditor
{
SerializedProperty selectedOptions;
SerializedProperty onSelectValueChanged;
protected override void OnEnable()
{
base.OnEnable();
selectedOptions = serializedObject.FindProperty("selectedOptions");
onSelectValueChanged = serializedObject.FindProperty("onSelectValueChanged");
}
public override void OnInspectorGUI()
{
base.OnInspectorGUI();
serializedObject.Update();
EditorGUILayout.Space();
EditorGUILayout.PropertyField(onSelectValueChanged);
EditorGUILayout.Space();
EditorGUILayout.PropertyField(selectedOptions);
serializedObject.ApplyModifiedProperties();
}
}
}